lua_xmove[-?, +?, –] void lua_xmove (lua_State *from, lua_State *to, int n); Exchange values between different
luaL_loadstring[-0, +1, –] int luaL_loadstring (lua_State *L, const char *s); Loads a string as a Lua chunk
math.mininteger
coroutine.create (f) Creates a new coroutine, with body f. f must be a function. Returns this new coroutine, an object with type "thread"
2.5.1 – Garbage-Collection Metamethods You can set garbage-collector metamethods for tables and, using the C API, for full userdata (see
lua_setupvalue[-(0|1), +0, –] const char *lua_setupvalue (lua_State *L, int funcindex, int n); Sets the
luaL_openlibs[-0, +0, e] void luaL_openlibs (lua_State *L); Opens all standard Lua libraries into
os.remove (filename) Deletes the file (or empty directory, on POSIX systems) with the given name. If this function fails, it returns nil, plus a string describing the error
tostring (v)string.format If the metatable of v
coroutine.running () Returns the running coroutine plus a boolean, true when the running coroutine is the main one.
Page 23 of 36