Crate lunka

Source
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 or lua_ 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.
DebugWhat
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.