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
5e3e05e0
Commit
5e3e05e0
authored
Dec 17, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winapi_check: Extend support for '-arch=xxx' in spec files.
parent
cf7c8a24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
winapi.pm
tools/winapi/winapi.pm
+3
-2
No files found.
tools/winapi/winapi.pm
View file @
5e3e05e0
...
@@ -279,9 +279,10 @@ sub parse_spec_file($$) {
...
@@ -279,9 +279,10 @@ sub parse_spec_file($$) {
}
}
my
$ordinal
;
my
$ordinal
;
my
$ARCHES
=
"alpha|i386|powerpc|sparc|x86_64"
;
if
(
/^
(
\
d
+|
@
)
\
s
+
if
(
/^
(
\
d
+|
@
)
\
s
+
(
pascal
|
stdcall
|
cdecl
|
varargs
)
\
s
+
(
pascal
|
stdcall
|
cdecl
|
varargs
)
\
s
+
((?:(?:
-
arch
=
(?:
i386
|
x86_64
)
|-
noname
|-
norelay
|-
i386
|-
ret16
|-
ret64
|-
register
|-
interrupt
|-
private
)
\
s
+
)
*
)(
\
S
+
)
\
s
*\
(
\
s
*
(
.*
?)
\
s
*\
)
\
s
*
(
\
S
*
)
$
/
x
)
((?:(?:
-
arch
=
(?:
$ARCHES
)(?:,(?:
$ARCHES
))
*
|-
noname
|-
norelay
|-
i386
|-
ret16
|-
ret64
|-
register
|-
interrupt
|-
private
)
\
s
+
)
*
)(
\
S
+
)
\
s
*\
(
\
s
*
(
.*
?)
\
s
*\
)
\
s
*
(
\
S
*
)
$
/
x
)
{
{
my
$calling_convention
=
$2
;
my
$calling_convention
=
$2
;
my
$flags
=
$3
;
my
$flags
=
$3
;
...
@@ -396,7 +397,7 @@ sub parse_spec_file($$) {
...
@@ -396,7 +397,7 @@ sub parse_spec_file($$) {
}
}
}
}
}
}
}
elsif
(
/^(\d+|@)\s+stub(?:\s+(-noname|-norelay|-i386|-ret16|-ret64|-private))?\s+(\S+)$/
)
{
}
elsif
(
/^(\d+|@)\s+stub(?:\s+(-
arch=(?:$ARCHES)(?:,(?:$ARCHES))*|-
noname|-norelay|-i386|-ret16|-ret64|-private))?\s+(\S+)$/
)
{
$ordinal
=
$1
;
$ordinal
=
$1
;
my
$flags
=
$2
;
my
$flags
=
$2
;
...
...
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