Author: Amaury Forgeot d'Arc <[email protected]>
Branch: win-ordinal
Changeset: r55452:b2f3a762e5aa
Date: 2012-06-06 23:01 +0200
http://bitbucket.org/pypy/pypy/changeset/b2f3a762e5aa/
Log: Fix for posix platforms
diff --git a/pypy/module/_ffi/interp_funcptr.py
b/pypy/module/_ffi/interp_funcptr.py
--- a/pypy/module/_ffi/interp_funcptr.py
+++ b/pypy/module/_ffi/interp_funcptr.py
@@ -45,7 +45,8 @@
space.wrap('function name must be a string or integer'))
else:
@unwrap_spec(name=str)
- def _getfunc(space, CDLL, name, w_argtypes, w_restype):
+ def _getfunc(space, CDLL, w_name, w_argtypes, w_restype):
+ name = space.str_w(w_name)
argtypes_w, argtypes, w_restype, restype = unpack_argtypes(space,
w_argtypes,
w_restype)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit