tree: fb37b9862d9af40a9d39f3a617cb37807e3b7815 [path history] [tgz]
  1. config.yaml
  2. custom_import.dart
  3. generated_bindings.dart
  4. pubspec.yaml
  5. readme.md
pkgs/ffigen/example/libclang-example/readme.md

Libclang example

Demonstrates generating bindings for Libclang. The C header source files for libclang are in third_party/libclang.

Generating bindings

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.