[pypy-commit] pypy ffistruct: this code belongs to the subclass of type_converter, kill it

antocuni noreply at buildbot.pypy.org
Thu Jan 12 14:28:23 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: ffistruct
Changeset: r51266:c574cd6ef30c
Date: 2012-01-12 11:38 +0100
http://bitbucket.org/pypy/pypy/changeset/c574cd6ef30c/

Log:	this code belongs to the subclass of type_converter, kill it

diff --git a/pypy/module/_ffi/type_converter.py b/pypy/module/_ffi/type_converter.py
--- a/pypy/module/_ffi/type_converter.py
+++ b/pypy/module/_ffi/type_converter.py
@@ -325,7 +325,7 @@
         Return type: lltype.Unsigned
         (the address of the structure)
         """
-        return self.func.call(self.argchain, rffi.ULONG, is_struct=True)
+        self.error(w_ffitype)
 
     def get_void(self, w_ffitype):
         """


More information about the pypy-commit mailing list