lua_rawseti
  • References/Lua/Lua/API/Functions and Types

lua_rawseti[-1, +0, m] void lua_rawseti (lua_State *L, int index, lua_Integer i); Does the equivalent

2025-01-10 15:47:30
math.abs()
  • References/Lua/Lua/Standard Libraries/Mathematical Functions

math.abs (x) Returns the absolute value of x. (integer/float)

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

lua_pushvalue[-0, +1, –] void lua_pushvalue (lua_State *L, int index); Pushes a copy of the element at

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

lua_setmetatable[-1, +0, –] void lua_setmetatable (lua_State *L, int index); Pops a table from the stack

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

lua_pushnumber[-0, +1, –] void lua_pushnumber (lua_State *L, lua_Number n); Pushes a float with value n

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

ipairs (t) Returns three values (an iterator function, the table t, and 0) so that the construction for i,v in ipairs(t)

2025-01-10 15:47:30
math.randomseed()
  • References/Lua/Lua/Standard Libraries/Mathematical Functions

math.randomseed (x) Sets x as the "seed" for the pseudo-random generator: equal seeds produce equal sequences of numbers.

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

file:setvbuf (mode [, size]) Sets the buffering mode for an output file. There are three available modes: "no": no buffering; the result of

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
debug.setmetatable()
  • References/Lua/Lua/Standard Libraries/The Debug Library

debug.setmetatable (value, table) Sets the metatable for the given value to the given table (which can be nil). Returns value.

2025-01-10 15:47:30