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
luaL_newlibtable
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_newlibtable[-0, +1, m] void luaL_newlibtable (lua_State *L, const luaL_Reg l[]); Creates

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

io.type (obj) Checks whether obj is a valid file handle. Returns the string "file" if obj is an open file handle, "closed file"

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
Local Declarations
  • References/Lua/Lua/Language/Statements

3.3.7 – Local Declarations Local variables can be declared anywhere inside a block. The declaration can include an initial assignment: stat ::= local

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

string.rep (s, n [, sep])nssepsepn (Note that it is very easy to exhaust the memory of your machine with a single

2025-01-10 15:47:30
lua_gethookcount
  • References/Lua/Lua/API/The Debug Interface

lua_gethookcount[-0, +0, –] int lua_gethookcount (lua_State *L); Returns the current hook count.

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

lua_rawset[-2, +0, m] void lua_rawset (lua_State *L, int index); Similar to

2025-01-10 15:47:30
Weak Tables
  • References/Lua/Lua/Basic Concepts/Garbage Collection

2.5.2 – Weak Tables A weak table is a table whose elements are weak references. A weak reference is ignored by the garbage collector. In other words, if the only references

2025-01-10 15:47:30