[pypy-svn] r75445 - in pypy/branch/fast-ctypes/pypy: module/jitffi rlib
getxsick at codespeak.net
getxsick at codespeak.net
Fri Jun 18 12:42:15 CEST 2010
Author: getxsick
Date: Fri Jun 18 12:42:14 2010
New Revision: 75445
Modified:
pypy/branch/fast-ctypes/pypy/module/jitffi/interp_jitffi.py
pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py
Log:
better r75443
Modified: pypy/branch/fast-ctypes/pypy/module/jitffi/interp_jitffi.py
==============================================================================
--- pypy/branch/fast-ctypes/pypy/module/jitffi/interp_jitffi.py (original)
+++ pypy/branch/fast-ctypes/pypy/module/jitffi/interp_jitffi.py Fri Jun 18 12:42:14 2010
@@ -7,7 +7,7 @@
class W_CDLL(Wrappable, rjitffi.CDLL):
def __init__(self, space, name):
self.space = space
- self._init(name)
+ rjitffi.CDLL.__init__(self, name)
def get_w(self, func, w_args_type, res_type='void'):
args_type_w = [ self.space.str_w(w_x)
Modified: pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py
==============================================================================
--- pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py (original)
+++ pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py Fri Jun 18 12:42:14 2010
@@ -8,9 +8,6 @@
class CDLL(object):
def __init__(self, name):
- self._init(name)
-
- def _init(self, name):
try:
self.lib = rdynload.dlopen(name)
except rdynload.DLOpenError, e:
More information about the Pypy-commit
mailing list