luaL_argcheck (L, s != NULL, 1, "invalid user data"); (*s)->print();. return 0; }. 从这里我们可以看到,userdata充当了C++类和Lua的一个桥梁, ...
確定! 回上一頁