[cairo] char* vs. unsigned char*
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050404/1f4e4ae4/attachment.pgp
More information about the cairo