Demonstrates generating bindings for Libclang. The C header source files for libclang are in third_party/libclang.
At the root of this example (example/libclang-example
), run -
dart run ffigen --config config.yaml
This will generate bindings in a file: generated_bindings.dart.