5.1 – Functions and Types
Here we list all functions and types from the auxiliary library in alphabetical order.
luaL_optlstring[-0, +0, v] const char *luaL_optlstring (lua_State *L, int arg
luaL_loadbufferx[-0, +1, –] int luaL_loadbufferx (lua_State *L, const char *buff,
luaL_opt[-0, +0, e] T luaL_opt (L, func, arg, dflt); This macro is defined as follows:
luaL_checkinteger[-0, +0, v] lua_Integer luaL_checkinteger (lua_State *L, int arg); Checks whether
luaL_newmetatable[-0, +1, m] int luaL_newmetatable (lua_State *L, const char *tname); If the registry
luaL_requiref[-0, +1, e] void luaL_requiref (lua_State *L, const char *modname, lua_CFunction
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_Buffer typedef struct luaL_Buffer luaL_Buffer; Type for a string buffer. A string buffer allows C code to build
luaL_error[-0, +0, v] int luaL_error (lua_State *L, const char *fmt, ...); Raises an error. The
Page 5 of 7