tree: 09d4dbe9bd21e5326736ce4ada68691da8b97804 [path history] [tgz]
  1. .gitignore
  2. README.md
  3. generated_bindings.dart
  4. headers/
  5. pubspec.yaml
example/simple/README.md

Simple header example

A very simple example, generates bindings for a very small header file (headers/example.h).

Generating bindings

At the root of this example (example/simple), run -

dart run ffigen

This will generate bindings in a file: generated_bindings.dart.