您使用 lua_gettable 是錯誤的。 看看Lua manual: void lua_gettable (lua_State *L, int index); 將值 t[k] 推送到堆疊上,其中 t 是給定的索引和 k ...
確定! 回上一頁