Expand description
§types — Shared FFI-safe type aliases and helpers
This module re-exports the primitive FFI types and defines higher-level type aliases and conversion utilities used throughout the crate.
Structs§
- Bridge
Value - A strongly-typed wrap around
FfiBufferthat carries a JSON-serialized value.
Functions§
- check_
not_ ⚠null - Validate that a raw pointer is non-null, returning
FfiError::NullPointerif it is. - check_
not_ ⚠null_ mut - Validate that a mutable pointer is non-null, returning
FfiError::NullPointerif it is. - cstr_
to_ ⚠string - Read a C-string pointer into an owned
String.
Type Aliases§
- FfiBuffer
Result - A fallible FFI operation: either produces an
FfiBufferor anFfiError.