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
98de3950
Commit
98de3950
authored
Nov 21, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Use INT64 instead of __int64 in generated headers.
parent
a717d2d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
header.c
tools/widl/header.c
+7
-1
No files found.
tools/widl/header.c
View file @
98de3950
...
...
@@ -254,6 +254,7 @@ void write_type_left(FILE *h, type_t *t, int declonly)
break
;
case
TYPE_BASIC
:
if
(
type_basic_get_type
(
t
)
!=
TYPE_BASIC_INT32
&&
type_basic_get_type
(
t
)
!=
TYPE_BASIC_INT64
&&
type_basic_get_type
(
t
)
!=
TYPE_BASIC_HYPER
)
{
if
(
type_basic_get_sign
(
t
)
<
0
)
fprintf
(
h
,
"signed "
);
...
...
@@ -264,7 +265,6 @@ void write_type_left(FILE *h, type_t *t, int declonly)
case
TYPE_BASIC_INT8
:
fprintf
(
h
,
"small"
);
break
;
case
TYPE_BASIC_INT16
:
fprintf
(
h
,
"short"
);
break
;
case
TYPE_BASIC_INT
:
fprintf
(
h
,
"int"
);
break
;
case
TYPE_BASIC_INT64
:
fprintf
(
h
,
"__int64"
);
break
;
case
TYPE_BASIC_INT3264
:
fprintf
(
h
,
"__int3264"
);
break
;
case
TYPE_BASIC_BYTE
:
fprintf
(
h
,
"byte"
);
break
;
case
TYPE_BASIC_CHAR
:
fprintf
(
h
,
"char"
);
break
;
...
...
@@ -279,6 +279,12 @@ void write_type_left(FILE *h, type_t *t, int declonly)
else
fprintf
(
h
,
"LONG"
);
break
;
case
TYPE_BASIC_INT64
:
if
(
type_basic_get_sign
(
t
)
>
0
)
fprintf
(
h
,
"UINT64"
);
else
fprintf
(
h
,
"INT64"
);
break
;
case
TYPE_BASIC_HYPER
:
if
(
type_basic_get_sign
(
t
)
>
0
)
fprintf
(
h
,
"MIDL_uhyper"
);
...
...
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