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
33b09d45
Commit
33b09d45
authored
Jun 09, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Jun 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more struct types for TLB generation.
parent
a46a159b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
typelib.c
tools/widl/typelib.c
+5
-1
write_msft.c
tools/widl/write_msft.c
+5
-0
No files found.
tools/widl/typelib.c
View file @
33b09d45
...
...
@@ -148,13 +148,17 @@ unsigned short get_type_vt(type_t *t)
case
RPC_FC_ENUM16
:
case
RPC_FC_STRUCT
:
case
RPC_FC_PSTRUCT
:
case
RPC_FC_CSTRUCT
:
case
RPC_FC_CPSTRUCT
:
case
RPC_FC_CVSTRUCT
:
case
RPC_FC_BOGUS_STRUCT
:
return
VT_USERDEFINED
;
case
0
:
if
(
t
->
attrs
)
return
VT_USERDEFINED
;
return
0
;
default:
error
(
"get_type_vt: unknown
-type: %d
\n
"
,
t
->
type
);
error
(
"get_type_vt: unknown
type: 0x%02x
\n
"
,
t
->
type
);
}
return
0
;
}
...
...
tools/widl/write_msft.c
View file @
33b09d45
...
...
@@ -879,6 +879,11 @@ static int encode_type(
chat
(
"encode_type: trying to ref not added type
\n
"
);
switch
(
type
->
type
)
{
case
RPC_FC_STRUCT
:
case
RPC_FC_PSTRUCT
:
case
RPC_FC_CSTRUCT
:
case
RPC_FC_CPSTRUCT
:
case
RPC_FC_CVSTRUCT
:
case
RPC_FC_BOGUS_STRUCT
:
add_structure_typeinfo
(
typelib
,
type
);
break
;
case
RPC_FC_IP
:
...
...
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