gtypes: add g-i annotations for G_MININT macros. Fixes #1673

They were changed in 6a2cfde2 to reuse the G_MAXINT values but
parsing nexted macros is currently broken in g-i and results in wrong
values.

Add value annotations for g-i to override the values.

This also moves the annotations to the macro definitions to have
everything g-i uses in one place.
This commit is contained in:
Christoph Reiter
2019-02-01 15:04:57 +01:00
parent 66f3016026
commit 0cf55f4fd9
2 changed files with 26 additions and 30 deletions

View File

@@ -208,14 +208,6 @@
* #G_MAXINT8 (= 127).
*/
/**
* G_MININT8:
*
* The minimum value which can be held in a #gint8.
*
* Since: 2.4
*/
/**
* G_MAXINT8:
*
@@ -250,14 +242,6 @@
* %G_GINT16_MODIFIER and/or %G_GINT16_FORMAT.
*/
/**
* G_MININT16:
*
* The minimum value which can be held in a #gint16.
*
* Since: 2.4
*/
/**
* G_MAXINT16:
*
@@ -337,14 +321,6 @@
* %G_GINT32_MODIFIER and/or %G_GINT32_FORMAT.
*/
/**
* G_MININT32:
*
* The minimum value which can be held in a #gint32.
*
* Since: 2.4
*/
/**
* G_MAXINT32:
*
@@ -407,12 +383,6 @@
* %G_GINT64_MODIFIER and/or %G_GINT64_FORMAT.
*/
/**
* G_MININT64:
*
* The minimum value which can be held in a #gint64.
*/
/**
* G_MAXINT64:
*