Steve Dower added the comment: I missed c_size_t somehow, but as eryksun says, it's not strictly the same thing. Of course, my current patch isn't the same thing either as it only supports 32-bit and 64-bit pointer sizes.
I could make a bigger change to use c_void_p and compare its .value against None instead of 0 (which seems to be the only difference)? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22732> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com