Added memicmpW.
This commit is contained in:
parent
6b1a93114a
commit
5333206978
|
@ -86,6 +86,7 @@ extern int wine_fold_string( int flags, const WCHAR *src, int srclen , WCHAR *ds
|
|||
|
||||
extern int strcmpiW( const WCHAR *str1, const WCHAR *str2 );
|
||||
extern int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n );
|
||||
extern int memicmpW( const WCHAR *str1, const WCHAR *str2, int n );
|
||||
extern WCHAR *strstrW( const WCHAR *str, const WCHAR *sub );
|
||||
extern long int strtolW( const WCHAR *nptr, WCHAR **endptr, int base );
|
||||
extern unsigned long int strtoulW( const WCHAR *nptr, WCHAR **endptr, int base );
|
||||
|
|
|
@ -42,6 +42,14 @@ int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n )
|
|||
return ret;
|
||||
}
|
||||
|
||||
int memicmpW( const WCHAR *str1, const WCHAR *str2, int n )
|
||||
{
|
||||
int ret = 0;
|
||||
for ( ; n > 0; n--, str1++, str2++)
|
||||
if ((ret = tolowerW(*str1) - tolowerW(*str2))) break;
|
||||
return ret;
|
||||
}
|
||||
|
||||
WCHAR *strstrW( const WCHAR *str, const WCHAR *sub )
|
||||
{
|
||||
while (*str)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
LIBRARY libwine_unicode.dll
|
||||
|
||||
EXPORTS
|
||||
memicmpW
|
||||
snprintfW
|
||||
sprintfW
|
||||
strcmpiW
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
WINE_1.0
|
||||
{
|
||||
global:
|
||||
memicmpW;
|
||||
snprintfW;
|
||||
sprintfW;
|
||||
strcmpiW;
|
||||
|
|
Loading…
Reference in New Issue