Skip to main content

Crate elara_ffi

Crate elara_ffi 

Source
Expand description

ELARA FFI - Foreign Function Interface

C-compatible bindings for mobile SDKs (Android/iOS). This crate provides a stable ABI for Kotlin and Swift wrappers.

Re-exports§

pub use error::*;
pub use identity::*;
pub use session::*;
pub use types::*;

Modules§

error
FFI Error handling
identity
FFI Identity functions
session
FFI Session functions
types
FFI Types - C-compatible type definitions

Functions§

elara_free_bytes
Free a byte buffer allocated by ELARA
elara_free_string
Free a string allocated by ELARA
elara_init
Initialize the ELARA library Must be called before any other functions Returns 0 on success, negative on error
elara_shutdown
Shutdown the ELARA library Should be called when done using the library
elara_version
Library version