mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-13 14:05:05 +01:00
Platform-dependent header ignore list for gio docs
This is a bit awkward. A more elegant solution would have ignored *all* headers and then *un-ignored* some of them if some conditions were met. Sadly, we cannot really ignore all headers and then "unignore" them: that's not how arrays in Meson work. https://bugzilla.gnome.org/show_bug.cgi?id=794557
This commit is contained in:
parent
dcc452b5f9
commit
6635922072
@ -55,7 +55,6 @@ if get_option('gtk_doc')
|
|||||||
'gnetworkmonitorportal.h',
|
'gnetworkmonitorportal.h',
|
||||||
'gnotificationbackend.h',
|
'gnotificationbackend.h',
|
||||||
'gnotification-private.h',
|
'gnotification-private.h',
|
||||||
'gosxappinfo.h',
|
|
||||||
'gpollfilemonitor.h',
|
'gpollfilemonitor.h',
|
||||||
'gproxyresolverportal.h',
|
'gproxyresolverportal.h',
|
||||||
'gregistrysettingsbackend.h',
|
'gregistrysettingsbackend.h',
|
||||||
@ -76,9 +75,7 @@ if get_option('gtk_doc')
|
|||||||
'gunixvolume.h',
|
'gunixvolume.h',
|
||||||
'gunixvolumemonitor.h',
|
'gunixvolumemonitor.h',
|
||||||
'gwin32appinfo.h',
|
'gwin32appinfo.h',
|
||||||
'gwin32inputstream.h',
|
|
||||||
'gwin32mount.h',
|
'gwin32mount.h',
|
||||||
'gwin32outputstream.h',
|
|
||||||
'gwin32registrykey.h',
|
'gwin32registrykey.h',
|
||||||
'gwin32resolver.h',
|
'gwin32resolver.h',
|
||||||
'gwin32volumemonitor.h',
|
'gwin32volumemonitor.h',
|
||||||
@ -86,6 +83,34 @@ if get_option('gtk_doc')
|
|||||||
'xdp-dbus.h',
|
'xdp-dbus.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if host_system == 'windows'
|
||||||
|
ignore_headers += [
|
||||||
|
'gfiledescriptorbased.h',
|
||||||
|
'gunixconnection.h',
|
||||||
|
'gunixcredentialsmessage.h',
|
||||||
|
'gunixmounts.h',
|
||||||
|
'gunixfdlist.h',
|
||||||
|
'gunixfdmessage.h',
|
||||||
|
'gunixinputstream.h',
|
||||||
|
'gunixoutputstream.h',
|
||||||
|
'gunixsocketaddress.h',
|
||||||
|
'gdesktopappinfo.h',
|
||||||
|
'gosxappinfo.h',
|
||||||
|
]
|
||||||
|
else
|
||||||
|
if glib_have_cocoa
|
||||||
|
ignore_headers += ['gdesktopappinfo.h']
|
||||||
|
else
|
||||||
|
ignore_headers += ['gosxappinfo.h']
|
||||||
|
endif
|
||||||
|
|
||||||
|
ignore_headers += [
|
||||||
|
'gwin32networkmonitor.h',
|
||||||
|
'gwin32inputstream.h',
|
||||||
|
'gwin32outputstream.h',
|
||||||
|
]
|
||||||
|
endif
|
||||||
|
|
||||||
ignore_decorators = [
|
ignore_decorators = [
|
||||||
'GLIB_VAR',
|
'GLIB_VAR',
|
||||||
'G_GNUC_INTERNAL',
|
'G_GNUC_INTERNAL',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user