lua_getglobal(L, t); lua_pushinteger(L, k); -- 这里可以换成其它类型的lua_pushXXXX(L, k) 压数据到栈顶作key lua_gettable(L, -2); ...
確定! 回上一頁