|
|
发表于 2003-10-5 22:49:00
|
显示全部楼层
Re: 问个问题!
lonelybug: 问个问题!
typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode);
这种方式的typedef是什么意...
哈~
是这样的~
例如:
typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode);//定义类型之后
CreateInterfaceFn pp;//pp为函数指针
//pp指向这样类型的函数void* (*)(const char *pName,int *pReturnCode);其中第二个*号表示任意函数名 [em7] |
|