5.1 – Functions and Types
Here we list all functions and types from the auxiliary library in alphabetical order.
luaL_checkversion[-0, +0, v] void luaL_checkversion (lua_State *L); Checks whether the core running
luaL_loadfile[-0, +1, m] int luaL_loadfile (lua_State *L, const char *filename); Equivalent to
luaL_gsub[-0, +1, m] const char *luaL_gsub (lua_State *L, const char *s,
luaL_dostring[-0, +?, –] int luaL_dostring (lua_State *L, const char *str); Loads and runs the given string
luaL_checkoption[-0, +0, v] int luaL_checkoption (lua_State *L, int arg,
luaL_opt[-0, +0, e] T luaL_opt (L, func, arg, dflt); This macro is defined as follows:
luaL_traceback[-0, +1, m] void luaL_traceback (lua_State *L, lua_State *L1, const char *msg,
luaL_where[-0, +1, m] void luaL_where (lua_State *L, int lvl); Pushes onto the stack a string
luaL_loadbufferx[-0, +1, –] int luaL_loadbufferx (lua_State *L, const char *buff,
luaL_tolstring[-0, +1, e] const char *luaL_tolstring (lua_State *L, int idx, size_t *len); Converts
Page 4 of 7