Module lua51

Module lua51 

Source
Available on crate feature mlua and (crate features lua51 or luajit) only.
Expand description

Low level bindings to Lua 5.1.

Modules§

compat
MLua compatibility layer for Lua 5.1/JIT
lauxlib
Contains definitions from lauxlib.h.
lua
Contains definitions from lua.h.
lualib
Contains definitions from lualib.h.

Structs§

luaL_Reg
lua_Debug
lua_State
A raw Lua state associated with a thread.

Constants§

LUA_BITLIBNAMEluajit
LUA_COLIBNAME
LUA_DBLIBNAME
LUA_ENVIRONINDEX
LUA_ERRERR
LUA_ERRFILE
LUA_ERRMEM
LUA_ERRRUN
LUA_ERRSYNTAX
LUA_FFILIBNAMEluajit
LUA_GCCOLLECT
LUA_GCCOUNT
LUA_GCCOUNTB
LUA_GCRESTART
LUA_GCSETPAUSE
LUA_GCSETSTEPMUL
LUA_GCSTEP
LUA_GCSTOP
LUA_GLOBALSINDEX
LUA_HOOKCALL
LUA_HOOKCOUNT
LUA_HOOKLINE
LUA_HOOKRET
LUA_HOOKTAILCALL
LUA_IOLIBNAME
LUA_JITLIBNAMEluajit
LUA_LOADED_TABLE
LUA_LOADLIBNAME
LUA_MASKCALL
LUA_MASKCOUNT
LUA_MASKLINE
LUA_MASKRET
LUA_MATHLIBNAME
LUA_MINSTACK
Minimum Lua stack available to a C function
LUA_MULTRET
LUA_NOREF
LUA_OK
LUA_OSLIBNAME
LUA_REFNIL
LUA_REGISTRYINDEX
LUA_SIGNATUREluajit
LUA_STRLIBNAME
LUA_TABLIBNAME
LUA_TBOOLEAN
LUA_TCDATAluajit
Type produced by LuaJIT FFI module
LUA_TFUNCTION
LUA_TLIGHTUSERDATA
LUA_TNIL
LUA_TNONE
LUA_TNUMBER
LUA_TSTRING
LUA_TTABLE
LUA_TTHREAD
LUA_TUSERDATA
LUA_YIELD

Functions§

luaL_argcheck
luaL_argerror
luaL_callmeta
luaL_checkany
luaL_checkinteger
luaL_checklstring
luaL_checknumber
luaL_checkoption
luaL_checkstack
luaL_checkstack_
luaL_checkstring
luaL_checktype
luaL_checkudata
luaL_dofile
luaL_dostring
luaL_error
luaL_findtable
luaL_getmetafield
luaL_getmetafield_
luaL_getmetatable
luaL_getsubtable
luaL_gsub
luaL_len
luaL_loadbuffer
luaL_loadbufferenv
luaL_loadbufferx
luaL_loadfile
luaL_loadstring
luaL_newmetatable
luaL_newmetatable_
luaL_newstate
luaL_openlibs
luaL_optinteger
luaL_optlstring
luaL_optnumber
luaL_optstring
luaL_ref
luaL_register
luaL_requiref
luaL_setmetatable
luaL_tolstring
luaL_traceback
luaL_typename
luaL_typerror
luaL_unref
luaL_where
lua_absindex
lua_atpanic
lua_call
lua_checkstack
lua_close
lua_concat
lua_copy
lua_cpcall
lua_createtable
lua_dump
lua_dump_
lua_equal
lua_error
lua_gc
lua_getallocf
lua_getfenv
lua_getfield
lua_getfield_
lua_getglobal
lua_getglobal_
lua_gethook
lua_gethookcount
lua_gethookmask
lua_geti
lua_getinfo
lua_getlocal
lua_getmetatable
lua_getstack
lua_gettable
lua_gettable_
lua_gettop
lua_getupvalue
lua_getuservalue
lua_insert
lua_isboolean
lua_iscfunction
lua_isfunction
lua_isinteger
lua_islightuserdata
lua_isnil
lua_isnone
lua_isnoneornil
lua_isnumber
lua_isstring
lua_istable
lua_isthread
lua_isuserdata
lua_len
lua_lessthan
lua_load
lua_newstate
lua_newtable
lua_newthread
lua_newuserdata
lua_next
lua_objlen
lua_pcall
lua_pop
lua_pushboolean
lua_pushcclosure
lua_pushcfunction
lua_pushfstring
lua_pushglobaltable
lua_pushinteger
lua_pushlightuserdata
lua_pushliteral
lua_pushlstring
lua_pushlstring_
lua_pushnil
lua_pushnumber
lua_pushstring
lua_pushstring_
lua_pushthread
lua_pushvalue
lua_rawequal
lua_rawget
lua_rawget_
lua_rawgeti
lua_rawgeti_
lua_rawgetp
lua_rawlen
lua_rawset
lua_rawseti
lua_rawseti_
lua_rawsetp
lua_register
lua_remove
lua_replace
lua_resume
lua_resume_
lua_rotate
lua_setallocf
lua_setfenv
lua_setfield
lua_setglobal
lua_sethook
lua_seti
lua_setlocal
lua_setmetatable
lua_settable
lua_settop
lua_setupvalue
lua_setuservalue
lua_status
lua_toboolean
lua_tocfunction
lua_tointeger
lua_tointeger_
lua_tointegerx
lua_tolightuserdata
lua_tolstring
lua_tonumber
lua_tonumberx
lua_topointer
lua_tostring
lua_tothread
lua_touserdata
lua_type
lua_typename
lua_upvalueindex
lua_xmove
lua_xpush
lua_yield
luaopen_base
luaopen_bitluajit
luaopen_debug
luaopen_ffiluajit
luaopen_io
luaopen_jitluajit
luaopen_math
luaopen_os
luaopen_package
luaopen_string
luaopen_table

Type Aliases§

lua_Alloc
Type for memory-allocation functions
lua_CFunction
Type for native C functions that can be passed to Lua.
lua_Hook
Type for functions to be called on debug events.
lua_Integer64-bit
lua_Number
A Lua number, usually equivalent to f64
lua_Reader
lua_Writer