Author nikratio
Recipients nikratio, theller
Date 2009-09-28.23:34:03
SpamBayes Score 0.00118953
Marked as misclassified No
Message-id <1254180845.19.0.546214777341.issue6729@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2009-09-28 23:34:05nikratiosetrecipients: + nikratio, theller
2009-09-28 23:34:05nikratiosetmessageid: <1254180845.19.0.546214777341.issue6729@psf.upfronthosting.co.za>
2009-09-28 23:34:03nikratiolinkissue6729 messages
2009-09-28 23:34:03nikratiocreate