但是我需要一个解决方案来检查传递的userdata是否从指定的类继承。 static int BaseGetMyVar(lua_State *state) { Base* base = *(Base**)luaL_checkudata(state, 1, "Base ...
確定! 回上一頁