c - redis list实现中下面这句话什么意思啊
怪我咯
怪我咯 2017-04-22 08:59:18
0
2
644
// 如果列表有自带的 free 方法,那么先对节点值调用它
if (list->free) list->free(current->value);

不知道list->free是如何进行free的,貌似没看到相关定义呀。
怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
巴扎黑

These free functions seem to be customized, and redis itself is not executed.

巴扎黑

This is a function pointer list with different free implementations. It is recommended to search for the place where the value is assigned to free

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template