Expand description
Raw FFI declarations mirroring src/LeviRsAbi.h (ABI v1).
This crate contains no logic — only #[repr(C)] types. Keep it in
lockstep with the C header: fields are append-only, never reordered.
You almost certainly want the safe levilamina crate instead.
Structs§
- Levi
RsApi - Function table handed to the Rust mod. Mirrors
LeviRsApi. - Levi
RsModV Table - Filled in by the Rust mod inside
levi_rs_main. MirrorsLeviRsModVTable. - Levi
RsStr - UTF-8 string view. Not guaranteed NUL-terminated.
Constants§
Type Aliases§
- Levi
RsCmd Output Sink - Levi
RsCommand Cb - Levi
RsEvent Cb - Levi
RsListener Handle - Levi
RsMain Fn - The single symbol every Rust mod must export (see
LEVI_RS_MAIN_SYMBOL). MirrorsLeviRsMainFnin the C header. Provided mainly so the loader’s ownGetProcAddresscast and any mod-side signature checks share one definition instead of two hand-written copies drifting apart. - Levi
RsMod Handle - Levi
RsStr Sink - Levi
RsTask Cb