Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to use for printf and (much
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Mon, 15 Mar 1999 16:09:15 +0000 (16:09 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Mon, 15 Mar 1999 16:09:15 +0000 (16:09 +0000)
commitd9f135711392682a9caa5987471ceccd6f9af2c7
treeec0b07a0cfbc777c2be02eabbccebe54e108727c
parent21d0ac27b89465a6374eb86336dd73792a9bac07
Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to use for printf and (much

1999-03-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* configure.in: Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to
use for printf and (much more important) scanf format strings for
the corresponding GLib types.

* glib.h Added G_(U)?(SHORT|INT|LONG)_FORMAT for consistency. It
however makes no sense to also provide G_(FLOAT|DOUBLE)_FORMAT, as
they are different for printf (f for both) and scanf (f for float,
lf for double). Defining G_INT_FORMAT makes sense however, as we
might want to define gint to something different than int someday
in the future. Idea from Sascha Brawer <sb@adasys.ch>.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in
glib.h
glib/glib.h