In Lua 4.0, our foo example could be written as follows: int foo_l (lua_State *L) { lua_pushstring(L, "x"); lua_gettable(L, 1); return 1; } ...
確定! 回上一頁