下面,我们来优化这个lua_pushstring 操作。 我们可以在程序开始阶段,创建出这两个string ,并且在C 中保留引用。 lua_pushstring(L,"MOUSE_X");
確定! 回上一頁