[pypy-commit] pypy win32-stdlib: remove prematurely added function

mattip noreply at buildbot.pypy.org
Wed Apr 11 21:19:18 CEST 2012


Author: Matti Picus <matti.picus at gmail.com>
Branch: win32-stdlib
Changeset: r54294:b4573bb1e0b4
Date: 2012-04-11 22:18 +0300
http://bitbucket.org/pypy/pypy/changeset/b4573bb1e0b4/

Log:	remove prematurely added function

diff --git a/pypy/rlib/clibffi.py b/pypy/rlib/clibffi.py
--- a/pypy/rlib/clibffi.py
+++ b/pypy/rlib/clibffi.py
@@ -655,13 +655,6 @@
         return FuncPtr(name, argtypes, restype, dlsym(self.lib, name),
                        flags=flags, keepalive=self)
 
-    def getpointer_byordinal(self, name, argtypes, restype, 
-            flags=FUNCFLAG_CDECL):
-        # these arguments are already casted to proper ffi
-        # structures!
-        return FuncPtr(name, argtypes, restype, dlsym_byordinal(self.lib, name),
-                       flags=flags, keepalive=self)
-
     def getrawpointer(self, name, argtypes, restype, flags=FUNCFLAG_CDECL):
         # these arguments are already casted to proper ffi
         # structures!


More information about the pypy-commit mailing list