lua_close[-0, +0, –] void lua_close (lua_State *L); Destroys all objects in the given Lua state (calling
lua_Alloc typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize,
debug.upvaluejoin (f1, n1, f2, n2) Make the n1-th upvalue of the Lua closure f1 refer to the n2-th upvalue of the Lua closure f2
pcall (f [, arg1, ···]) Calls function f with the given arguments in protected mode. This means that any error inside f is not propagated; instead
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
lua_newtable[-0, +1, m] void lua_newtable (lua_State *L); Creates a new empty table and pushes
string.dump (function [, strip]) Returns a string containing a binary representation (a binary chunk) of the given function, so that a later
getmetatable (object) If object does not have a metatable, returns nil. Otherwise, if the object's metatable has a __metatable field, returns
6.4.1 – Patterns Patterns in Lua are described by regular strings, which are interpreted as patterns by the pattern-matching functions
package.cpath The path used by require to search for a C loader. Lua
Page 6 of 36