luaL_optinteger
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_optinteger[-0, +0, v] lua_Integer luaL_optinteger (lua_State *L, int arg

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

lua_rawlen[-0, +0, –] size_t lua_rawlen (lua_State *L, int index); Returns the raw "length" of the value

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

lua_resume[-?, +?, –] int lua_resume (lua_State *L, lua_State *from, int nargs); Starts and resumes a coroutine

2025-01-10 15:47:30
Chunks
  • References/Lua/Lua/Language/Statements

3.3.2 – Chunks The unit of compilation of Lua is called a chunk. Syntactically, a chunk is simply a block: chunk ::= block Lua

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

lua_pushcfunction[-0, +1, –] void lua_pushcfunction (lua_State *L, lua_CFunction f); Pushes a C function

2025-01-10 15:47:30
math.max()
  • References/Lua/Lua/Standard Libraries/Mathematical Functions

math.max (x, ···) Returns the argument with the maximum value, according to the Lua operator <. (integer/float)

2025-01-10 15:47:30
require()
  • References/Lua/Lua/Standard Libraries/Modules

require (modname) Loads the given module. The function starts by looking into the package

2025-01-10 15:47:30
Function Definitions
  • References/Lua/Lua/Language/Expressions

3.4.11 – Function Definitions The syntax for function definition is functiondef ::= function funcbody funcbody ::= ‘(’ [parlist] ‘)’ block end

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

lua_next[-1, +(2|0), e] int lua_next (lua_State *L, int index); Pops a key from the stack, and

2025-01-10 15:47:30
package.path
  • References/Lua/Lua/Standard Libraries/Modules

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

2025-01-10 15:47:30