Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
51e71734
Commit
51e71734
authored
Sep 12, 2013
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Fix compilation on systems that don't support nameless unions.
parent
3f4ef58b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
typelib.c
dlls/oleaut32/tests/typelib.c
+4
-4
No files found.
dlls/oleaut32/tests/typelib.c
View file @
51e71734
...
...
@@ -4224,8 +4224,8 @@ static void test_SetVarHelpContext(void)
ok
(
pdesc
->
memid
==
0x40000000
,
"got wrong memid: %x
\n
"
,
pdesc
->
memid
);
ok
(
pdesc
->
elemdescVar
.
tdesc
.
vt
==
VT_INT
,
"got wrong vardesc type: %u
\n
"
,
pdesc
->
elemdescVar
.
tdesc
.
vt
);
ok
(
pdesc
->
varkind
==
VAR_CONST
,
"got wrong varkind: %u
\n
"
,
pdesc
->
varkind
);
ok
(
V_VT
(
U
(
pdesc
)
->
lpvarValue
)
==
VT_INT
,
"got wrong value type: %u
\n
"
,
V_VT
(
U
(
pdesc
)
->
lpvarValue
));
ok
(
V_INT
(
U
(
pdesc
)
->
lpvarValue
)
==
1
,
"got wrong value: 0x%x
\n
"
,
V_INT
(
U
(
pdesc
)
->
lpvarValue
));
ok
(
V_VT
(
U
(
*
pdesc
).
lpvarValue
)
==
VT_INT
,
"got wrong value type: %u
\n
"
,
V_VT
(
U
(
*
pdesc
).
lpvarValue
));
ok
(
V_INT
(
U
(
*
pdesc
).
lpvarValue
)
==
1
,
"got wrong value: 0x%x
\n
"
,
V_INT
(
U
(
*
pdesc
).
lpvarValue
));
hr
=
ITypeInfo_GetDocumentation
(
ti
,
pdesc
->
memid
,
NULL
,
NULL
,
&
ctx
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
...
...
@@ -4409,8 +4409,8 @@ static void test_SetVarDocString(void)
ok
(
pdesc
->
memid
==
0x40000000
,
"got wrong memid: %x
\n
"
,
pdesc
->
memid
);
ok
(
pdesc
->
elemdescVar
.
tdesc
.
vt
==
VT_INT
,
"got wrong vardesc type: %u
\n
"
,
pdesc
->
elemdescVar
.
tdesc
.
vt
);
ok
(
pdesc
->
varkind
==
VAR_CONST
,
"got wrong varkind: %u
\n
"
,
pdesc
->
varkind
);
ok
(
V_VT
(
U
(
pdesc
)
->
lpvarValue
)
==
VT_INT
,
"got wrong value type: %u
\n
"
,
V_VT
(
U
(
pdesc
)
->
lpvarValue
));
ok
(
V_INT
(
U
(
pdesc
)
->
lpvarValue
)
==
1
,
"got wrong value: 0x%x
\n
"
,
V_INT
(
U
(
pdesc
)
->
lpvarValue
));
ok
(
V_VT
(
U
(
*
pdesc
).
lpvarValue
)
==
VT_INT
,
"got wrong value type: %u
\n
"
,
V_VT
(
U
(
*
pdesc
).
lpvarValue
));
ok
(
V_INT
(
U
(
*
pdesc
).
lpvarValue
)
==
1
,
"got wrong value: 0x%x
\n
"
,
V_INT
(
U
(
*
pdesc
).
lpvarValue
));
hr
=
ITypeInfo_GetDocumentation
(
ti
,
pdesc
->
memid
,
&
namestr
,
&
docstr
,
NULL
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
...
...
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