void luaL_setmetatable (lua_State *L, const char *tname); 將棧頂對象的metatable設置為registry表中鍵tname對應的值。注意區分lua_setmetatable函數。
確定! 回上一頁