Nikolaus Rath <nikol...@rath.org> added the comment: Ok, apparently the lines that define c_size_t are these:
if sizeof(c_uint) == sizeof(c_void_p): c_size_t = c_uint elif sizeof(c_ulong) == sizeof(c_void_p): c_size_t = c_ulong elif sizeof(c_ulonglong) == sizeof(c_void_p): c_size_t = c_ulonglong (side remark: wouldn't a simple c_size_t = c_void_p do exactly the same as the above and be much clearer?) Unfortunately I have no real idea how to come up with something similar for ssize_t, since there is no predefined object that is of type ssize_t (as c_void_p is for type size_t). Any ideas what to do? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6729> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com