Xcalloc - X11/Xlibint.h and xorg/os.h
Alan Coopersmith
Alan.Coopersmith at Sun.COM
Tue Feb 19 00:26:45 PST 2008
Jeremy Huddleston wrote:
> Is there some reason that Xcalloc is #defined in 11/Xlibint.h? And on
> top of that, it is inconsistent with org/os.h (2 args vs 1).
The server side & client side defines are inconsistent in many areas,
and you shouldn't mix the two. (The few bits like Xephyr & Xnest
that straddle the border are very tricky to get right because of
this - especially in 64-bit mode, where the same type is either
long or CARD32 depending on which set of headers you include.)
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg
mailing list