5.1 – Functions and Types
Here we list all functions and types from the auxiliary library in alphabetical order.
luaL_addsize[-?, +?, –] void luaL_addsize (luaL_Buffer *B, size_t n); Adds to the buffer B
luaL_checkoption[-0, +0, v] int luaL_checkoption (lua_State *L, int arg,
luaL_optlstring[-0, +0, v] const char *luaL_optlstring (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_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
luaL_loadbufferx[-0, +1, –] int luaL_loadbufferx (lua_State *L, const char *buff,
luaL_opt[-0, +0, e] T luaL_opt (L, func, arg, dflt); This macro is defined as follows:
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,
Page 4 of 7