关于函数指针
摘要:今天在看redis源码的时候发现这样的一种函数定义方法,就是将函数作为类型来定义,然后在结构体当中使用 typedef void aeFileProc(struct aeEventLoop *eventLoop, int fd, void *clientData, int mask); typ...
阅读全文
posted @ 2014-09-10 12:42
代码得来终觉浅,觉知多用方真知;少年夜游码云端,无花无酒不得闲!
posted @ 2014-09-10 12:42
posted @ 2014-08-02 10:31
posted @ 2014-07-12 10:44