我试图将一个浮点向量从C+函数作为表参数传递给Lua函数,然后在Lua函数 ... luaL_getmetatable(L, "std::vector<float>"); lua_setmetatable(L, -2); ...
確定! 回上一頁