flutter_stockfish_plugin/ffigen.yaml

22 lines
575 B
YAML
Raw Normal View History

2023-10-29 22:47:21 +01:00
# Run with `flutter pub run ffigen --config ffigen_linux.yaml`.
name: StockfishChessEngineBindings
description: |
Bindings for `src/stockfish.h`.
Regenerate bindings with `dart run ffigen --config ffigen.yaml`.
output: 'lib/stockfish_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