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
b46be0be
Commit
b46be0be
authored
May 06, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winapi: Handle types should be treated as pointers.
parent
b0b8a2fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
generated.c
dlls/ntdll/tests/generated.c
+0
-2
winapi_test
tools/winapi/winapi_test
+2
-2
No files found.
dlls/ntdll/tests/generated.c
View file @
b46be0be
...
...
@@ -2856,7 +2856,6 @@ static void test_pack_HCURSOR(void)
/* HCURSOR */
TEST_TYPE_SIZE
(
HCURSOR
,
4
)
TEST_TYPE_ALIGN
(
HCURSOR
,
4
)
TEST_TYPE_UNSIGNED
(
HCURSOR
)
}
static
void
test_pack_HFILE
(
void
)
...
...
@@ -2893,7 +2892,6 @@ static void test_pack_HMODULE(void)
/* HMODULE */
TEST_TYPE_SIZE
(
HMODULE
,
4
)
TEST_TYPE_ALIGN
(
HMODULE
,
4
)
TEST_TYPE_UNSIGNED
(
HMODULE
)
}
static
void
test_pack_INT
(
void
)
...
...
tools/winapi/winapi_test
View file @
b46be0be
...
...
@@ -220,9 +220,9 @@ sub _find_align_kind_size($) {
$align
=
4
;
$kind
=
"float"
;
$size
=
12
;
}
elsif
(
/^H(?:DC|BITMAP|BRUSH|ICON|INSTANCE|KEY|MENU|METAFILE|
RESULT|
WND)$/
)
{
}
elsif
(
/^H(?:DC|BITMAP|BRUSH|ICON|INSTANCE|KEY|MENU|METAFILE|WND)$/
)
{
$align
=
4
;
$kind
=
"
unsigned
"
;
$kind
=
"
pointer
"
;
$size
=
4
;
}
elsif
(
/^LP(?:BYTE|CSTR|CWSTR|DWORD|STR|VOID|WSTR)$/
)
{
$align
=
4
;
...
...
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