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
c7398817
Commit
c7398817
authored
Mar 31, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Handle TKIND_ALIAS in more places.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7eb67082
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ndr_typelib.c
dlls/rpcrt4/ndr_typelib.c
+7
-0
No files found.
dlls/rpcrt4/ndr_typelib.c
View file @
c7398817
...
...
@@ -220,6 +220,8 @@ static BOOL type_pointer_is_iface(ITypeInfo *typeinfo, TYPEDESC *tdesc)
||
attr
->
typekind
==
TKIND_DISPATCH
||
attr
->
typekind
==
TKIND_COCLASS
)
ret
=
TRUE
;
else
if
(
attr
->
typekind
==
TKIND_ALIAS
)
ret
=
type_pointer_is_iface
(
refinfo
,
&
attr
->
tdescAlias
);
ITypeInfo_ReleaseTypeAttr
(
refinfo
,
attr
);
ITypeInfo_Release
(
refinfo
);
...
...
@@ -280,6 +282,8 @@ static unsigned char get_array_fc(ITypeInfo *typeinfo, TYPEDESC *desc)
fc
=
FC_LGFARRAY
;
else
if
(
attr
->
typekind
==
TKIND_RECORD
&&
get_struct_fc
(
refinfo
,
attr
)
==
FC_STRUCT
)
fc
=
FC_LGFARRAY
;
else
if
(
attr
->
typekind
==
TKIND_ALIAS
)
fc
=
get_array_fc
(
refinfo
,
&
attr
->
tdescAlias
);
else
fc
=
FC_BOGUS_ARRAY
;
...
...
@@ -493,6 +497,9 @@ static size_t write_type_tfs(ITypeInfo *typeinfo, unsigned char *str,
case
TKIND_RECORD
:
off
=
write_struct_tfs
(
refinfo
,
str
,
len
,
attr
);
break
;
case
TKIND_ALIAS
:
off
=
write_type_tfs
(
refinfo
,
str
,
len
,
&
attr
->
tdescAlias
,
toplevel
,
onstack
);
break
;
default:
FIXME
(
"unhandled kind %u
\n
"
,
attr
->
typekind
);
off
=
*
len
;
...
...
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