[pypy-issue] [issue1243] pypy ctypes rejects None when used to get a null-pointer

Armin Rigo tracker at bugs.pypy.org
Sat Aug 25 16:02:41 CEST 2012


Armin Rigo <armin.rigo at gmail.com> added the comment:

'py_object' is mostly unsupported in ctypes.  If you're only going to store a
None there, just use 'c_void_p' instead.

----------
nosy: +arigo

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1243>
________________________________________


More information about the pypy-issue mailing list