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
os.remove()
  • References/Lua/Lua/Standard Libraries/Operating System Facilities

os.remove (filename) Deletes the file (or empty directory, on POSIX systems) with the given name. If this function fails, it returns nil, plus a string describing the error

2025-01-10 15:47:30
table.sort()
  • References/Lua/Lua/Standard Libraries/Table Manipulation

table.sort (list [, comp]) Sorts list elements in a given order, in-place, from list[1] to list[#list]. If comp is given, then

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
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
table.concat()
  • References/Lua/Lua/Standard Libraries/Table Manipulation

table.concat (list [, sep [, i [, j]]]) Given a list where all elements are strings or numbers, returns the string list[i]..sep..list[i+1] ··· sep..list[j]. The default

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

lua_geti[-0, +1, e] int lua_geti (lua_State *L, int index, lua_Integer i); Pushes onto the stack

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

type (v)nilnilnumberstringbooleantablefunctionthreaduserdata

2025-01-10 15:47:30