tree: 882c6a545e73323af422e7cee370680379fee424 [search]
  1. add/
  2. api/
  3. c_json/
  4. ffinative/
  5. libclang-example/
  6. objective_c/
  7. shared_bindings/
  8. simple/
  9. swift/
  10. 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.