tree: 714bee8e44ffc64f4ba6f1b69aa8faa387f299e9 [path history] [tgz]
  1. headers/
  2. .gitignore
  3. README.md
  4. generated_bindings.dart
  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.