Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8d7fa4c0
Commit
8d7fa4c0
authored
Feb 07, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Feb 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Write out the correct FC type if the structure has pointers.
parent
4c8370f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
typegen.c
tools/widl/typegen.c
+8
-2
No files found.
tools/widl/typegen.c
View file @
8d7fa4c0
...
@@ -966,7 +966,10 @@ static size_t write_struct_tfs(FILE *file, const type_t *type,
...
@@ -966,7 +966,10 @@ static size_t write_struct_tfs(FILE *file, const type_t *type,
else
pointer_offset
=
0
;
/* silence warning */
else
pointer_offset
=
0
;
/* silence warning */
start_offset
=
*
typestring_offset
;
start_offset
=
*
typestring_offset
;
WRITE_FCTYPE
(
file
,
FC_STRUCT
,
*
typestring_offset
);
if
(
type
->
type
==
RPC_FC_STRUCT
)
WRITE_FCTYPE
(
file
,
FC_STRUCT
,
*
typestring_offset
);
else
WRITE_FCTYPE
(
file
,
FC_PSTRUCT
,
*
typestring_offset
);
/* alignment */
/* alignment */
print_file
(
file
,
2
,
"0x0,
\n
"
);
print_file
(
file
,
2
,
"0x0,
\n
"
);
/* total size */
/* total size */
...
@@ -1013,7 +1016,10 @@ static size_t write_struct_tfs(FILE *file, const type_t *type,
...
@@ -1013,7 +1016,10 @@ static size_t write_struct_tfs(FILE *file, const type_t *type,
else
pointer_offset
=
0
;
/* silence warning */
else
pointer_offset
=
0
;
/* silence warning */
start_offset
=
*
typestring_offset
;
start_offset
=
*
typestring_offset
;
WRITE_FCTYPE
(
file
,
FC_CSTRUCT
,
*
typestring_offset
);
if
(
type
->
type
==
RPC_FC_CSTRUCT
)
WRITE_FCTYPE
(
file
,
FC_CSTRUCT
,
*
typestring_offset
);
else
WRITE_FCTYPE
(
file
,
FC_CPSTRUCT
,
*
typestring_offset
);
/* alignment */
/* alignment */
print_file
(
file
,
2
,
"0x0,
\n
"
);
print_file
(
file
,
2
,
"0x0,
\n
"
);
/* total size */
/* total size */
...
...
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