Skip to main content

Module ffi

Module ffi 

Source
Expand description

C ABI definitions for native app loading

All structs in this module use #[repr(C)] for stable ABI across Rust, Go, C, C++, and Zig compiled shared libraries.

Structs§

FfiResult
Result type returned by FFI functions
NodeAppMetadata
App metadata returned by the entry point function
NodeAppVTable
VTable of function pointers for app operations. Returned by the _node_app_entry symbol.

Constants§

NODE_APP_ENTRY_SYMBOL
Symbol name for the app entry point function in shared libraries. Native apps must export this symbol.

Type Aliases§

NodeAppEntryFn
Type signature for the _node_app_entry function exported by native apps. Returns a pointer to a static NodeAppVTable.