[ctypes-commit] ctypes/ctypes __init__.py,1.61.2.28,1.61.2.29
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2006-02-09 20:29:18
|
Update of /cvsroot/ctypes/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31054 Modified Files: Tag: branch_1_0 __init__.py Log Message: Make _memset_addr and _memmove_addr symbols private, and move them out of the #ifdef MS_WIN32 block. Index: __init__.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/ctypes/__init__.py,v retrieving revision 1.61.2.28 retrieving revision 1.61.2.29 diff -C2 -d -r1.61.2.28 -r1.61.2.29 *** __init__.py 9 Feb 2006 20:22:58 -0000 1.61.2.28 --- __init__.py 9 Feb 2006 20:29:09 -0000 1.61.2.29 *************** *** 402,406 **** # functions ! from _ctypes import memmove_addr, memset_addr, string_at, cast if sizeof(c_uint) == sizeof(c_void_p): --- 402,406 ---- # functions ! from _ctypes import _memmove_addr, _memset_addr, string_at, cast if sizeof(c_uint) == sizeof(c_void_p): *************** *** 410,417 **** ## void *memmove(void *, const void *, size_t); ! memmove = CFUNCTYPE(c_size_t, c_void_p, c_void_p, c_size_t)(memmove_addr) ## void *memset(void *, int, size_t) ! memset = CFUNCTYPE(c_void_p, c_void_p, c_int, c_size_t)(memset_addr) --- 410,417 ---- ## void *memmove(void *, const void *, size_t); ! memmove = CFUNCTYPE(c_size_t, c_void_p, c_void_p, c_size_t)(_memmove_addr) ## void *memset(void *, int, size_t) ! memset = CFUNCTYPE(c_void_p, c_void_p, c_int, c_size_t)(_memset_addr) |