Crate pforge_bridge

Crate pforge_bridge 

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