[pypy-svn] r22572 - pypy/dist/pypy/rpython/rctypes
gromit at codespeak.net
gromit at codespeak.net
Tue Jan 24 11:04:06 CET 2006
Author: gromit
Date: Tue Jan 24 11:04:04 2006
New Revision: 22572
Modified:
pypy/dist/pypy/rpython/rctypes/interface.py
Log:
ADD: (gromit,stephan) Use teh rctypes objects from our implementation module.
Modified: pypy/dist/pypy/rpython/rctypes/interface.py
==============================================================================
--- pypy/dist/pypy/rpython/rctypes/interface.py (original)
+++ pypy/dist/pypy/rpython/rctypes/interface.py Tue Jan 24 11:04:04 2006
@@ -1,4 +1,9 @@
-from ctypes import *
+from ctypes import _DLLS
+from implementation import RCDLL as CDLL, RWinDLL as WinDLL, c_int, c_char_p
+
+cdll = _DLLS( CDLL )
+windll = _DLLS( WinDLL )
+
"""
Loading
More information about the Pypy-commit
mailing list