lua_seti[-1, +0, e] void lua_seti (lua_State *L, int index, lua_Integer n); Does the equivalent
debug.upvalueid (f, n) Returns a unique identifier (as a light userdata) for the upvalue numbered n from the given function. These unique identifiers allow
luaL_where[-0, +1, m] void luaL_where (lua_State *L, int lvl); Pushes onto the stack a string
luaL_dostring[-0, +?, –] int luaL_dostring (lua_State *L, const char *str); Loads and runs the given string
lua_rawsetp[-1, +0, m] void lua_rawsetp (lua_State *L, int index, const void *p); Does the equivalent
math.tointeger (x) If the value x is convertible to an integer, returns that integer. Otherwise, returns nil.
lua_gethookmask[-0, +0, –] int lua_gethookmask (lua_State *L); Returns the current hook mask.
lua_atpanic[-0, +0, –] lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf); Sets a new panic
file:read (···) Reads the file file, according to the given formats, which specify what to read. For each format, the function returns a string or a number with the
lua_tostring[-0, +0, m] const char *lua_tostring (lua_State *L, int index); Equivalent to
Page 19 of 36