2023-10-29 22:47:21 +01:00
|
|
|
# Run with `flutter pub run ffigen --config ffigen_linux.yaml`.
|
2024-02-23 18:58:31 +01:00
|
|
|
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`.
|
2024-02-23 18:58:31 +01:00
|
|
|
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
|