使用lua_getfield代替lua_pushxxx和lua_gettable两个函数,返回值为值的类型 lua_getfield(L, -1, "integer_val");. 在Lua 中,这个函数可能触发 ...
確定! 回上一頁