stdlib

package
v0.0.0-...-40ef3ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LUA_DIRSEP    = string(os.PathSeparator)
	LUA_PATH_SEP  = ";"
	LUA_PATH_MARK = "?"
	LUA_EXEC_DIR  = "!"
	LUA_IGMARK    = "-"
)
View Source
const (
	TAB_R  = 1               /* read */
	TAB_W  = 2               /* write */
	TAB_L  = 4               /* length */
	TAB_RW = (TAB_R | TAB_W) /* read/write */
)

** Operations that an object must define to mimic a table ** (some functions only need some of them)

View Source
const LUA_LOADED_TABLE = "_LOADED"

key, in the registry, for table of loaded modules

View Source
const LUA_PRELOAD_TABLE = "_PRELOAD"

key, in the registry, for table of preloaded loaders

View Source
const MAX_LEN = 1000000 // TODO
View Source
const MAX_UNICODE = 0x10FFFF
View Source
const UTF8PATT = "[\x00-\x7F\xC2-\xF4][\x80-\xBF]*"

pattern to match a single UTF-8 character

Variables

This section is empty.

Functions

func OpenBaseLib

func OpenBaseLib(ls LuaState) int

lua-5.3.4/src/lbaselib.c#luaopen_base()

func OpenCoroutineLib

func OpenCoroutineLib(ls LuaState) int

func OpenMathLib

func OpenMathLib(ls LuaState) int

func OpenOSLib

func OpenOSLib(ls LuaState) int

func OpenPackageLib

func OpenPackageLib(ls LuaState) int

func OpenStringLib

func OpenStringLib(ls LuaState) int

func OpenTableLib

func OpenTableLib(ls LuaState) int

func OpenUTF8Lib

func OpenUTF8Lib(ls LuaState) int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL