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
c64d409a
Commit
c64d409a
authored
Jun 25, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Jun 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Get rid of HAVE_OLEAUT32_RECORD in vartype.
parent
7bb58e88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
14 deletions
+5
-14
vartype.c
dlls/oleaut32/tests/vartype.c
+5
-14
No files found.
dlls/oleaut32/tests/vartype.c
View file @
c64d409a
...
...
@@ -53,8 +53,6 @@ static HMODULE hOleaut32;
/* Is a given function exported from oleaut32? */
#define HAVE_FUNC(func) ((void*)GetProcAddress(hOleaut32, #func) != NULL)
/* Have IRecordInfo data type? */
#define HAVE_OLEAUT32_RECORD HAVE_FUNC(SafeArraySetRecordInfo)
/* Have DECIMAL data type with new error checking? */
#define HAVE_OLEAUT32_DECIMAL HAVE_FUNC(VarDecAdd)
/* Have CY data type? */
...
...
@@ -241,10 +239,7 @@ static HMODULE hOleaut32;
MISMATCH(VT_ERROR); \
MISMATCH(VT_UNKNOWN); \
MISMATCH(VT_VARIANT); \
if (HAVE_OLEAUT32_RECORD) \
{ \
MISMATCH(VT_RECORD); \
} \
MISMATCH(VT_RECORD); \
BADVAR(VT_VOID); \
BADVAR(VT_HRESULT); \
BADVAR(VT_SAFEARRAY); \
...
...
@@ -5727,8 +5722,7 @@ static void test_IUnknownChangeTypeEx(void)
}
else
if
(
vt
==
VT_RECORD
)
{
if
(
HAVE_OLEAUT32_RECORD
)
hExpected
=
DISP_E_TYPEMISMATCH
;
hExpected
=
DISP_E_TYPEMISMATCH
;
}
else
if
(
vt
>=
VT_I2
&&
vt
<=
VT_UINT
&&
vt
!=
(
VARTYPE
)
15
)
hExpected
=
DISP_E_TYPEMISMATCH
;
...
...
@@ -5878,8 +5872,7 @@ static void test_ErrorChangeTypeEx(void)
}
else
if
(
vt
==
VT_RECORD
)
{
if
(
HAVE_OLEAUT32_RECORD
)
hExpected
=
DISP_E_TYPEMISMATCH
;
hExpected
=
DISP_E_TYPEMISMATCH
;
}
else
if
(
vt
<=
VT_UINT
&&
vt
!=
(
VARTYPE
)
15
)
hExpected
=
DISP_E_TYPEMISMATCH
;
...
...
@@ -5915,8 +5908,7 @@ static void test_EmptyChangeTypeEx(void)
}
else
if
(
vt
==
VT_RECORD
)
{
if
(
HAVE_OLEAUT32_RECORD
)
hExpected
=
DISP_E_TYPEMISMATCH
;
hExpected
=
DISP_E_TYPEMISMATCH
;
}
else
if
(
vt
==
VT_VARIANT
||
vt
==
VT_DISPATCH
||
vt
==
VT_UNKNOWN
||
vt
==
VT_ERROR
)
...
...
@@ -5961,8 +5953,7 @@ static void test_NullChangeTypeEx(void)
}
else
if
(
vt
==
VT_RECORD
)
{
if
(
HAVE_OLEAUT32_RECORD
)
hExpected
=
DISP_E_TYPEMISMATCH
;
hExpected
=
DISP_E_TYPEMISMATCH
;
}
else
if
(
vt
==
VT_NULL
)
{
...
...
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