Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Guides

Practical guides for working with WeaveFFI-generated bindings across languages.

  • Memory Ownership — allocation rules, freeing strings, bytes, structs, and errors across the FFI boundary.
  • Error Handling — the uniform error model and how each target language surfaces failures.
  • Annotated Rust Extraction — extract an API definition from annotated Rust source instead of writing YAML by hand.
  • Generator Configuration — customise Swift module names, Android packages, C prefixes, and other generator options via weaveffi.toml.