5.1 – Functions and Types
Here we list all functions and types from the auxiliary library in alphabetical order.
luaL_checkstack[-0, +0, v] void luaL_checkstack (lua_State *L, int sz, const char *msg); Grows
luaL_setfuncs[-nup, +0, m] void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup); Registers
luaL_optstring[-0, +0, v] const char *luaL_optstring (lua_State *L, int arg
luaL_checkany[-0, +0, v] void luaL_checkany (lua_State *L, int arg); Checks whether the function
luaL_execresult[-0, +3, m] int luaL_execresult (lua_State *L, int stat); This function produces
luaL_setmetatable[-0, +0, –] void luaL_setmetatable (lua_State *L, const char *tname); Sets the metatable
luaL_addlstring[-?, +?, m] void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l); Adds
luaL_dofile[-0, +?, e] int luaL_dofile (lua_State *L, const char *filename); Loads and runs the
luaL_pushresultsize[-?, +1, m] void luaL_pushresultsize (luaL_Buffer *B, size_t sz); Equivalent
luaL_testudata[-0, +0, m] void *luaL_testudata (lua_State *L, int arg, const char *tname); This
Page 2 of 7