tree: 6ae39a37b5e4a4f913e43bee9d7c6870093092fb
  1. bin/
  2. hook/
  3. lib/
  4. src/
  5. test/
  6. tool/
  7. pubspec.yaml
  8. README.md
pkgs/ffigen/example/add/README.md

A simple end-to-end example using FFIgen.

FFIgen bindings are generated by the script in tool/ffigen.dart. Execute dart run tool/ffigen.dart to regenerate the bindings.

The C source files for which bindings are generated are located in src/.

The bindings are imported and used by lib/add.dart.

To run the app and see it in action execute dart run.