Re: [gtk-list] Re: How to use a gpointer?



   >Really?  Even in 64-bit environments?  That would be strange indeed.
   >If we're talking about the type that X calls `Time' (the type normally
   >used in X event structures, which Gtk "wisely" assigns to guint32),
   >then it's definitely 64-bit on 64-bit systems.
   >
   >    #ifndef _XSERVER64
   >    [...]
   >    typedef unsigned long Time;
   >    #else
   >    [...]
   >    typedef CARD32 Time;
   >    #endif

Am I reading this right?  To me it looks like, if you're not on a 64
bit server then Time is an int, so it's 32 bits, while if you are on
a 64 bit server it's a CARD32 -- so it's still 32 bits.  What am I
missing here?
-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]