mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:31:43 +00:00
[WINE]
- Remove useless casts from unicode.h CORE-6418 #resolve svn path=/trunk/; revision=57577
This commit is contained in:
parent
accdcd67e2
commit
c6a234fc76
1 changed files with 21 additions and 21 deletions
|
@ -24,23 +24,23 @@
|
|||
#define WINE_UNICODE_INLINE static inline
|
||||
#endif
|
||||
|
||||
#define memicmpW(s1,s2,n) _wcsnicmp((const wchar_t *)(s1),(const wchar_t *)(s2),(n))
|
||||
#define strlenW(s) wcslen((const wchar_t *)(s))
|
||||
#define strcpyW(d,s) wcscpy((wchar_t *)(d),(const wchar_t *)(s))
|
||||
#define strcatW(d,s) wcscat((wchar_t *)(d),(const wchar_t *)(s))
|
||||
#define strcspnW(d,s) wcscspn((wchar_t *)(d),(const wchar_t *)(s))
|
||||
#define strstrW(d,s) wcsstr((const wchar_t *)(d),(const wchar_t *)(s))
|
||||
#define strtolW(s,e,b) wcstol((const wchar_t *)(s),(wchar_t **)(e),(b))
|
||||
#define strchrW(s,c) wcschr((const wchar_t *)(s),(wchar_t)(c))
|
||||
#define strrchrW(s,c) wcsrchr((const wchar_t *)(s),(wchar_t)(c))
|
||||
#define strncmpW(s1,s2,n) wcsncmp((const wchar_t *)(s1),(const wchar_t *)(s2),(n))
|
||||
#define strncpyW(s1,s2,n) wcsncpy((wchar_t *)(s1),(const wchar_t *)(s2),(n))
|
||||
#define strcmpW(s1,s2) wcscmp((const wchar_t *)(s1),(const wchar_t *)(s2))
|
||||
#define strcmpiW(s1,s2) _wcsicmp((const wchar_t *)(s1),(const wchar_t *)(s2))
|
||||
#define strncmpiW(s1,s2,n) _wcsnicmp((const wchar_t *)(s1),(const wchar_t *)(s2),(n))
|
||||
#define strtoulW(s1,s2,b) wcstoul((const wchar_t *)(s1),(wchar_t **)(s2),(b))
|
||||
#define strspnW(str, accept) wcsspn((const wchar_t *)(str), (const wchar_t *)(accept))
|
||||
#define strpbrkW(str, accept) wcspbrk((const wchar_t *)(str), (const wchar_t *)(accept))
|
||||
#define memicmpW(s1,s2,n) _wcsnicmp((s1),(s2),(n))
|
||||
#define strlenW(s) wcslen((s))
|
||||
#define strcpyW(d,s) wcscpy((d),(s))
|
||||
#define strcatW(d,s) wcscat((d),(s))
|
||||
#define strcspnW(d,s) wcscspn((d),(s))
|
||||
#define strstrW(d,s) wcsstr((d),(s))
|
||||
#define strtolW(s,e,b) wcstol((s),(e),(b))
|
||||
#define strchrW(s,c) wcschr((s),(c))
|
||||
#define strrchrW(s,c) wcsrchr((s),(c))
|
||||
#define strncmpW(s1,s2,n) wcsncmp((s1),(s2),(n))
|
||||
#define strncpyW(s1,s2,n) wcsncpy((s1),(s2),(n))
|
||||
#define strcmpW(s1,s2) wcscmp((s1),(s2))
|
||||
#define strcmpiW(s1,s2) _wcsicmp((s1),(s2))
|
||||
#define strncmpiW(s1,s2,n) _wcsnicmp((s1),(s2),(n))
|
||||
#define strtoulW(s1,s2,b) wcstoul((s1),(s2),(b))
|
||||
#define strspnW(str, accept) wcsspn((str),(accept))
|
||||
#define strpbrkW(str, accept) wcspbrk((str),(accept))
|
||||
#define tolowerW(n) towlower((n))
|
||||
#define toupperW(n) towupper((n))
|
||||
#define islowerW(n) iswlower((n))
|
||||
|
@ -51,10 +51,10 @@
|
|||
#define isxdigitW(n) iswxdigit((n))
|
||||
#define isspaceW(n) iswspace((n))
|
||||
#define iscntrlW(n) iswcntrl((n))
|
||||
#define atoiW(s) _wtoi((const wchar_t *)(s))
|
||||
#define atolW(s) _wtol((const wchar_t *)(s))
|
||||
#define strlwrW(s) _wcslwr((wchar_t *)(s))
|
||||
#define struprW(s) _wcsupr((wchar_t *)(s))
|
||||
#define atoiW(s) _wtoi((s))
|
||||
#define atolW(s) _wtol((s))
|
||||
#define strlwrW(s) _wcslwr((s))
|
||||
#define struprW(s) _wcsupr((s))
|
||||
#define sprintfW swprintf
|
||||
#define vsprintfW vswprintf
|
||||
#define snprintfW _snwprintf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue