普通的表能做userdata的元表么对于这个问题,我觉得是可以的,因为Lua中只有这一种数据 ... 还有一点需要注意,在 luaL_newmetatable 中,新建的元表有 __name 键。
確定! 回上一頁