Update of /cvsroot/ctypes/ctypes/ctypes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7404
Modified Files:
Tag: branch_1_0
__init__.py
Log Message:
Changes for windows CE.
Index: __init__.py
===================================================================
RCS file: /cvsroot/ctypes/ctypes/ctypes/__init__.py,v
retrieving revision 1.61.2.23
retrieving revision 1.61.2.24
diff -C2 -d -r1.61.2.23 -r1.61.2.24
*** __init__.py 5 Jan 2006 20:52:01 -0000 1.61.2.23
--- __init__.py 23 Jan 2006 12:25:34 -0000 1.61.2.24
***************
*** 104,107 ****
--- 104,109 ----
_FUNCFLAG_STDCALL = _FUNCFLAG_CDECL
+ if _os.name == "nt":
+ # 'ce' doesn't have the stdcall calling convention
_win_functype_cache = {}
def WINFUNCTYPE(restype, *argtypes):
***************
*** 392,395 ****
--- 394,400 ----
register_library_alias("m", "msvcrt", "nt")
+ register_library_alias("c", "coredll", "ce")
+ register_library_alias("m", "coredll", "ce")
+
class _DLLS(object):
def __init__(self, dlltype):
|