注意: 是 luaL_setfuncs添加cclouse才有复制upval 如果只是lua_pushcclosure, 会吃掉upval, 然后f放在吃掉upval之后的top好文要顶 关注我 收藏该文 微信分享 kehuadong 粉丝- 1 关注- 0 +加关注 0 0 升级成为会员 « 上一篇: [十万个为什么] mingw头文件路径 » 下一篇: [十万个为什
It works in lua-evdev. But when I try adding the module to a Love2d program, I get the error: error loading module 'evdev' from file '/usr/local/lib/lua/5.1/evdev.so': /usr/local/lib/lua/5.1/evdev.so: undefined symbol: luaL_setfuncs. I saw the earlier post on this subject #3...