lua 用的人很多,但是能理解userdata的可能并不多,或者很少使用这种对象。创建userdata的函数 ... lua高级用法(1)之C语言userdata ... lua_setmetatable(L, -2);.
確定! 回上一頁