5.1 – Functions and Types
Here we list all functions and types from the auxiliary library in alphabetical order.
luaL_checkudata[-0, +0, v] void *luaL_checkudata (lua_State *L, int arg, const char *tname); Checks
luaL_argerror[-0, +0, v] int luaL_argerror (lua_State *L, int arg, const char *extramsg); Raises
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_optlstring[-0, +0, v] const char *luaL_optlstring (lua_State *L, int arg
luaL_gsub[-0, +1, m] const char *luaL_gsub (lua_State *L, const char *s,
luaL_checkinteger[-0, +0, v] lua_Integer luaL_checkinteger (lua_State *L, int arg); Checks whether
luaL_opt[-0, +0, e] T luaL_opt (L, func, arg, dflt); This macro is defined as follows:
luaL_tolstring[-0, +1, e] const char *luaL_tolstring (lua_State *L, int idx, size_t *len); Converts
luaL_loadfile[-0, +1, m] int luaL_loadfile (lua_State *L, const char *filename); Equivalent to
Page 4 of 7