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
7aa0f3c4
Commit
7aa0f3c4
authored
Sep 29, 2003
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 29, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update winapi and c2man so they know about -ret16. Remove support for
the obsolete pascal16 and -noimport. Update modules.dat so winapi knows about the new dlls.
parent
4db578fa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
13 deletions
+21
-13
c2man.pl
tools/c2man.pl
+2
-2
winapi.pm
tools/winapi/winapi.pm
+6
-6
modules.dat
tools/winapi_check/modules.dat
+13
-5
No files found.
tools/c2man.pl
View file @
7aa0f3c4
...
...
@@ -252,11 +252,11 @@ sub process_spec_file
for
(
$call_convention
)
{
/^(cdecl|stdcall|varargs|pascal
|pascal16
)$/
/^(cdecl|stdcall|varargs|pascal)$/
&&
do
{
$spec_details
->
{
NUM_FUNCS
}
++
;
last
;
};
/^(variable|equate)$/
&&
do
{
$spec_details
->
{
NUM_VARS
}
++
;
last
;
};
/^(
forward|
extern)$/
/^(extern)$/
&&
do
{
$spec_details
->
{
NUM_FORWARDS
}
++
;
last
;
};
/^stub$/
&&
do
{
$spec_details
->
{
NUM_STUBS
}
++
;
last
;
};
if
(
$opt_verbose
>
0
)
...
...
tools/winapi/winapi.pm
View file @
7aa0f3c4
...
...
@@ -49,10 +49,10 @@ sub import {
my
@spec_files16
=
$modules
->
allowed_spec_files16
;
$win16api
=
'winapi'
->
new
(
"win16"
,
\
@spec_files16
);
my
@spec_files32
=
$modules
->
allowed_spec_files32
;
$win32api
=
'winapi'
->
new
(
"win32"
,
\
@spec_files32
);
@winapis
=
(
$win16api
,
$win32api
);
for
my
$internal_name
(
$win32api
->
all_internal_functions
)
{
...
...
@@ -270,8 +270,8 @@ sub parse_spec_file {
my
$ordinal
;
if
(
/^
(
\
d
+|
@
)
\
s
+
(
pascal
|
pascal16
|
stdcall
|
cdecl
|
varargs
)
\
s
+
((?:(?:
-
no
import
|-
noname
|-
norelay
|-
i38
6
|-
ret64
|-
register
|-
interrupt
|-
private
)
\
s
+
)
*
)(
\
S
+
)
\
s
*\
(
\
s
*
(
.*
?)
\
s
*\
)
\
s
*
(
\
S
*
)
$
/
x
)
(
pascal
|
stdcall
|
cdecl
|
varargs
)
\
s
+
((?:(?:
-
no
name
|-
norelay
|-
i386
|-
ret1
6
|-
ret64
|-
register
|-
interrupt
|-
private
)
\
s
+
)
*
)(
\
S
+
)
\
s
*\
(
\
s
*
(
.*
?)
\
s
*\
)
\
s
*
(
\
S
*
)
$
/
x
)
{
my
$calling_convention
=
$2
;
my
$flags
=
$3
;
...
...
@@ -380,7 +380,7 @@ sub parse_spec_file {
}
}
}
}
elsif
(
/^(\d+|@)\s+stub(?:\s+(-no
import|-noname|-norelay|-i38
6|-ret64|-private))?\s+(\S+)$/
)
{
}
elsif
(
/^(\d+|@)\s+stub(?:\s+(-no
name|-norelay|-i386|-ret1
6|-ret64|-private))?\s+(\S+)$/
)
{
$ordinal
=
$1
;
my
$flags
=
$2
;
...
...
@@ -429,7 +429,7 @@ sub parse_spec_file {
}
else
{
# if($$function_external_module{$external_name} !~ /$module/) {
$$function_external_module
{
$external_name
}
.=
" & $module"
;
}
}
elsif
(
/^(\d+|@)\s+extern(?:\s+(?:-no
import|-norelay|-i38
6|-ret64))?\s+(\S+)\s*(\S*)$/
)
{
}
elsif
(
/^(\d+|@)\s+extern(?:\s+(?:-no
relay|-i386|-ret1
6|-ret64))?\s+(\S+)\s*(\S*)$/
)
{
$ordinal
=
$1
;
my
$external_name
=
$2
;
...
...
tools/winapi_check/modules.dat
View file @
7aa0f3c4
...
...
@@ -193,7 +193,7 @@ dlls/imm32
dlls/iphlpapi
% dlls/kernel/comm.spec
% dlls/kernel/comm.
drv.
spec
% dlls/kernel/krnl386.exe.spec
...
...
@@ -255,7 +255,7 @@ dlls/mswsock
dlls/kernel
% dlls/kernel/system.spec
% dlls/kernel/system.
drv.
spec
memory
misc
...
...
@@ -315,6 +315,14 @@ dlls/msacm/msg711
dlls/msacm/winemp3
% dlls/mshtml/mshtml.spec
dlls/mshtml
% dlls/msi/msi.spec
dlls/msi
% dlls/msnet32/msnet32.spec
dlls/msnet32
...
...
@@ -496,17 +504,17 @@ dlls/urlmon
dlls/user/dde
% dlls/user/display.spec
% dlls/user/display.
drv.
spec
dlls/user
objects
% dlls/user/keyboard.spec
% dlls/user/keyboard.
drv.
spec
dlls/user
windows
% dlls/user/mouse.spec
% dlls/user/mouse.
drv.
spec
dlls/user
...
...
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