-
Notifications
You must be signed in to change notification settings - Fork 0
/
ffigen.yaml
42 lines (42 loc) · 913 Bytes
/
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
41
42
name: LibGtk
description: GTK+ 3.0
output: 'lib/src/libgtk.g.dart'
preamble: |
// coverage:ignore-file
// ignore_for_file: non_constant_identifier_names
// ignore_for_file: unused_field
headers:
entry-points:
- '/usr/include/gtk-3.0/gtk/gtk.h'
compiler-opts:
- '-DGTK_COMPILATION'
- '-I/usr/include/gtk-3.0'
- '-I/usr/include/glib-2.0'
- '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include'
exclude-all-by-default: true
functions:
include:
- 'gtk_settings_get_default'
- 'gtk_settings_reset_property'
- 'g_object_get_property'
- 'g_object_set_property'
- 'g_value_init'
- 'g_value_get_.*'
- 'g_value_set_.*'
exclude:
# deprecated
- 'g_value_get_char'
- 'g_value_set_char'
macros:
include:
- 'G_TYPE_.*'
structs:
include:
- '_GtkSettings'
- '_GObject'
- '_GValue'
typedefs:
include:
- 'GtkSettings'
- 'GObject'
- 'GValue'