摘要: 一、Lua栈结构 1. index为正数 c++获取lua的数组元素的实例: // 接口参数:void lua_rawgeti (lua_State *L, int index, int n); lua_getglobal(L, "g_Arr"); lua_rawgeti(L, 1, 1); int 阅读全文
posted @ 2022-06-29 15:28 Macrored 阅读(96) 评论(0) 推荐(1) 编辑