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
96540638
Commit
96540638
authored
Jul 16, 2023
by
Jeff Smith
Committed by
Alexandre Julliard
Jul 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Factor out property_test_data struct.
parent
70dc4a6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
15 deletions
+9
-15
image.c
dlls/gdiplus/tests/image.c
+9
-15
No files found.
dlls/gdiplus/tests/image.c
View file @
96540638
...
...
@@ -3974,13 +3974,15 @@ static const struct tiff_data
};
#include "poppack.h"
struct
property_test_data
{
ULONG
type
,
id
,
length
;
const
BYTE
value
[
32
];
};
static
void
test_tiff_properties
(
void
)
{
static
const
struct
test_data
{
ULONG
type
,
id
,
length
;
const
BYTE
value
[
24
];
}
td
[
31
]
=
static
const
struct
property_test_data
td
[
31
]
=
{
{
PropertyTagTypeShort
,
0xff
,
2
,
{
0
}
},
{
PropertyTagTypeLong
,
0x100
,
4
,
{
1
}
},
...
...
@@ -4098,11 +4100,7 @@ static void test_tiff_properties(void)
static
void
test_GdipGetAllPropertyItems
(
void
)
{
static
const
struct
test_data
{
ULONG
type
,
id
,
length
;
BYTE
value
[
32
];
}
td
[
16
]
=
static
const
struct
property_test_data
td
[
16
]
=
{
{
PropertyTagTypeLong
,
0xfe
,
4
,
{
0
}
},
{
PropertyTagTypeShort
,
0x100
,
2
,
{
1
}
},
...
...
@@ -4842,11 +4840,7 @@ static const BYTE animatedgif[] = {
static
void
test_gif_properties
(
void
)
{
static
const
struct
test_data
{
ULONG
type
,
id
,
length
;
const
BYTE
value
[
13
];
}
td
[]
=
static
const
struct
property_test_data
td
[]
=
{
{
PropertyTagTypeLong
,
PropertyTagFrameDelay
,
8
,
{
10
,
0
,
0
,
0
,
20
,
0
,
0
,
0
}
},
{
PropertyTagTypeASCII
,
PropertyTagExifUserComment
,
13
,
{
'H'
,
'e'
,
'l'
,
'l'
,
'o'
,
' '
,
'W'
,
'o'
,
'r'
,
'l'
,
'd'
,
'!'
,
0
}
},
...
...
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