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

lua_rawget[-1, +1, –] int lua_rawget (lua_State *L, int index); Similar to

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

lua_Writer typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz,

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_checkstack
  • References/Lua/Lua/API/Functions and Types

lua_checkstack[-0, +0, –] int lua_checkstack (lua_State *L, int n); Ensures that the stack has space for

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

loadfile ([filename [, mode [, env]]]) Similar to load, but gets the chunk

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
io.open()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

io.open (filename [, mode]) This function opens a file, in the mode specified in the string mode. In case of success, it returns a new file handle. The mode

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

string.reverse (s)s

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

lua_setallocf[-0, +0, –] void lua_setallocf (lua_State *L, lua_Alloc f, void *ud); Changes the allocator

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