package.searchpath (name, path [, sep [, rep]]) Searches for the given name in the given path. A path is a string containing a sequence of templates
lua_gc[-0, +0, m] int lua_gc (lua_State *L, int what, int data); Controls the garbage collector
io.output ([file]) Similar to io.input, but operates
lua_callk[-(nargs + 1), +nresults, e] void lua_callk (lua_State *L, int nargs,
luaL_newlib[-0, +1, m] void luaL_newlib (lua_State *L, const luaL_Reg l[]); Creates a new table
luaL_checkstack[-0, +0, v] void luaL_checkstack (lua_State *L, int sz, const char *msg); Grows
debug.getregistry () Returns the registry table (see §4.5).
2.5.2 – Weak Tables A weak table is a table whose elements are weak references. A weak reference is ignored by the garbage collector. In other words, if the only references
lua_isuserdata[-0, +0, –] int lua_isuserdata (lua_State *L, int index); Returns 1 if the value at the given
6.4.1 – Patterns Patterns in Lua are described by regular strings, which are interpreted as patterns by the pattern-matching functions
Page 8 of 36