tree: 2571a68af38eeb8027a4b67a6b16b21db5bf7b6c [path history] [tgz]
  1. headers/
  2. .gitignore
  3. generated_bindings.dart
  4. pubspec.yaml
  5. 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

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