tree: 4750ec6433b655d0adede994c6cfeee20d2a918a [path history] [tgz]
  1. add/
  2. c_json/
  3. ffinative/
  4. libclang-example/
  5. objective_c/
  6. shared_bindings/
  7. simple/
  8. swift/
  9. README.md
pkgs/ffigen/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.