build: Add docs.c to the GLib GIR

For historical reasons, some doc blocks are included in an ancillary
file. Add it to the list of sources parsed by g-ir-scanner, to increase
the coverage of various macros.

Fixes: #3372
This commit is contained in:
Emmanuele Bassi 2024-05-20 13:34:19 +01:00
parent 974b89e707
commit e7ef715883

View File

@ -27,6 +27,7 @@ glib_gir_sources = [
glib_types_h,
glib_deprecated_sources,
glib_sources,
files('../../glib/docs.c'),
]
# For API compatibility reasons, GLib-2.0.gir needs to contain the platform