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

lua_pushglobaltable[-0, +1, –] void lua_pushglobaltable (lua_State *L); Pushes the global environment onto

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

3.4.1 – Arithmetic Operators Lua supports the following arithmetic operators: +: addition -: subtraction *:

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

debug.getuservalue (u) Returns the Lua value associated to u. If u is not a full userdata, returns nil.

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

debug.getmetatable (value) Returns the metatable of the given value or nil if it does not have a metatable.

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

io.flush () Equivalent to io.output():flush().

2025-01-10 15:47:30
luaL_getmetafield
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_getmetafield[-0, +(0|1), m] int luaL_getmetafield (lua_State *L, int obj, const char *e);

2025-01-10 15:47:30
Table Constructors
  • References/Lua/Lua/Language/Expressions

3.4.9 – Table Constructors Table constructors are expressions that create tables. Every time a constructor is evaluated, a new table is created. A constructor can be used to create an empty

2025-01-10 15:47:30
luaL_unref
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_unref[-0, +0, –] void luaL_unref (lua_State *L, int t, int ref); Releases reference ref

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

pcall (f [, arg1, ···]) Calls function f with the given arguments in protected mode. This means that any error inside f is not propagated; instead

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

next (table [, index]) Allows a program to traverse all fields of a table. Its first argument is a table and its second argument is an index in this table. next returns

2025-01-10 15:47:30