Expand description
Language bridge FFI for pforge
This crate provides a stable C ABI for calling Rust handlers from other languages. It enables zero-copy parameter passing and preserves type safety across language boundaries.
Structs§
- FfiResult
- Result structure for FFI calls
- Handler
Context - Opaque handle to a handler context
Functions§
- pforge_
execute_ ⚠handler - Execute a handler by name with JSON input
- pforge_
free_ ⚠result - Free result data allocated by pforge
- pforge_
init ⚠ - Initialize the global handler registry
- pforge_
is_ initialized - Check if the global registry is initialized
- pforge_
register_ ⚠handler - Register a native handler with the global registry
- pforge_
version ⚠ - Get the pforge version