Skip to content
  • Sebastian Wilhelmi's avatar
    Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to use for printf and (much · d9f13571
    Sebastian Wilhelmi authored
    
    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>.
    d9f13571