3.3.3 – Assignment Lua allows multiple assignments. Therefore, the syntax for assignment defines a list of variables on the left side and a list of expressions on the right side. The elements
luaL_unref[-0, +0, –] void luaL_unref (lua_State *L, int t, int ref); Releases reference ref
lua_Debug typedef struct lua_Debug { int event; const char *name; /* (n) */ const char *namewhat; /* (n) */ const char
next (table [, index]) Allows a program to traverse all fields of a table. Its first argument is a table and its second argument is an index in this table. next returns
6.4.2 – Format Strings for Pack and Unpack The first argument to string.pack
io.flush () Equivalent to io.output():flush().
lua_callk[-(nargs + 1), +nresults, e] void lua_callk (lua_State *L, int nargs,
lua_rawset[-2, +0, m] void lua_rawset (lua_State *L, int index); Similar to
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
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
Page 7 of 36