luaL_newmetatable (L,"myarray"); lua_pushvalue(L,-1); //2. 为了实现面对对象的调用方式,需要将元表的__index字段指向自身,同时再将arraylib_m ...
確定! 回上一頁