Author: Matti Picus <[email protected]>
Branch: win-ordinal
Changeset: r55440:498476322581
Date: 2012-06-06 19:04 +0300
http://bitbucket.org/pypy/pypy/changeset/498476322581/

Log:    fix for translation

diff --git a/pypy/rlib/libffi.py b/pypy/rlib/libffi.py
--- a/pypy/rlib/libffi.py
+++ b/pypy/rlib/libffi.py
@@ -417,7 +417,8 @@
 
     def getpointer_by_ordinal(self, name, argtypes, restype,
                               flags=FUNCFLAG_CDECL):
-        return Func(name, argtypes, restype, dlsym_byordinal(self.lib, name),
+        return Func('by_ordinal', argtypes, restype, 
+                    dlsym_byordinal(self.lib, name),
                     flags=flags, keepalive=self)
     def getaddressindll(self, name):
         return dlsym(self.lib, name)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to