摘要: 阅读lua.h头文件的时候发现typedef int (*lua_CFunction) (lua_State *L); 这么一个定义,突然间没看懂,查了一下才想起来是一个函数指针类型定义; //自定义函数 int my_fun(int*,int) { printf("i is my_fun\n"); 阅读全文
posted @ 2020-09-24 13:42 乐swap火 阅读(217) 评论(0) 推荐(0) 编辑