flutter_stockfish_plugin/ffigen.yaml

22 lines
580 B
YAML
Raw Permalink Normal View History

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