lua_State* pLuaState = luaL_newstate();. luaL_openlibs(pLuaState);. lua_createtable(pLuaState, 0, 1);. lua_pushcclosure(pLuaState, CallBack, 0);.
確定! 回上一頁