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
e4a04835
Commit
e4a04835
authored
Jun 08, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Set a correct fpu parameter mask on 64-bit.
parent
d9cd0d8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
typegen.c
tools/widl/typegen.c
+18
-1
No files found.
tools/widl/typegen.c
View file @
e4a04835
...
@@ -1353,7 +1353,24 @@ static void write_proc_func_header( FILE *file, int indent, const type_t *iface,
...
@@ -1353,7 +1353,24 @@ static void write_proc_func_header( FILE *file, int indent, const type_t *iface,
*
offset
+=
14
;
*
offset
+=
14
;
if
(
pointer_size
==
8
)
if
(
pointer_size
==
8
)
{
{
print_file
(
file
,
indent
,
"NdrFcShort(0x0),
\n
"
);
/* floating point mask */
unsigned
short
pos
=
0
,
fpu_mask
=
0
;
if
(
is_object
(
iface
))
pos
+=
2
;
if
(
args
)
LIST_FOR_EACH_ENTRY
(
var
,
args
,
var_t
,
entry
)
{
if
(
type_get_type
(
var
->
type
)
==
TYPE_BASIC
)
{
switch
(
type_basic_get_type
(
var
->
type
))
{
case
TYPE_BASIC_FLOAT
:
fpu_mask
|=
1
<<
pos
;
break
;
case
TYPE_BASIC_DOUBLE
:
fpu_mask
|=
2
<<
pos
;
break
;
default:
break
;
}
}
pos
+=
2
;
if
(
pos
>=
16
)
break
;
}
print_file
(
file
,
indent
,
"NdrFcShort(0x%x),
\n
"
,
fpu_mask
);
/* floating point mask */
*
offset
+=
2
;
*
offset
+=
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