luaL_checknumber[-0, +0, v] lua_Number luaL_checknumber (lua_State *L, int arg); Checks whether
luaL_newlib[-0, +1, m] void luaL_newlib (lua_State *L, const luaL_Reg l[]); Creates a new table
lua_topointer[-0, +0, –] const void *lua_topointer (lua_State *L, int index); Converts the value at the
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
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
rawget (table, index)table[index]__indextableindex
luaL_getmetafield[-0, +(0|1), m] int luaL_getmetafield (lua_State *L, int obj, const char *e);
lua_gc[-0, +0, m] int lua_gc (lua_State *L, int what, int data); Controls the garbage collector
debug.getregistry () Returns the registry table (see §4.5).
luaL_setfuncs[-nup, +0, m] void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup); Registers
Page 4 of 36