Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
53332069
Commit
53332069
authored
Apr 02, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added memicmpW.
parent
6b1a9311
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
0 deletions
+11
-0
unicode.h
include/wine/unicode.h
+1
-0
string.c
libs/unicode/string.c
+8
-0
wine_unicode.def
libs/unicode/wine_unicode.def
+1
-0
wine_unicode.map
libs/unicode/wine_unicode.map
+1
-0
No files found.
include/wine/unicode.h
View file @
53332069
...
...
@@ -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
);
...
...
libs/unicode/string.c
View file @
53332069
...
...
@@ -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
)
...
...
libs/unicode/wine_unicode.def
View file @
53332069
LIBRARY libwine_unicode.dll
EXPORTS
memicmpW
snprintfW
sprintfW
strcmpiW
...
...
libs/unicode/wine_unicode.map
View file @
53332069
WINE_1.0
{
global:
memicmpW;
snprintfW;
sprintfW;
strcmpiW;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment