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
631fb9b6
Commit
631fb9b6
authored
May 03, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Output relay thunks for stub functions when the arguments are known.
parent
2e6f48b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
spec32.c
tools/winebuild/spec32.c
+12
-1
No files found.
tools/winebuild/spec32.c
View file @
631fb9b6
...
@@ -53,7 +53,18 @@ static inline int needs_relay( const ORDDEF *odp )
...
@@ -53,7 +53,18 @@ static inline int needs_relay( const ORDDEF *odp )
/* skip nonexistent entry points */
/* skip nonexistent entry points */
if
(
!
odp
)
return
0
;
if
(
!
odp
)
return
0
;
/* skip non-functions */
/* skip non-functions */
if
(
odp
->
type
!=
TYPE_STDCALL
&&
odp
->
type
!=
TYPE_CDECL
&&
odp
->
type
!=
TYPE_THISCALL
)
return
0
;
switch
(
odp
->
type
)
{
case
TYPE_STDCALL
:
case
TYPE_CDECL
:
case
TYPE_THISCALL
:
break
;
case
TYPE_STUB
:
if
(
odp
->
u
.
func
.
nb_args
!=
-
1
)
break
;
/* fall through */
default:
return
0
;
}
/* skip norelay and forward entry points */
/* skip norelay and forward entry points */
if
(
odp
->
flags
&
(
FLAG_NORELAY
|
FLAG_FORWARD
))
return
0
;
if
(
odp
->
flags
&
(
FLAG_NORELAY
|
FLAG_FORWARD
))
return
0
;
/* skip register entry points on x86_64 */
/* skip register entry points on x86_64 */
...
...
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