[pypy-commit] pypy cpyext-ext: fix

mattip pypy.commits at gmail.com
Fri Mar 25 06:58:16 EDT 2016


Author: mattip <matti.picus at gmail.com>
Branch: cpyext-ext
Changeset: r83339:ee6bf67aebc7
Date: 2016-03-25 11:14 +0300
http://bitbucket.org/pypy/pypy/changeset/ee6bf67aebc7/

Log:	fix

diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext/object.py
--- a/pypy/module/cpyext/object.py
+++ b/pypy/module/cpyext/object.py
@@ -28,7 +28,7 @@
                          flavor='raw',
                          add_memory_pressure=True)
     # XXX FIXME
-    return lltype.nullptr(rffi.CCHARP.TO)
+    return lltype.nullptr(rffi.VOIDP.TO)
 
 @cpython_api([rffi.VOIDP], lltype.Void)
 def PyObject_Free(space, ptr):


More information about the pypy-commit mailing list