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 OpenCoroutineLib ¶
func OpenCoroutineLib(ls LuaState) int
func OpenMathLib ¶
func OpenMathLib(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.
Click to show internal directories.
Click to hide internal directories.