5.1 – Functions and Types
Here we list all functions and types from the auxiliary library in alphabetical order.
luaL_checkoption[-0, +0, v] int luaL_checkoption (lua_State *L, int arg,
luaL_where[-0, +1, m] void luaL_where (lua_State *L, int lvl); Pushes onto the stack a string
luaL_dostring[-0, +?, –] int luaL_dostring (lua_State *L, const char *str); Loads and runs the given string
luaL_loadbufferx[-0, +1, –] int luaL_loadbufferx (lua_State *L, const char *buff,
luaL_Stream typedef struct luaL_Stream { FILE *f; lua_CFunction closef; } luaL_Stream; The standard representation for file handles
luaL_buffinitsize[-?, +?, m] char *luaL_buffinitsize (lua_State *L, luaL_Buffer *B, size_t sz);
luaL_checkstring[-0, +0, v] const char *luaL_checkstring (lua_State *L, int arg); Checks whether
luaL_error[-0, +0, v] int luaL_error (lua_State *L, const char *fmt, ...); Raises an error. The
luaL_requiref[-0, +1, e] void luaL_requiref (lua_State *L, const char *modname, lua_CFunction
luaL_openlibs[-0, +0, e] void luaL_openlibs (lua_State *L); Opens all standard Lua libraries into
Page 5 of 7