ffigen 20.0.0-dev.1
ffigen: ^20.0.0-dev.1 copied to clipboard
Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files.
Examples #
- Add: Simple end-to-end example from FFIgen's README.md that shows how FFIgen can be used to call a custom C API from a Dart app.
- package:code_assets examples: Various end-to-end examples showcasing how FFIgen can be used in real world scenarios.
- Simple: Very simple example that generates bindigns for a very small header file.
- cJSON: Demonstrates generation of bindings for a C library (cJson).
- LibClang: Demonstrates generating bindings for Libclang.
- ObjectiveC: Showcases how to generate bindings for an Objective-C library.
- Swift: Demonstrates how to use FFIgen to interact with Swift libraries.
- FFINative: Example for generating
Native
bindings for a very small header file. - SharedBindings: Showcases how bindings can share types with other bindings.