tree: 928db87ae6c2739c9750bcee22de00ce062e31f6 [path history] [tgz]
  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.