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
3a868e06
Commit
3a868e06
authored
Apr 20, 2005
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 20, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to clarify the 'no translation defined' error.
Remove an unused variable.
parent
ae8c0ab5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
winapi_fixup_documentation.pm
tools/winapi/winapi_fixup_documentation.pm
+1
-1
modules.pm
tools/winapi_check/modules.pm
+0
-1
winapi_local.pm
tools/winapi_check/winapi_local.pm
+2
-2
No files found.
tools/winapi/winapi_fixup_documentation.pm
View file @
3a868e06
...
@@ -131,7 +131,7 @@ sub fixup_documentation($$) {
...
@@ -131,7 +131,7 @@ sub fixup_documentation($$) {
my
$type
=
$_
;
my
$type
=
$_
;
my
$kind
;
my
$kind
;
if
(
$type
ne
"..."
&&
!
defined
(
$kind
=
$winapi
->
translate_argument
(
$type
)))
{
if
(
$type
ne
"..."
&&
!
defined
(
$kind
=
$winapi
->
translate_argument
(
$type
)))
{
$output
->
write
(
"no translation defined: "
.
$type
.
"\n"
);
$output
->
write
(
"no
win*.api
translation defined: "
.
$type
.
"\n"
);
}
}
# FIXME: Kludge
# FIXME: Kludge
...
...
tools/winapi_check/modules.pm
View file @
3a868e06
...
@@ -329,7 +329,6 @@ sub complete_modules($$) {
...
@@ -329,7 +329,6 @@ sub complete_modules($$) {
sub
global_report
($)
{
sub
global_report
($)
{
my
$self
=
shift
;
my
$self
=
shift
;
my
$dir2spec_file
=
\%
{
$self
->
{
DIR2SPEC_FILE
}};
my
$module2spec_file
=
\%
{
$self
->
{
MODULE2SPEC_FILE
}};
my
$module2spec_file
=
\%
{
$self
->
{
MODULE2SPEC_FILE
}};
my
$used_module_dirs
=
\%
{
$self
->
{
USED_MODULE_DIRS
}};
my
$used_module_dirs
=
\%
{
$self
->
{
USED_MODULE_DIRS
}};
...
...
tools/winapi_check/winapi_local.pm
View file @
3a868e06
...
@@ -61,7 +61,7 @@ sub _check_function($$$$$$) {
...
@@ -61,7 +61,7 @@ sub _check_function($$$$$$) {
if
(
!
defined
(
$implemented_return_kind
=
$winapi
->
translate_argument
(
$return_type
)))
{
if
(
!
defined
(
$implemented_return_kind
=
$winapi
->
translate_argument
(
$return_type
)))
{
$winapi
->
declare_argument
(
$return_type
,
"unknown"
);
$winapi
->
declare_argument
(
$return_type
,
"unknown"
);
if
(
$return_type
ne
""
)
{
if
(
$return_type
ne
""
)
{
$output
->
write
(
"no translation defined: "
.
$return_type
.
"\n"
);
$output
->
write
(
"no
win*.api
translation defined: "
.
$return_type
.
"\n"
);
}
}
}
elsif
(
!
$winapi
->
is_allowed_kind
(
$implemented_return_kind
)
||
}
elsif
(
!
$winapi
->
is_allowed_kind
(
$implemented_return_kind
)
||
!
$winapi
->
is_allowed_type_in_module
(
$return_type
,
$module
))
!
$winapi
->
is_allowed_type_in_module
(
$return_type
,
$module
))
...
@@ -182,7 +182,7 @@ sub _check_function($$$$$$) {
...
@@ -182,7 +182,7 @@ sub _check_function($$$$$$) {
$kind
=
"context86"
;
$kind
=
"context86"
;
}
elsif
(
!
defined
(
$kind
=
$winapi
->
translate_argument
(
$type
)))
{
}
elsif
(
!
defined
(
$kind
=
$winapi
->
translate_argument
(
$type
)))
{
$winapi
->
declare_argument
(
$type
,
"unknown"
);
$winapi
->
declare_argument
(
$type
,
"unknown"
);
$output
->
write
(
"no translation defined: "
.
$type
.
"\n"
);
$output
->
write
(
"no
win*.api
translation defined: "
.
$type
.
"\n"
);
}
elsif
(
!
$winapi
->
is_allowed_kind
(
$kind
)
||
}
elsif
(
!
$winapi
->
is_allowed_kind
(
$kind
)
||
!
$winapi
->
is_allowed_type_in_module
(
$type
,
$module
))
!
$winapi
->
is_allowed_type_in_module
(
$type
,
$module
))
{
{
...
...
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