summaryrefslogtreecommitdiff
path: root/gir
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2018-03-14 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2018-11-24 18:18:13 +0100
commit90a330117d2a6fed8ba284e963baf7f107199953 (patch)
tree4f6ef23450013c442b5c1bff96354eb110d00fc4 /gir
parent61cf8a574dd2015b697c7decc37558739837526b (diff)
downloadgobject-introspection-90a330117d2a6fed8ba284e963baf7f107199953.tar.gz
Skip gobject/gvaluecollector.h when constructing GObject GIR
API from gobject/gvaluecollector.h is not intended for introspected use. Skip it when scanning headers. This effectively hides the definition of GTypeCValue and VALUE_COLLECT_FORMAT_MAX_LENGTH constant.
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 1cb514a1..338c61ce 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')
+ if not hstr.endswith('autocleanups.h') and not hstr.endswith('glib-types.h') and not hstr.endswith('gvaluecollector.h')
gobject_files += h
endif
endforeach