[ctypes-commit] ctypes/source _ctypes_test.c,1.31,1.32
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2004-10-12 19:22:24
|
Update of /cvsroot/ctypes/ctypes/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14697 Modified Files: _ctypes_test.c Log Message: Implement and export a wcslen function. Easier than to portably find the platform's libc in the unittests. Index: _ctypes_test.c =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/_ctypes_test.c,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** _ctypes_test.c 12 Oct 2004 09:39:31 -0000 1.31 --- _ctypes_test.c 12 Oct 2004 19:22:15 -0000 1.32 *************** *** 76,79 **** --- 76,84 ---- #endif } + + EXPORT(size_t *) my_wcslen(wchar_t *src) + { + return wcslen(src); + } #endif |