2025-10-21 19:44:13 +08:00

23 lines
611 B
YAML

# Run with `flutter pub run ffigen --config ffigen.yaml`.
name: PocketpyBindings
description: |
Bindings for `src/pocketpy.h`.
Regenerate bindings with `flutter pub run ffigen --config ffigen.yaml`.
output: 'lib/pocketpy_bindings_generated.dart'
headers:
entry-points:
- '../../../include/pocketpy.h'
include-directives:
- '../../../include/pocketpy/*.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
compiler-opts:
- '-I../../../include'
- '-std=c11'