debug.setmetatable (value, table) Sets the metatable for the given value to the given table (which can be nil). Returns value.
lua_rawseti[-1, +0, m] void lua_rawseti (lua_State *L, int index, lua_Integer i); Does the equivalent
io.lines ([filename, ···]) Opens the given file name in read mode and returns an iterator function that works like file:lines(···) over the opened file. When the
lua_gettable[-1, +1, e] int lua_gettable (lua_State *L, int index); Pushes onto the stack the
math.abs (x) Returns the absolute value of x. (integer/float)
luaL_addstring[-?, +?, m] void luaL_addstring (luaL_Buffer *B, const char *s); Adds the zero-terminated
coroutine.isyieldable () Returns true when the running coroutine can yield. A running coroutine is yieldable if it is not the main thread and it is not inside a non-yieldable
os.clock () Returns an approximation of the amount in seconds of CPU time used by the program.
luaL_buffinit[-0, +0, –] void luaL_buffinit (lua_State *L, luaL_Buffer *B); Initializes a buffer B
luaL_addchar[-?, +?, m] void luaL_addchar (luaL_Buffer *B, char c); Adds the byte c
Page 31 of 36