mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Add G_MAXSIZE, define in terms of G_MAXUfoo.
Sun Jan 11 16:13:20 2004 Manish Singh <yosh@gimp.org> * configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo. * tests/type-test.c: Add test for G_MAXSIZE. * glibconfig.h.win32.in: Cleanup, add some missing bits.
This commit is contained in:
committed by
Manish Singh
parent
3fa27319e9
commit
31a1fedf68
@@ -41,6 +41,7 @@ main (int argc,
|
||||
gushort gus;
|
||||
guint gui;
|
||||
gulong gul;
|
||||
gssize gsz;
|
||||
gshort gs;
|
||||
gint gi;
|
||||
glong gl;
|
||||
@@ -83,6 +84,10 @@ main (int argc,
|
||||
gul++;
|
||||
g_assert (gul == 0);
|
||||
|
||||
gsz = G_MAXSIZE;
|
||||
gsz++;
|
||||
g_assert (gsz == 0);
|
||||
|
||||
gs = G_MAXSHORT;
|
||||
gs++;
|
||||
g_assert (gs == G_MINSHORT);
|
||||
|
Reference in New Issue
Block a user