io.output()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

io.output ([file]) Similar to io.input, but operates

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

luaL_callmeta[-0, +(0|1), e] int luaL_callmeta (lua_State *L, int obj, const char *e); Calls a

2025-01-10 15:47:30
coroutine.wrap()
  • References/Lua/Lua/Standard Libraries/Coroutine Manipulation

coroutine.wrap (f) Creates a new coroutine, with body f. f must be a function. Returns a function that resumes the coroutine each time it is called.

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

luaL_optnumber[-0, +0, v] lua_Number luaL_optnumber (lua_State *L, int arg, lua_Number d); If

2025-01-10 15:47:30
coroutine.yield()
  • References/Lua/Lua/Standard Libraries/Coroutine Manipulation

coroutine.yield (···) Suspends the execution of the calling coroutine. Any arguments to yield are passed as extra results to resume.

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

lua_status[-0, +0, –] int lua_status (lua_State *L); Returns the status of the thread L.

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

lua_pushvfstring[-0, +1, m] const char *lua_pushvfstring (lua_State *L, const

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

lua_isuserdata[-0, +0, –] int lua_isuserdata (lua_State *L, int index); Returns 1 if the value at the given

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

lua_newtable[-0, +1, m] void lua_newtable (lua_State *L); Creates a new empty table and pushes

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

lua_setglobal[-1, +0, e] void lua_setglobal (lua_State *L, const char *name); Pops a value from

2025-01-10 15:47:30