lua_getinfo
  • References/Lua/Lua/API/The Debug Interface

lua_getinfo[-(0|1), +(0|1|2), e] int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar);

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

coroutine.create (f) Creates a new coroutine, with body f. f must be a function. Returns this new coroutine, an object with type "thread"

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

lua_tointegerx[-0, +0, –] lua_Integer lua_tointegerx (lua_State *L, int index, int *isnum); Converts the

2025-01-10 15:47:30
Control Structures
  • References/Lua/Lua/Language/Statements

3.3.4 – Control Structures The control structures if, while, and repeat have the usual meaning and familiar syntax: stat ::=

2025-01-10 15:47:30
debug.getinfo()
  • References/Lua/Lua/Standard Libraries/The Debug Library

debug.getinfo ([thread,] f [, what]) Returns a table with information about a function. You can give the function directly or you can give a number as the value of f

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

lua_arith[-(2|1), +1, e] void lua_arith (lua_State *L, int op); Performs an arithmetic or bitwise

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

lua_remove[-1, +0, –] void lua_remove (lua_State *L, int index); Removes the element at the given valid

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

file:write (···) Writes the value of each of its arguments to file. The arguments must be strings or numbers. In case of success, this function returns file

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

lua_dump[-0, +0, –] int lua_dump (lua_State *L, lua_Writer writer,

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

lua_version[-0, +0, –] const lua_Number *lua_version (lua_State *L); Returns the address of the version

2025-01-10 15:47:30