lua_pushglobaltable
  • References/Lua/Lua/API/Functions and Types

lua_pushglobaltable[-0, +1, –] void lua_pushglobaltable (lua_State *L); Pushes the global environment onto

2025-01-10 15:47:30
luaL_checkstack
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_checkstack[-0, +0, v] void luaL_checkstack (lua_State *L, int sz, const char *msg); Grows

2025-01-10 15:47:30
file:seek()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

file:seek ([whence [, offset]]) Sets and gets the file position, measured from the beginning of the file, to the position given by offset plus a base specified by

2025-01-10 15:47:30
lua_tonumberx
  • References/Lua/Lua/API/Functions and Types

lua_tonumberx[-0, +0, –] lua_Number lua_tonumberx (lua_State *L, int index, int *isnum); Converts the Lua

2025-01-10 15:47:30
lua_getlocal
  • References/Lua/Lua/API/The Debug Interface

lua_getlocal[-0, +(0|1), –] const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n); Gets information

2025-01-10 15:47:30
luaL_newlibtable
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_newlibtable[-0, +1, m] void luaL_newlibtable (lua_State *L, const luaL_Reg l[]); Creates

2025-01-10 15:47:30
Table Constructors
  • References/Lua/Lua/Language/Expressions

3.4.9 – Table Constructors Table constructors are expressions that create tables. Every time a constructor is evaluated, a new table is created. A constructor can be used to create an empty

2025-01-10 15:47:30
lua_pcall
  • References/Lua/Lua/API/Functions and Types

lua_pcall[-(nargs + 1), +(nresults|1), –] int lua_pcall (lua_State *L, int nargs, int nresults, int msgh);

2025-01-10 15:47:30
io.read()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

io.read (···) Equivalent to io.input():read(···).

2025-01-10 15:47:30
io.flush()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

io.flush () Equivalent to io.output():flush().

2025-01-10 15:47:30