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

luaL_requiref[-0, +1, e] void luaL_requiref (lua_State *L, const char *modname, lua_CFunction

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
tostring()
  • References/Lua/Lua/Standard Libraries/Basic Functions

tostring (v)string.format If the metatable of v

2025-01-10 15:47:30
string.pack()
  • References/Lua/Lua/Standard Libraries/String Manipulation

string.pack (fmt, v1, v2, ···) Returns a binary string containing the values v1, v2, etc. packed (that is, serialized in binary form) according to the

2025-01-10 15:47:30
lua_upvalueindex
  • References/Lua/Lua/API/Functions and Types

lua_upvalueindex[-0, +0, –] int lua_upvalueindex (int i); Returns the pseudo-index that represents the

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_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
Function Calls as Statements
  • References/Lua/Lua/Language/Statements

3.3.6 – Function Calls as Statements To allow possible side-effects, function calls can be executed as statements: stat ::= functioncall

2025-01-10 15:47:30
lua_getinfo
  • References/Lua/Lua/API/The Debug Interface

lua_getinfo[-(0|1), +(0|1|2), e] int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar);

2025-01-10 15:47:30