Expand description
Embedded Lua bindings for byte-first path normalization.
This module is available with the lua feature. It does not define a
cdylib Lua module; hosts embed it into their own mlua::Lua state and
choose the namespace they want.
The feature selects mlua with vendored LuaJIT in 5.2 compatibility mode.
Libraries should avoid enabling it transitively unless they own the embedding
runtime. Hosts using a different Lua runtime should bind the Rust byte API
themselves.
Returned Lua strings may contain embedded NUL bytes; C hosts must use
length-aware Lua APIs rather than C string length.
Constants§
- MODULE_
NAME - Default Lua global name used by
register_module.
Functions§
- create_
module - Create the
dream_pathLua API table without registering it globally. - register_
module - Register the Lua API table as the
dream_pathglobal. - register_
module_ as - Register the Lua API table under a caller-selected global name.