ffigen 20.0.0-dev.1 copy "ffigen: ^20.0.0-dev.1" to clipboard
ffigen: ^20.0.0-dev.1 copied to clipboard

Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files.

example/README.md

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.
318
likes
160
points
1.75M
downloads

Publisher

verified publishertools.dart.dev

Weekly Downloads

Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files.

Repository (GitHub)
View/report issues
Contributing

Topics

#interop #ffi #codegen

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, cli_util, collection, dart_style, ffi, file, glob, logging, meta, package_config, path, pub_semver, quiver, yaml, yaml_edit

More

Packages that depend on ffigen