tree: 25f3f3d6f9604ff4c5ca67643a4de4dfb39ba4a6 [path history] [tgz]
  1. headers/
  2. .gitignore
  3. config.yaml
  4. generated_bindings.dart
  5. pubspec.yaml
  6. README.md
example/ffinative/README.md

Natives example

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

Generating bindings

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

dart run ffigen --config config.yaml

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