luaL_getmetafield[-0, +(0|1), m] int luaL_getmetafield (lua_State *L, int obj, const char *e);
luaL_newlibtable[-0, +1, m] void luaL_newlibtable (lua_State *L, const luaL_Reg l[]); Creates
io.type (obj) Checks whether obj is a valid file handle. Returns the string "file" if obj is an open file handle, "closed file"
debug.getuservalue (u) Returns the Lua value associated to u. If u is not a full userdata, returns nil.
debug.getmetatable (value) Returns the metatable of the given value or nil if it does not have a metatable.
3.3.7 – Local Declarations Local variables can be declared anywhere inside a block. The declaration can include an initial assignment: stat ::= local
string.rep (s, n [, sep])nssepsepn (Note that it is very easy to exhaust the memory of your machine with a single
lua_gethookcount[-0, +0, –] int lua_gethookcount (lua_State *L); Returns the current hook count.
lua_rawset[-2, +0, m] void lua_rawset (lua_State *L, int index); Similar to
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 1 of 36