Now at http://pyfaq.infogami.com/suggest we have:

FAQ: How do I declare that a CTypes function returns unsigned char?

A: c_uchar = ctypes.c_ubyte

This irregularity actually is doc'ed, it's just pointlessly annoying.

Hope this helps (and of course I trust you'll dispute if I'm nuts),

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to