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_checknumber[-0, +0, v] lua_Number luaL_checknumber (lua_State *L, int arg); Checks whether
luaL_optnumber[-0, +0, v] lua_Number luaL_optnumber (lua_State *L, int arg, lua_Number d); If
luaL_newlib[-0, +1, m] void luaL_newlib (lua_State *L, const luaL_Reg l[]); Creates a new table
luaL_loadfilex[-0, +1, m] int luaL_loadfilex (lua_State *L, const char *filename,
luaL_newlibtable[-0, +1, m] void luaL_newlibtable (lua_State *L, const luaL_Reg l[]); Creates
luaL_addvalue[-1, +?, m] void luaL_addvalue (luaL_Buffer *B); Adds the value at the top of the
luaL_getmetafield[-0, +(0|1), m] int luaL_getmetafield (lua_State *L, int obj, const char *e);
luaL_unref[-0, +0, –] void luaL_unref (lua_State *L, int t, int ref); Releases reference ref
luaL_callmeta[-0, +(0|1), e] int luaL_callmeta (lua_State *L, int obj, const char *e); Calls a
Page 1 of 7