flutter_stockfish_plugin/ffigen.yaml

22 lines
577 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`.
2023-11-22 21:08:27 +01:00
output: "lib/stockfish_bindings_generated.dart"
2023-10-29 22:47:21 +01:00
headers:
entry-points:
2023-11-22 21:08:27 +01:00
- "src/stockfish.h"
2023-10-29 22:47:21 +01:00
include-directives:
2023-11-22 21:08:27 +01:00
- "src/stockfish.h"
2023-10-29 22:47:21 +01:00
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
2023-11-22 21:08:27 +01:00
#llvm-path:
# - /usr/lib/llvm-14