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
13acf062
Commit
13acf062
authored
Oct 21, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 21, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the 'wrong argument count' warning clearer when dealing with long
vs. "long long" issues.
parent
62ec2387
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
winapi_local.pm
tools/winapi_check/winapi_local.pm
+12
-5
No files found.
tools/winapi_check/winapi_local.pm
View file @
13acf062
...
...
@@ -272,20 +272,27 @@ sub _check_function($$$$$$) {
}
}
if
(
$#argument_kinds
!=
$#declared_argument_kinds
&&
$implemented_calling_convention
ne
"asm"
)
if
(
$options
->
argument_count
&&
$implemented_calling_convention
ne
"asm"
)
{
if
(
$options
->
argument_count
)
{
if
(
$#argument_kinds
!=
$#declared_argument_kinds
and
$#argument_types
!=
$#declared_argument_kinds
)
{
$output
->
write
(
"argument count differs: "
.
(
$#argument_
type
s
+
1
)
.
" != "
.
(
$#argument_
kind
s
+
1
)
.
" != "
.
(
$#declared_argument_kinds
+
1
)
.
"\n"
);
}
elsif
(
$#argument_kinds
!=
$#declared_argument_kinds
or
$#argument_types
!=
$#declared_argument_kinds
)
{
$output
->
write
(
"argument count differs: "
.
(
$#argument_kinds
+
1
)
.
"/"
.
(
$#argument_types
+
1
)
.
" != "
.
(
$#declared_argument_kinds
+
1
)
.
" (long vs. long long problem?)\n"
);
}
}
}
if
(
$segmented
&&
$options
->
shared_segmented
&&
$winapi
->
is_shared_internal_function
(
$internal_name
))
{
$output
->
write
(
"function using segmented pointers shared between Win16
och
Win32\n"
);
$output
->
write
(
"function using segmented pointers shared between Win16
and
Win32\n"
);
}
}
...
...
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