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
027c7a1f
Commit
027c7a1f
authored
Jul 19, 2001
by
Patrik Stridvall
Committed by
Alexandre Julliard
Jul 19, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reorganisation and a few bug fixes.
parent
822429ad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
35 deletions
+25
-35
winapi_extract
tools/winapi/winapi_extract
+1
-1
shell32.api
tools/winapi_check/win32/shell32.api
+0
-2
user32.api
tools/winapi_check/win32/user32.api
+2
-1
winapi_check
tools/winapi_check/winapi_check
+22
-31
No files found.
tools/winapi/winapi_extract
View file @
027c7a1f
...
...
@@ -10,7 +10,7 @@ BEGIN {
}
use
config
qw(
&file_type &file
_skip &files_skip
&get_spec_files
&file_type &file
s_skip &files_filter
&get_spec_files
$current_dir $wine_dir $winapi_dir $winapi_check_dir
)
;
use
modules
;
...
...
tools/winapi_check/win32/shell32.api
View file @
027c7a1f
...
...
@@ -38,7 +38,6 @@ HWND *
IShellFolder **
IStream *
ITEMIDLIST *
IUnknown *
LPBROWSEINFOA
LPBYTE
LPCITEMIDLIST
...
...
@@ -79,7 +78,6 @@ LPVOID *
LPWORD
LPWSTR *
PAPPBARDATA
PLONG
PNOTIFYICONDATAA
PNOTIFYICONDATAW
POINT *
...
...
tools/winapi_check/win32/user32.api
View file @
027c7a1f
...
...
@@ -38,6 +38,7 @@ LPARAM
LRESULT
SHORT
UINT
ULONG_PTR
WCHAR
WORD
WPARAM
...
...
@@ -70,7 +71,6 @@ COLORREF *
DWORD *
DLGPROC
DRAWSTATEPROC
FARPROC
GRAYSTRINGPROC
HANDLE *
HICON *
...
...
@@ -127,6 +127,7 @@ PVOID
RECT *
SCROLLINFO *
SECURITY_QUALITY_OF_SERVICE *
SENDASYNCPROC
TIMERPROC
UINT *
WINDOWPLACEMENT *
...
...
tools/winapi_check/winapi_check
View file @
027c7a1f
...
...
@@ -180,8 +180,7 @@ my %type_found = ();
foreach
my
$file
(
@c_files
)
{
my
%
functions
=
();
my
@includes
=
();
my
%
needed_includes
=
();
my
%
includes
=
();
my
$file_module16
=
$modules
->
allowed_modules_in_file
(
"$current_dir/$file"
);
my
$file_module32
=
$modules
->
allowed_modules_in_file
(
"$current_dir/$file"
);
...
...
@@ -241,8 +240,14 @@ foreach my $file (@c_files) {
}
}
if
(
defined
(
$declared_function
))
{
$needed_includes
{
$declared_function
->
file
}
++
;
if
(
$options
->
headers_needed
&&
defined
(
$declared_function
))
{
my
$needed_include
=
$declared_function
->
file
;
if
(
!
defined
(
$includes
{
$needed_include
}))
{
my
$header
=
$needed_include
;
$header
=~
s%^(include|$file_dir)/%%
;
$output
->
write
(
"prototype not included: #include \"$header\" is needed\n"
);
}
}
if
(
1
)
{
...
...
@@ -399,21 +404,29 @@ foreach my $file (@c_files) {
}
if
(
defined
(
$header
))
{
my
$include
;
if
(
-
e
"$wine_dir/include/$header"
)
{
push
@includes
,
"include/$header"
;
$include
=
"include/$header"
;
}
elsif
(
-
e
"$file_dir/$header"
)
{
push
@includes
,
"$file_dir/$header"
;
$include
=
"$file_dir/$header"
;
}
elsif
(
-
e
"$file_dir/../$header"
)
{
if
(
$file_dir
=~
m%^(.*?)/[^/]+$%
)
{
push
@includes
,
"$1/$header"
;
$include
=
"$1/$header"
;
}
else
{
push
@includes
,
"$header"
;
$include
=
"$header"
;
}
}
elsif
(
$header
eq
"controls.h"
)
{
# FIXME: Kludge
push
@includes
,
"dlls/user/controls.h"
;
$include
=
"dlls/user/controls.h"
;
}
elsif
(
$check_local
)
{
$output
->
write
(
"$file: #include \"$header\": file not found\n"
);
}
if
(
defined
(
$include
))
{
$includes
{
$include
}
++
;
foreach
my
$include
(
keys
(
%
{
$include2info
{
$include
}{
includes
}}))
{
$includes
{
$include
}
++
;
}
}
}
if
(
$check_protection
&&
$header
)
{
...
...
@@ -495,28 +508,6 @@ foreach my $file (@c_files) {
}
}
if
(
$options
->
headers_needed
)
{
my
%
includes2
;
foreach
my
$include
(
@includes
)
{
$includes2
{
$include
}
++
;
foreach
my
$include
(
keys
(
%
{
$include2info
{
$include
}{
includes
}}))
{
$includes2
{
$include
}
++
;
}
}
foreach
my
$needed_include
(
sort
(
keys
(
%
needed_includes
)))
{
my
$found
=
0
;
foreach
my
$include
(
sort
(
keys
(
%
includes2
)))
{
if
(
$needed_include
eq
$include
)
{
$found
=
1
;
}
}
if
(
!
$found
)
{
$output
->
write
(
"$file: file '$needed_include' needed but not included\n"
);
}
}
}
winapi_local::
check_file
$options
,
$output
,
$file
,
\%
functions
;
}
...
...
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