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

lua_close[-0, +0, –] void lua_close (lua_State *L); Destroys all objects in the given Lua state (calling

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

luaL_optstring[-0, +0, v] const char *luaL_optstring (lua_State *L, int arg

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
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
package.cpath
  • References/Lua/Lua/Standard Libraries/Modules

package.cpath The path used by require to search for a C loader. Lua

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
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
file:seek()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

file:seek ([whence [, offset]]) Sets and gets the file position, measured from the beginning of the file, to the position given by offset plus a base specified by

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

dofile ([filename])dofilestdindofiledofile

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