-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathffigen.yaml
40 lines (39 loc) · 1 KB
/
ffigen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Run with `dart run ffigen --config ffigen.yaml`.
name: NativeApiBindings
description: |
Bindings for `src/nativeapi.h`.
Regenerate bindings with `dart run ffigen --config ffigen.yaml`.
output: "lib/src/ffi/bindings_generated.dart"
headers:
entry-points:
- "src/broadcast_center.h"
- "src/display_manager.h"
- "src/display.h"
- "src/nativeapi.h"
- "src/point.h"
- "src/rectangle.h"
- "src/size.h"
- "src/tray_manager.h"
- "src/tray.h"
- "src/window_manager.h"
- "src/window.h"
include-directives:
- "src/broadcast_center.h"
- "src/display_manager.h"
- "src/display.h"
- "src/nativeapi.h"
- "src/point.h"
- "src/rectangle.h"
- "src/size.h"
- "src/tray_manager.h"
- "src/tray.h"
- "src/window_manager.h"
- "src/window.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
ignore-source-errors: true