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

lua_getglobal[-0, +1, e] int lua_getglobal (lua_State *L, const char *name); Pushes onto the stack

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

math.atan (y [, x]) Returns the arc tangent of y/x (in radians), but uses the signs of both parameters to find the quadrant of the result. (It also handles correctly

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

lua_atpanic[-0, +0, –] lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf); Sets a new panic

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

table.insert (list, [pos,] value) Inserts element value at position pos in list, shifting up the elements list[pos], list[pos+1],

2025-01-10 15:47:30
debug.setuservalue()
  • References/Lua/Lua/Standard Libraries/The Debug Library

debug.setuservalue (udata, value) Sets the given value as the Lua value associated to the given udata. udata must be a full userdata.

2025-01-10 15:47:30
Bitwise Operators
  • References/Lua/Lua/Language/Expressions

3.4.2 – Bitwise Operators Lua supports the following bitwise operators: &: bitwise AND |: bitwise OR ~:

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

file:flush () Saves any written data to file.

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

string.find (s, pattern [, init [, plain]]) Looks for the first match of pattern (see

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

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

2025-01-10 15:47:30
os.rename()
  • References/Lua/Lua/Standard Libraries/Operating System Facilities

os.rename (oldname, newname) Renames the file or directory named oldname to newname. If this function fails, it returns nil, plus a string describing

2025-01-10 15:47:30