Philip Withnall
856aeba9e4
glib-mkenums: Parse and skip deprecation/availability annotations
...
Teach `glib-mkenums` how to parse and ignore:
- `GLIB_AVAILABLE_ENUMERATOR_IN_x_xx`
- `GLIB_DEPRECATED_ENUMERATOR_IN_x_xx`
- `GLIB_DEPRECATED_ENUMERATOR_IN_x_xx_FOR(x)`
Future work could expose the deprecation/availability information as
substitutions in the template file, but this commit does not do that.
It does, however, add some unit tests for the annotations.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Fixes : #2327
2021-03-11 13:37:49 +00:00
..
2021-03-11 13:37:49 +00:00
2020-11-24 08:10:58 -06:00
2020-11-20 14:40:19 +00:00
2020-12-08 18:41:27 +02:00
2020-11-26 19:51:56 +02:00
2020-11-20 14:40:19 +00:00
2017-05-24 11:58:19 +02:00
2020-11-20 14:40:19 +00:00
2020-11-20 14:40:19 +00:00
2020-12-11 23:48:35 +00:00
2017-05-24 11:58:19 +02:00
2020-11-20 14:40:19 +00:00
2019-03-04 11:12:59 +00:00
2021-03-03 12:24:29 +06:00
2021-03-11 13:37:49 +00:00
2020-10-07 11:00:11 +01:00
2019-08-24 19:14:05 +00:00
2019-03-04 12:33:17 +00:00
2020-11-17 15:50:07 +00:00
2012-10-15 19:48:44 -04:00
2019-09-05 14:16:58 +01:00
2018-05-15 15:38:33 +01:00
2018-09-25 14:34:48 +01:00
2021-01-19 11:36:01 +02:00
2021-02-25 15:33:59 +00:00
2018-01-04 22:19:30 +01:00
2016-11-23 10:50:39 +00:00
2017-05-24 11:58:19 +02:00
2021-01-19 11:35:15 +00:00
2020-03-04 14:46:28 +00:00
2020-07-27 15:41:09 +01:00
2020-06-12 15:01:08 +01:00
2021-02-04 14:13:21 +00:00
2021-02-01 09:45:16 +01:00
2020-11-20 14:40:19 +00:00
2017-05-24 11:58:19 +02:00
2019-09-02 15:48:32 +02:00
2021-02-04 14:13:21 +00:00
2021-01-20 15:42:55 +00:00
2021-02-04 14:13:21 +00:00
2019-01-25 11:29:05 +00:00
2020-12-16 10:56:32 +01:00
2020-11-02 17:22:01 +00:00
2020-11-02 17:36:18 +00:00
2020-06-23 10:30:55 +00:00
2019-03-15 11:09:36 +00:00
2019-05-30 10:39:11 +01:00
2020-06-12 15:01:08 +01:00
2017-05-24 11:58:19 +02:00
2020-06-23 10:30:55 +00:00
2020-05-19 17:52:55 +02:00
2016-05-23 10:52:10 -04:00
2020-04-05 00:34:04 -04:00