5.1 – Functions and Types
Here we list all functions and types from the auxiliary library in alphabetical order.
luaL_newstate[-0, +0, –] lua_State *luaL_newstate (void); Creates a new Lua state. It calls
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_gsub[-0, +1, m] const char *luaL_gsub (lua_State *L, const char *s,
luaL_optlstring[-0, +0, v] const char *luaL_optlstring (lua_State *L, int arg
luaL_checkinteger[-0, +0, v] lua_Integer luaL_checkinteger (lua_State *L, int arg); Checks whether
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
luaL_loadfile[-0, +1, m] int luaL_loadfile (lua_State *L, const char *filename); Equivalent to
luaL_tolstring[-0, +1, e] const char *luaL_tolstring (lua_State *L, int idx, size_t *len); Converts
Page 4 of 7