• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# The list of minor versions in the 2.x.x series which have had
2# GLIB_AVAILABLE_IN_* macros. This should include the current unreleased stable
3# version.
4#
5# FIXME: It would be good to be able to generate this list:
6# https://github.com/mesonbuild/meson/issues/5026
7stable_2_series_versions = [
8  '26', '28', '30', '32', '34', '36', '38',
9  '40', '42', '44', '46', '48', '50', '52', '54', '56', '58',
10  '60', '62',
11]
12
13ignore_decorators = [
14  'GLIB_VAR',
15  'G_GNUC_INTERNAL',
16  'G_GNUC_WARN_UNUSED_RESULT',
17  'GLIB_AVAILABLE_IN_ALL',
18]
19
20foreach version : stable_2_series_versions
21  ignore_decorators += [
22    'GLIB_AVAILABLE_IN_2_' + version,
23    'GLIB_DEPRECATED_IN_2_' + version,
24    'GLIB_DEPRECATED_IN_2_' + version + '_FOR',
25  ]
26endforeach
27
28gtkdoc_common_scan_args = [
29  '--ignore-decorators=' + '|'.join(ignore_decorators),
30]
31
32subdir('gio')
33subdir('glib')
34subdir('gobject')