5.1 – Functions and Types
Here we list all functions and types from the auxiliary library in alphabetical order.
luaL_typename[-0, +0, –] const char *luaL_typename (lua_State *L, int index); Returns the name of the type
luaL_getmetafield[-0, +(0|1), m] int luaL_getmetafield (lua_State *L, int obj, const char *e);
luaL_loadfilex[-0, +1, m] int luaL_loadfilex (lua_State *L, const char *filename,
luaL_newlib[-0, +1, m] void luaL_newlib (lua_State *L, const luaL_Reg l[]); Creates a new table
luaL_optstring[-0, +0, v] const char *luaL_optstring (lua_State *L, int arg
luaL_optnumber[-0, +0, v] lua_Number luaL_optnumber (lua_State *L, int arg, lua_Number d); If
luaL_callmeta[-0, +(0|1), e] int luaL_callmeta (lua_State *L, int obj, const char *e); Calls a
luaL_newlibtable[-0, +1, m] void luaL_newlibtable (lua_State *L, const luaL_Reg l[]); Creates
luaL_unref[-0, +0, –] void luaL_unref (lua_State *L, int t, int ref); Releases reference ref
luaL_checkstack[-0, +0, v] void luaL_checkstack (lua_State *L, int sz, const char *msg); Grows
Page 1 of 7