5.1 – Functions and Types
Here we list all functions and types from the auxiliary library in alphabetical order.
luaL_newlibtable[-0, +1, m] void luaL_newlibtable (lua_State *L, const luaL_Reg l[]); Creates
luaL_optstring[-0, +0, v] const char *luaL_optstring (lua_State *L, int arg
luaL_newlib[-0, +1, m] void luaL_newlib (lua_State *L, const luaL_Reg l[]); Creates a new table
luaL_addlstring[-?, +?, m] void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l); Adds
luaL_checkany[-0, +0, v] void luaL_checkany (lua_State *L, int arg); Checks whether the function
luaL_testudata[-0, +0, m] void *luaL_testudata (lua_State *L, int arg, const char *tname); This
luaL_argcheck[-0, +0, v] void luaL_argcheck (lua_State *L, int cond,
luaL_fileresult[-0, +(1|3), m] int luaL_fileresult (lua_State *L, int stat, const char *fname);
luaL_setmetatable[-0, +0, –] void luaL_setmetatable (lua_State *L, const char *tname); Sets the metatable
luaL_getsubtable[-0, +1, e] int luaL_getsubtable (lua_State *L, int idx, const char *fname); Ensures
Page 2 of 7