Skip to main content

Module types

Module types 

Source
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§

BridgeValue
A strongly-typed wrap around FfiBuffer that carries a JSON-serialized value.

Functions§

check_not_null
Validate that a raw pointer is non-null, returning FfiError::NullPointer if it is.
check_not_null_mut
Validate that a mutable pointer is non-null, returning FfiError::NullPointer if it is.
cstr_to_string
Read a C-string pointer into an owned String.

Type Aliases§

FfiBufferResult
A fallible FFI operation: either produces an FfiBuffer or an FfiError.