5.1 – Functions and Types

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

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

luaL_loadstring[-0, +1, –] int luaL_loadstring (lua_State *L, const char *s); Loads a string as a Lua chunk

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

luaL_prepbuffer[-?, +?, m] char *luaL_prepbuffer (luaL_Buffer *B); Equivalent to

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

luaL_Stream typedef struct luaL_Stream { FILE *f; lua_CFunction closef; } luaL_Stream; The standard representation for file handles

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

luaL_openlibs[-0, +0, e] void luaL_openlibs (lua_State *L); Opens all standard Lua libraries into

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

luaL_buffinit[-0, +0, –] void luaL_buffinit (lua_State *L, luaL_Buffer *B); Initializes a buffer B

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

luaL_loadbuffer[-0, +1, –] int luaL_loadbuffer (lua_State *L, const char *buff,

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

luaL_Reg typedef struct luaL_Reg { const char *name; lua_CFunction func; } luaL_Reg; Type for arrays of functions to be registered

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

luaL_prepbuffsize[-?, +?, m] char *luaL_prepbuffsize (luaL_Buffer *B, size_t sz); Returns an address

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

luaL_addstring[-?, +?, m] void luaL_addstring (luaL_Buffer *B, const char *s); Adds the zero-terminated

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

luaL_addchar[-?, +?, m] void luaL_addchar (luaL_Buffer *B, char c); Adds the byte c

2025-01-10 15:47:30