lua_getinfo[-(0|1), +(0|1|2), e] int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar);
coroutine.create (f) Creates a new coroutine, with body f. f must be a function. Returns this new coroutine, an object with type "thread"
lua_tointegerx[-0, +0, –] lua_Integer lua_tointegerx (lua_State *L, int index, int *isnum); Converts the
3.3.4 – Control Structures The control structures if, while, and repeat have the usual meaning and familiar syntax: stat ::=
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
lua_arith[-(2|1), +1, e] void lua_arith (lua_State *L, int op); Performs an arithmetic or bitwise
lua_remove[-1, +0, –] void lua_remove (lua_State *L, int index); Removes the element at the given valid
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
lua_dump[-0, +0, –] int lua_dump (lua_State *L, lua_Writer writer,
lua_version[-0, +0, –] const lua_Number *lua_version (lua_State *L); Returns the address of the version
Page 28 of 36