Expand description
#![no_std]
bindings to Lua 5.4.
Modules§
- cdef
- Definitions for FFI.
- errors
- Guide for handling Lua errors.
- prelude
- Prelude that re-exports useful things, but prepends
Lua
orlua_
to them to prevent name clashes.
Macros§
- lua_
fmt_ error - Raise a formatted error with
luaL_error
. - lua_
function - Create an unnamed function that conforms to the signature of
CFunction
. - lua_
library - Create a
Library
with a more understandable syntax. - lua_
push_ fmt_ string - Push a formatted string with
lua_pushfstring
.
Structs§
- AuxOptions
- List of string options to be used with
Thread::check_option
. - Coroutine
- Data structure that represents a Lua coroutine.
- Debug
What - Structure for defining what information needs to be extracted from a function.
- Library
- List of registered C functions to be used with
Thread::new_lib
. - Lua
- Data structure that represents a main Lua thread.
- Managed
- Context for invalidating pointers that may be freed during garbage collection.
- Thread
- Opaque type that represents a Lua thread, which is used by
Lua
and other structures.
Enums§
- GcMode
- Lua garbage collection mode setup information.
Functions§
- lua_
panic_ ⚠handler - Panic function that’s similar to the panic function defined in
lauxlib.h
.