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):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to