luaL_prepbuffsize[-?, +?, m] char *luaL_prepbuffsize (luaL_Buffer *B, size_t sz); Returns an address
luaL_addchar[-?, +?, m] void luaL_addchar (luaL_Buffer *B, char c); Adds the byte c
lua_Hook typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar); Type for debugging hook functions. Whenever a hook is called
lua_istable[-0, +0, –] int lua_istable (lua_State *L, int index); Returns 1 if the value at the given index
math.rad (x) Converts the angle x from degrees to radians.
table.pack (···) Returns a new table with all parameters stored into keys 1, 2, etc. and with a field "n" with the total number of parameters. Note that the resulting
math.floor (x) Returns the largest integral value smaller than or equal to x.
lua_rawget[-1, +1, –] int lua_rawget (lua_State *L, int index); Similar to
lua_setuservalue[-1, +0, –] void lua_setuservalue (lua_State *L, int index); Pops a value from the stack
lua_setallocf[-0, +0, –] void lua_setallocf (lua_State *L, lua_Alloc f, void *ud); Changes the allocator
Page 32 of 36