5.1 – Functions and Types

Here we list all functions and types from the auxiliary library in alphabetical order.

luaL_dofile
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_dofile[-0, +?, e] int luaL_dofile (lua_State *L, const char *filename); Loads and runs the

2025-01-10 15:47:30
luaL_newstate
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_newstate[-0, +0, –] lua_State *luaL_newstate (void); Creates a new Lua state. It calls

2025-01-10 15:47:30
luaL_ref
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_ref[-1, +0, m] int luaL_ref (lua_State *L, int t); Creates and returns a reference

2025-01-10 15:47:30
luaL_execresult
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_execresult[-0, +3, m] int luaL_execresult (lua_State *L, int stat); This function produces

2025-01-10 15:47:30
luaL_getmetatable
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_getmetatable[-0, +1, m] int luaL_getmetatable (lua_State *L, const char *tname); Pushes onto

2025-01-10 15:47:30
luaL_checkudata
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_checkudata[-0, +0, v] void *luaL_checkudata (lua_State *L, int arg, const char *tname); Checks

2025-01-10 15:47:30
luaL_pushresultsize
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_pushresultsize[-?, +1, m] void luaL_pushresultsize (luaL_Buffer *B, size_t sz); Equivalent

2025-01-10 15:47:30
luaL_checkversion
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_checkversion[-0, +0, v] void luaL_checkversion (lua_State *L); Checks whether the core running

2025-01-10 15:47:30
luaL_len
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_len[-0, +0, e] lua_Integer luaL_len (lua_State *L, int index); Returns the "length" of the

2025-01-10 15:47:30
luaL_optinteger
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_optinteger[-0, +0, v] lua_Integer luaL_optinteger (lua_State *L, int arg

2025-01-10 15:47:30