tree: 888208cc32f1f5c1183d184e2e568c5141a0009a [path history] [tgz]
  1. .gitignore
  2. config.yaml
  3. custom_import.dart
  4. generated_bindings.dart
  5. pubspec.yaml
  6. 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.