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
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_buffinitsize
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_buffinitsize[-?, +?, m] char *luaL_buffinitsize (lua_State *L, luaL_Buffer *B, size_t sz);

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

lua_isyieldable[-0, +0, –] int lua_isyieldable (lua_State *L); Returns 1 if the given coroutine can yield

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
math.modf()
  • References/Lua/Lua/Standard Libraries/Mathematical Functions

math.modf (x) Returns the integral part of x and the fractional part of x. Its second result is always a float.

2025-01-10 15:47:30
assert()
  • References/Lua/Lua/Standard Libraries/Basic Functions

assert (v [, message]) Calls error if the value of its argument v

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

lua_replace[-1, +0, –] void lua_replace (lua_State *L, int index); Moves the top element into the given

2025-01-10 15:47:30
coroutine.running()
  • References/Lua/Lua/Standard Libraries/Coroutine Manipulation

coroutine.running () Returns the running coroutine plus a boolean, true when the running coroutine is the main one.

2025-01-10 15:47:30
io.tmpfile()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

io.tmpfile () In case of success, returns a handle for a temporary file. This file is opened in update mode and it is automatically removed when the program ends.

2025-01-10 15:47:30