[Xcb] Using C99 types instead of custom integral types

Bernardo Innocenti bernie at develer.com
Tue Sep 5 23:03:10 PDT 2006


Hello,

I wrote a small XCB program just to try it out.  While I'm generally
happy with the new API, the use of the ancient X typedefs for integral
types such as INT32, CARD32 and BYTE make client code less readable to
anybody except old X hackers.

I'd like to suggest adopting the standard C99 types instead, such as
int8_t, int32_t, etc.

Maybe it's already been considered before, or maybe it's just too
late for such a change.  Just my $0.02.

-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/



More information about the Xcb mailing list