summaryrefslogtreecommitdiff
path: root/gir
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-03-03 13:12:35 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2019-03-04 18:24:20 +0100
commit8d1aa1e9286ca561810ebad8127ba267203bf9b0 (patch)
tree903b943c7daab0a013dcaff1f05e9616280957c0 /gir
parentd7524c9d9ec6ac8b3db19177b2976187b3b6b3dd (diff)
downloadgobject-introspection-8d1aa1e9286ca561810ebad8127ba267203bf9b0.tar.gz
gir: skip glib-enumtypes.h for GObject-2.0. See #267
The newly added GTypes in glib!481 result in g-i generating an enum type in GLib-2.0 and a GType based one in GObject-2.0. This makes problems for the dlang bindings (see #267) so skip them for now. Ideally we should include it in GLib-2.0 like we do with glib-types.h.
Diffstat (limited to 'gir')
-rw-r--r--gir/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/gir/meson.build b/gir/meson.build
index 6b372b74..3d021bce 100644
--- a/gir/meson.build
+++ b/gir/meson.build
@@ -220,7 +220,7 @@ endif
foreach h : gobject_headers
hstr = '@0@'.format(h)
- if not hstr.endswith('autocleanups.h') and not hstr.endswith('glib-types.h') and not hstr.endswith('gvaluecollector.h')
+ if not hstr.endswith('autocleanups.h') and not hstr.endswith('glib-types.h') and not hstr.endswith('gvaluecollector.h') and not hstr.endswith('glib-enumtypes.h')
gobject_files += h
endif
endforeach