sniperHW / chuck

high performance and easily use asynchronous network library for C/Lua
52 stars 32 forks source link

static wheel *wheel_new(uint8_t type) -> calloc(1,sizeof(*w)*wheel_size(type)*sizeof(dlist)); #4

Closed zhuoyikang closed 9 years ago

zhuoyikang commented 9 years ago

是否应该是 calloc(1,sizeof(_w)+wheel_size(type)_sizeof(dlist));

sniperHW commented 9 years ago

sniperHW commented 9 years ago

看得相当仔细啊,很少有人看别人代码看这么仔细

zhuoyikang commented 9 years ago

恩,看的细点才能掌握嘛。