Skip to main content

Crate levilamina_sys

Crate levilamina_sys 

Source
Expand description

Raw FFI declarations mirroring bridge/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§

LeviRsApi
Function table handed to the Rust mod. Mirrors LeviRsApi.
LeviRsModVTable
Filled in by the Rust mod inside levi_rs_main. Mirrors LeviRsModVTable.
LeviRsStr
UTF-8 string view. Not guaranteed NUL-terminated.

Constants§

LEVI_RS_ABI_VERSION
LEVI_RS_MAIN_SYMBOL

Type Aliases§

LeviRsCmdOutputSink
LeviRsCommandCb
LeviRsEventCb
LeviRsListenerHandle
LeviRsModHandle
LeviRsStrSink
LeviRsTaskCb