int lua_upvalueindex (int i); 获取当前运行函数第i个upvalue的值。 总之,Lua调用c的流程:编写好c模块,在堆栈上建一个表,将接口注册给这个表,然后把c模块编译 ...
確定! 回上一頁