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

lua_remove[-1, +0, –] void lua_remove (lua_State *L, int index); Removes the element at the given valid

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

lua_getupvalue[-0, +(0|1), –] const char *lua_getupvalue (lua_State *L, int funcindex, int n); Gets information

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

lua_pushcclosure[-n, +1, m] void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n); Pushes

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

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

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

setmetatable (table, metatable) Sets the metatable for the given table. (To change the metatable of other types from Lua code, you must use the debug library (

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

type (v)nilnilnumberstringbooleantablefunctionthreaduserdata

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

lua_settable[-2, +0, e] void lua_settable (lua_State *L, int index); Does the equivalent to t[k]

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

lua_newstate[-0, +0, –] lua_State *lua_newstate (lua_Alloc f, void *ud); Creates a new thread running in

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

debug.getupvalue (f, up) This function returns the name and the value of the upvalue with index up of the function f. The function returns nil

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

lua_touserdata[-0, +0, –] void *lua_touserdata (lua_State *L, int index); If the value at the given index

2025-01-10 15:47:30