[pypy-commit] pypy default: fix
fijal
pypy.commits at gmail.com
Fri Feb 9 02:57:31 EST 2018
Author: fijal
Branch:
Changeset: r93788:30ec49b828a4
Date: 2018-02-09 08:56 +0100
http://bitbucket.org/pypy/pypy/changeset/30ec49b828a4/
Log: fix
diff --git a/rpython/memory/gctypelayout.py b/rpython/memory/gctypelayout.py
--- a/rpython/memory/gctypelayout.py
+++ b/rpython/memory/gctypelayout.py
@@ -97,7 +97,7 @@
def q_destructor_or_custom_trace(self, typeid):
if not self.get(typeid).customdata:
- return lltype.nullptr(rffi.VOIDP.TO)
+ return lltype.nullptr(GCData.CUSTOM_DATA_STRUCT)
return self.get(typeid).customdata.customfunc
def q_is_old_style_finalizer(self, typeid):
More information about the pypy-commit
mailing list