5.1 – Functions and Types

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

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

luaL_Buffer typedef struct luaL_Buffer luaL_Buffer; Type for a string buffer. A string buffer allows C code to build

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

luaL_newmetatable[-0, +1, m] int luaL_newmetatable (lua_State *L, const char *tname); If the registry

2025-01-10 15:47:30
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_checktype
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_checktype[-0, +0, v] void luaL_checktype (lua_State *L, int arg, int t); Checks whether the

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_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_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_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
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