5.1 – Functions and Types
Here we list all functions and types from the auxiliary library in alphabetical order.
luaL_ref[-1, +0, m] int luaL_ref (lua_State *L, int t); Creates and returns a reference
luaL_checkinteger[-0, +0, v] lua_Integer luaL_checkinteger (lua_State *L, int arg); Checks whether
luaL_checkoption[-0, +0, v] int luaL_checkoption (lua_State *L, int arg,
luaL_where[-0, +1, m] void luaL_where (lua_State *L, int lvl); Pushes onto the stack a string
luaL_argerror[-0, +0, v] int luaL_argerror (lua_State *L, int arg, const char *extramsg); Raises
luaL_loadfile[-0, +1, m] int luaL_loadfile (lua_State *L, const char *filename); Equivalent to
luaL_dostring[-0, +?, –] int luaL_dostring (lua_State *L, const char *str); Loads and runs the given string
luaL_gsub[-0, +1, m] const char *luaL_gsub (lua_State *L, const char *s,
luaL_traceback[-0, +1, m] void luaL_traceback (lua_State *L, lua_State *L1, const char *msg,
luaL_pushresult[-?, +1, m] void luaL_pushresult (luaL_Buffer *B); Finishes the use of buffer B
Page 4 of 7