[cairo] char* vs. unsigned char*

Keith Packard keithp at keithp.com
Mon Apr 4 09:43:24 PDT 2005


Your plan seems sensible to me -- signed char for text data, unsigned char 
for binary data.  That fontconfig uses unsigned char for UTF-8 data is 
probably a mistake.  It does help find places where the strings are passed 
into locale-sensitive libc string functions, but the annoyance of the many 
needed casts is huge.

-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/20050404/1f4e4ae4/attachment.pgp


More information about the cairo mailing list