int luaL_newmetatable (lua_State L, const char tname);. 创建一个新的可以作为 userdata 类型元表的 table ,并使用 tname 作为 key 存储在注册表中。
確定! 回上一頁