tree: 9f618c6cb49c55e4bbec4629323cbc95dce7a011 [path history] [tgz]
  1. headers/
  2. .gitignore
  3. config.yaml
  4. generated_bindings.dart
  5. pubspec.yaml
  6. README.md
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 --config config.yaml

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