flutter_stockfish_plugin/ffigen.yaml

21 lines
580 B
YAML

# Run with `flutter pub run ffigen --config ffigen_linux.yaml`.
name: StockfishChessEngineCBindings
description: |
Bindings for `src/stockfish.h`.
Regenerate bindings with `dart run ffigen --config ffigen.yaml`.
output: "lib/stockfish_c_bindings_generated.dart"
headers:
entry-points:
- "src/stockfish.h"
include-directives:
- "src/stockfish.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
#llvm-path:
# - /usr/lib/llvm-14