ffigen.yaml 611 B

12345678910111213141516171819202122
  1. # Run with `flutter pub run ffigen --config ffigen.yaml`.
  2. name: PocketpyBindings
  3. description: |
  4. Bindings for `src/pocketpy.h`.
  5. Regenerate bindings with `flutter pub run ffigen --config ffigen.yaml`.
  6. output: 'lib/pocketpy_bindings_generated.dart'
  7. headers:
  8. entry-points:
  9. - '../../../include/pocketpy.h'
  10. include-directives:
  11. - '../../../include/pocketpy/*.h'
  12. preamble: |
  13. // ignore_for_file: always_specify_types
  14. // ignore_for_file: camel_case_types
  15. // ignore_for_file: non_constant_identifier_names
  16. comments:
  17. style: any
  18. length: full
  19. compiler-opts:
  20. - '-I../../../include'
  21. - '-std=c11'