ffigen.yaml.tmpl 553 Bytes
Newer Older
1
# Run with `dart run ffigen --config ffigen.yaml`.
Daco Harkes's avatar
Daco Harkes committed
2 3 4 5
name: {{pluginDartClass}}Bindings
description: |
  Bindings for `src/{{projectName}}.h`.

6
  Regenerate bindings with `dart run ffigen --config ffigen.yaml`.
Daco Harkes's avatar
Daco Harkes committed
7 8 9 10 11 12 13 14 15 16 17 18 19
output: 'lib/{{projectName}}_bindings_generated.dart'
headers:
  entry-points:
    - 'src/{{projectName}}.h'
  include-directives:
    - 'src/{{projectName}}.h'
preamble: |
  // ignore_for_file: always_specify_types
  // ignore_for_file: camel_case_types
  // ignore_for_file: non_constant_identifier_names
comments:
  style: any
  length: full