package.searchpath()
  • References/Lua/Lua/Standard Libraries/Modules

package.searchpath (name, path [, sep [, rep]]) Searches for the given name in the given path. A path is a string containing a sequence of templates

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

lua_gc[-0, +0, m] int lua_gc (lua_State *L, int what, int data); Controls the garbage collector

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

io.output ([file]) Similar to io.input, but operates

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

lua_callk[-(nargs + 1), +nresults, e] void lua_callk (lua_State *L, int nargs,

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

luaL_newlib[-0, +1, m] void luaL_newlib (lua_State *L, const luaL_Reg l[]); Creates a new table

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

luaL_checkstack[-0, +0, v] void luaL_checkstack (lua_State *L, int sz, const char *msg); Grows

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

debug.getregistry () Returns the registry table (see §4.5).

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

lua_isuserdata[-0, +0, –] int lua_isuserdata (lua_State *L, int index); Returns 1 if the value at the given

2025-01-10 15:47:30
Patterns
  • References/Lua/Lua/Standard Libraries/String Manipulation

6.4.1 – Patterns Patterns in Lua are described by regular strings, which are interpreted as patterns by the pattern-matching functions

2025-01-10 15:47:30