[pypy-svn] pypy jitypes2: kill XXX and some commented out code

antocuni commits-noreply at bitbucket.org
Fri Jan 7 12:07:14 CET 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: jitypes2
Changeset: r40448:f45c24ac5f33
Date: 2011-01-07 12:04 +0100
http://bitbucket.org/pypy/pypy/changeset/f45c24ac5f33/

Log:	kill XXX and some commented out code

diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py
--- a/lib_pypy/_ctypes/function.py
+++ b/lib_pypy/_ctypes/function.py
@@ -46,7 +46,7 @@
     _needs_free = False
     callable = None
     _ptr = None
-    _buffer = None # XXX: maybe we should kill it when jitypes2 is complete
+    _buffer = None
     _address = None
     # win32 COM properties
     _paramflags = None
@@ -207,10 +207,6 @@
         funcptr = self._getfuncptr(argtypes, restype, thisarg)
         result = funcptr(*newargs)
         result = self._build_result(restype, result, argtypes, newargs)
-        #
-        ## resbuffer = funcptr(*[arg._get_buffer_for_param()._buffer
-        ##                       for arg in args])
-        ## result = self._build_result(restype, resbuffer, argtypes, args)
 
         # The 'errcheck' protocol
         if self._errcheck_:


More information about the Pypy-commit mailing list