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
3ec771a2
Commit
3ec771a2
authored
Mar 31, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Mar 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Support references in type_memsize.
parent
3db71d9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
typegen.c
tools/widl/typegen.c
+4
-1
No files found.
tools/widl/typegen.c
View file @
3ec771a2
...
...
@@ -525,6 +525,9 @@ static size_t type_memsize(const type_t *t, int ptr_level, const expr_t *array)
if
(
ptr_level
)
return
sizeof
(
void
*
);
if
(
type_has_ref
(
t
))
return
type_memsize
(
t
->
ref
,
0
/* FIXME */
,
NULL
);
switch
(
t
->
type
)
{
case
RPC_FC_BYTE
:
...
...
@@ -561,7 +564,7 @@ static size_t type_memsize(const type_t *t, int ptr_level, const expr_t *array)
size
=
fields_memsize
(
t
->
fields
);
break
;
default:
error
(
"type_memsize: Unknown type %d"
,
t
->
type
);
error
(
"type_memsize: Unknown type %d
\n
"
,
t
->
type
);
size
=
0
;
}
...
...
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