A simple example generating FfiNative
bindings for a very small header file (headers/example.h
).
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.