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

FfiNatives example

A simple example generating FfiNative 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.