会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
乐swap火
博客园
首页
新随笔
联系
订阅
管理
2020年9月24日
typedef函数指针
摘要: 阅读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)
编辑
公告