Details
G_MININT
#define G_MININT INT_MIN
The minimum value which can be held in a gint.
G_MAXINT
#define G_MAXINT INT_MAX
The maximum value which can be held in a gint.
G_MAXUINT
#define G_MAXUINT UINT_MAX
The maximum value which can be held in a guint.
G_MINSHORT
#define G_MINSHORT SHRT_MIN
The minimum value which can be held in a gshort.
G_MAXSHORT
#define G_MAXSHORT SHRT_MAX
The maximum value which can be held in a gshort.
G_MAXUSHORT
#define G_MAXUSHORT USHRT_MAX
The maximum value which can be held in a gushort.
G_MINLONG
#define G_MINLONG LONG_MIN
The minimum value which can be held in a glong.
G_MAXLONG
#define G_MAXLONG LONG_MAX
The maximum value which can be held in a glong.
G_MAXULONG
#define G_MAXULONG ULONG_MAX
The maximum value which can be held in a gulong.
G_MININT8
#define G_MININT8
The minimum value which can be held in a gint8.
Since 2.4
G_MAXINT8
#define G_MAXINT8
The maximum value which can be held in a gint8.
Since 2.4
G_MAXUINT8
#define G_MAXUINT8
The maximum value which can be held in a guint8.
Since 2.4
G_MININT16
#define G_MININT16
The minimum value which can be held in a gint16.
Since 2.4
G_MAXINT16
#define G_MAXINT16
The maximum value which can be held in a gint16.
Since 2.4
G_MAXUINT16
#define G_MAXUINT16
The maximum value which can be held in a guint16.
Since 2.4
G_MININT32
#define G_MININT32
The minimum value which can be held in a gint32.
Since 2.4
G_MAXINT32
#define G_MAXINT32
The maximum value which can be held in a gint32.
Since 2.4
G_MAXUINT32
#define G_MAXUINT32
The maximum value which can be held in a guint32.
Since 2.4
G_MININT64
#define G_MININT64
The minimum value which can be held in a gint64.
G_MAXINT64
#define G_MAXINT64
The maximum value which can be held in a gint64.
G_MAXUINT64
#define G_MAXUINT64
The maximum value which can be held in a guint64.
G_MAXSIZE
#define G_MAXSIZE G_MAXULONG
The maximum value which can be held in a gsize.
Since 2.4
G_MINSSIZE
#define G_MINSSIZE G_MINLONG
The minimum value which can be held in a gssize.
Since 2.14
G_MAXSSIZE
#define G_MAXSSIZE G_MAXLONG
The maximum value which can be held in a gssize.
Since 2.14
G_MINOFFSET
#define G_MINOFFSET G_MININT64
The minimum value which can be held in a goffset.
G_MAXOFFSET
#define G_MAXOFFSET G_MAXINT64
The maximum value which can be held in a goffset.
G_MINFLOAT
#define G_MINFLOAT FLT_MIN
The minimum positive value which can be held in a gfloat.
If you are interested in the smallest value which can be held in a gfloat,
use -G_MAX_FLOAT.
G_MAXFLOAT
#define G_MAXFLOAT FLT_MAX
The maximum value which can be held in a gfloat.
G_MINDOUBLE
#define G_MINDOUBLE DBL_MIN
The minimum positive value which can be held in a gdouble.
If you are interested in the smallest value which can be held in a gdouble,
use -G_MAXDOUBLE.
G_MAXDOUBLE
#define G_MAXDOUBLE DBL_MAX
The maximum value which can be held in a gdouble.