I was trying to track down the definition of gint32 and the other
size-specific types just now.  I have been building from CVS for quite
awhile and never have any problems related to these types, but I can't seem
to find gint32 defined in the installed header files.  In my glib source
tree I see a typedef for it in glibconfig.h, but that file doesn't get
installed into /usr/local/include/glib-2.0.

>From my glib source tree I find:

    ./glib/gdate.h:typedef gint32  GTime;
    ./glib/grand.h:gint32  g_rand_int_range       (GRand      *rand,
    ./glib/grand.h:                                gint32      begin,
    ./glib/grand.h:                                gint32      end);
    ./glib/grand.h:gint32  g_random_int_range     (gint32      begin,
    ./glib/grand.h:                                gint32      end);
    ./glib/gtypes.h: *  more importantly, "gint32" can be adjusted to be
    ./glibconfig.h:typedef signed int gint32;
    ./glibconfig.h:typedef gint32  gssize;
    ./glibconfig.h:#define GINT32_TO_LE(val)    ((gint32) (val))
    ./glibconfig.h:#define GINT32_TO_BE(val)    ((gint32) GUINT32_SWAP_LE_BE (val))

>From /usr/local/include I find:

    % find . -name '*.h' | xargs egrep gint32
    ./glib-2.0/glib/gdate.h:typedef gint32  GTime;
    ./glib-2.0/glib/grand.h:gint32  g_rand_int_range       (GRand      *rand,
    ./glib-2.0/glib/grand.h:                                gint32      begin,
    ./glib-2.0/glib/grand.h:                                gint32      end);
    ./glib-2.0/glib/grand.h:gint32  g_random_int_range     (gint32      begin,
    ./glib-2.0/glib/grand.h:                                gint32      end);
    ./glib-2.0/glib/gtypes.h: *  more importantly, "gint32" can be adjusted to be
    ./gtk-2.0/gdk-pixbuf/gdk-pixdata.h:  gint32  length;       /* <1 to disable length 
checks, otherwise:
    ./pango-1.0/pango/pango-glyph.h:typedef gint32 PangoGlyphUnit;
    ./ORBitutil/basic_types.h:typedef gint32 CORBA_long;

What am I missing?  Other packages such as gtk and pango use gint32 and
compile just fine.

Thx,

-- 
Skip Montanaro ([EMAIL PROTECTED] - http://www.mojam.com/)
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to