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
bc07b48b
Commit
bc07b48b
authored
Feb 20, 2010
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Feb 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add a strcmpW-equivalent function usable in tests.
parent
2902d809
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
test.h
include/wine/test.h
+8
-0
No files found.
include/wine/test.h
View file @
bc07b48b
...
...
@@ -65,6 +65,14 @@ extern void winetest_wait_child_process( HANDLE process );
extern
const
char
*
wine_dbgstr_wn
(
const
WCHAR
*
str
,
int
n
);
static
inline
const
char
*
wine_dbgstr_w
(
const
WCHAR
*
s
)
{
return
wine_dbgstr_wn
(
s
,
-
1
);
}
/* strcmpW is avaiable for tests compiled under Wine, but not in standalone
* builds under Windows, so we reimplement it under a different name. */
static
inline
int
winetest_strcmpW
(
const
WCHAR
*
str1
,
const
WCHAR
*
str2
)
{
while
(
*
str1
&&
(
*
str1
==
*
str2
))
{
str1
++
;
str2
++
;
}
return
*
str1
-
*
str2
;
}
#ifdef STANDALONE
#define START_TEST(name) \
static void func_##name(void); \
...
...
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