[pypy-commit] pypy ffi-backend: Comment out no-longer-used stuff.

arigo noreply at buildbot.pypy.org
Sat Jun 23 11:35:59 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: ffi-backend
Changeset: r55768:9d51bd4e5f2c
Date: 2012-06-23 11:28 +0200
http://bitbucket.org/pypy/pypy/changeset/9d51bd4e5f2c/

Log:	Comment out no-longer-used stuff.

diff --git a/pypy/module/_ffi_backend/cdataobj.py b/pypy/module/_ffi_backend/cdataobj.py
--- a/pypy/module/_ffi_backend/cdataobj.py
+++ b/pypy/module/_ffi_backend/cdataobj.py
@@ -104,33 +104,33 @@
             w_value)
         keepalive_until_here(self)
 
-    def read_raw_signed_data(self):
-        result = misc.read_raw_signed_data(self._cdata, self.ctype.size)
-        keepalive_until_here(self)
-        return result
+##    def read_raw_signed_data(self):
+##        result = misc.read_raw_signed_data(self._cdata, self.ctype.size)
+##        keepalive_until_here(self)
+##        return result
 
-    def read_raw_unsigned_data(self):
-        result = misc.read_raw_unsigned_data(self._cdata, self.ctype.size)
-        keepalive_until_here(self)
-        return result
+##    def read_raw_unsigned_data(self):
+##        result = misc.read_raw_unsigned_data(self._cdata, self.ctype.size)
+##        keepalive_until_here(self)
+##        return result
 
     def write_raw_integer_data(self, source):
         misc.write_raw_integer_data(self._cdata, source, self.ctype.size)
         keepalive_until_here(self)
 
-    def read_raw_float_data(self):
-        result = misc.read_raw_float_data(self._cdata, self.ctype.size)
-        keepalive_until_here(self)
-        return result
+##    def read_raw_float_data(self):
+##        result = misc.read_raw_float_data(self._cdata, self.ctype.size)
+##        keepalive_until_here(self)
+##        return result
 
     def write_raw_float_data(self, source):
         misc.write_raw_float_data(self._cdata, source, self.ctype.size)
         keepalive_until_here(self)
 
-    def convert_to_object(self):
-        w_obj = self.ctype.convert_to_object(self._cdata)
-        keepalive_until_here(self)
-        return w_obj
+##    def convert_to_object(self):
+##        w_obj = self.ctype.convert_to_object(self._cdata)
+##        keepalive_until_here(self)
+##        return w_obj
 
     def get_array_length(self):
         from pypy.module._ffi_backend import ctypeobj


More information about the pypy-commit mailing list