[pypy-svn] r73659 - pypy/branch/cpython-extension/pypy/module/cpyext
xoraxax at codespeak.net
xoraxax at codespeak.net
Sun Apr 11 23:21:52 CEST 2010
Author: xoraxax
Date: Sun Apr 11 23:21:51 2010
New Revision: 73659
Modified:
pypy/branch/cpython-extension/pypy/module/cpyext/pycobject.py
Log:
Fix call.
Modified: pypy/branch/cpython-extension/pypy/module/cpyext/pycobject.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/pycobject.py (original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/pycobject.py Sun Apr 11 23:21:51 2010
@@ -29,7 +29,7 @@
def __del__(self):
if self.pyo and self.pyo.c_destructor:
if self.desc:
- rffi.cast(destructor_long, self.pyo.c_destructor)(self.pyo, self.desc)
+ rffi.cast(destructor_long, self.pyo.c_destructor)(self.voidp, self.desc)
else:
self.pyo.c_destructor(self.voidp)
More information about the Pypy-commit
mailing list