luaL_loadfile(L, "test.lua");. 然後先壓. lua_getglobal(l,"test");. lua_pushnumber(L,1);. lua_pushnumber(L,2);. lua_pcall(L,2,1,0);.
確定! 回上一頁