在Lua C API程式設計上,經常有一些部落格會說,必須使用 ... const char *tname) { luaL_getmetatable(L, tname); lua_setmetatable(L, -2); } ...
確定! 回上一頁