Bindings for [[ Lua 5.4 ; https://www.lua.org/manual/5.4/ ]].

Collection Info

View Source
Collection
vendor
Path
lua/5.4
Entries
307

Source Files

Constants

93

AUTHORS #

Source
AUTHORS :: "R. Ierusalimschy, L. H. de Figueiredo, W. Celes"

COPYRIGHT #

Source
COPYRIGHT :: RELEASE + "  Copyright (C) 1994-2020 Lua.org, PUC-Rio"

EXTRASPACE #

Source
EXTRASPACE :: size_of(rawptr)

@@ LUA_EXTRASPACE defines the size of a raw memory area associated with ** a Lua state with very fast access. ** CHANGE it if you need a different size.

IDSIZE #

Source
IDSIZE :: 60

@@ LUA_IDSIZE gives the maximum size for the description of the source @@ of a function in debug information. ** CHANGE it if you want a different size.

L_BUFFERSIZE #

Source
L_BUFFERSIZE :: c.int(16 * size_of(rawptr) * size_of(Number))

@@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system.

L_NUMSIZES #

Source
L_NUMSIZES :: size_of(Integer) * 16 + size_of(Number)

LOADED_TABLE #

Source
LOADED_TABLE :: "_LOADED"

key, in the registry, for table of loaded modules

MAXALIGNVAL #

Source
MAXALIGNVAL :: max(align_of(Number), align_of(f64), align_of(rawptr), align_of(Integer), align_of(c.long))

MAXSTACK #

Source
MAXSTACK :: 1000000

@@ LUAI_MAXSTACK limits the size of the Lua stack. ** CHANGE it if you need a different limit. This limit is arbitrary; ** its only purpose is to stop Lua from consuming unlimited stack ** space (and to reserve some numbers for pseudo-indices). ** (It must fit into max(size_t)/32.)

MINSTACK #

Source
MINSTACK :: 20

minimum Lua stack available to a C function

MULTRET #

Source
MULTRET :: -1

option for multiple returns in 'lua_pcall' and 'lua_call'

PRELOAD_TABLE #

Source
PRELOAD_TABLE :: "_PRELOAD"

key, in the registry, for table of preloaded loaders

RIDX_MAINTHREAD #

Source
RIDX_MAINTHREAD :: 1

predefined values in the registry

SIGNATURE #

Source
SIGNATURE :: "\x1bLua"

mark for precompiled code ('<esc>Lua')

VERSION #

Source
VERSION :: "Lua " + VERSION_MAJOR + "." + VERSION_MINOR

VERSION_RELEASE_NUM #

Source
VERSION_RELEASE_NUM :: VERSION_NUM * 100 + 0

VERSUFFIX #

Source
VERSUFFIX :: "_" + VERSION_MAJOR + "_" + VERSION_MINOR

version suffix for environment variable names

Config Values

1

Types

22

Reader #

Source
Reader :: Reader

** Type for functions that read/write blocks when loading/dumping Lua chunks

Procedures

190

L_checkversion #

Source
@(link_name="luaL_checkversion_")
L_checkversion :: proc "c" (L: ^State, ver: Number = VERSION_NUM, sz: uint = L_NUMSIZES) ---

Variables

1