[cairo] Redoing the xlib surface constructors
Keith Packard
keithp at keithp.com
Sun Mar 13 16:40:14 PST 2005
Around 17 o'clock on Mar 13, Owen Taylor wrote:
> I was just commenting on the type mismatch... CopyFromParent is an XID,
> not a Visual * value.
Fortunately, 0 is a well defined pointer value, so it 'just works' with
ANSI-C compilers. The scary thing is this was all defined in the
pre-prototype era when the compiler had no idea what the formal type was...
XCB shouldn't have any of these bizarre interface issues...
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050313/8379d578/attachment.pgp
More information about the cairo
mailing list