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
e9ca9f19
Commit
e9ca9f19
authored
Jan 12, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Jan 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better type encoding. (Interface ptrs still not there yet).
parent
de95de18
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
typelib.c
tools/widl/typelib.c
+7
-3
typelib.h
tools/widl/typelib.h
+1
-0
write_msft.c
tools/widl/write_msft.c
+0
-0
No files found.
tools/widl/typelib.c
View file @
e9ca9f19
...
...
@@ -95,6 +95,7 @@ unsigned short get_type_vt(type_t *t)
{
unsigned
short
vt
;
chat
(
"get_type_vt: %p type->name %s
\n
"
,
t
,
t
->
name
);
if
(
t
->
name
)
{
vt
=
builtin_vt
(
t
->
name
);
if
(
vt
)
return
vt
;
...
...
@@ -139,13 +140,15 @@ unsigned short get_type_vt(type_t *t)
if
(
match
(
t
->
ref
->
name
,
"IUnknown"
))
return
VT_UNKNOWN
;
}
/* FIXME: should we recurse and add a VT_BYREF? */
/* Or just return VT_PTR? */
if
(
t
->
ref
)
return
get_type_vt
(
t
->
ref
);
if
(
t
->
ref
)
return
VT_PTR
;
error
(
"get_type_vt: unknown-deref-type: %d
\n
"
,
t
->
ref
->
type
);
break
;
case
RPC_FC_STRUCT
:
return
VT_USERDEFINED
;
case
0
:
return
0
;
default:
error
(
"get_type_vt: unknown-type: %d
\n
"
,
t
->
type
);
}
...
...
@@ -156,6 +159,7 @@ unsigned short get_var_vt(var_t *v)
{
unsigned
short
vt
;
chat
(
"get_var_vt: %p tname %s
\n
"
,
v
,
v
->
tname
);
if
(
v
->
tname
)
{
vt
=
builtin_vt
(
v
->
tname
);
if
(
vt
)
return
vt
;
...
...
tools/widl/typelib.h
View file @
e9ca9f19
...
...
@@ -84,6 +84,7 @@ enum VARENUM {
VT_TYPEMASK
=
0xfff
};
extern
unsigned
short
get_type_vt
(
type_t
*
t
);
extern
unsigned
short
get_var_vt
(
var_t
*
v
);
extern
int
create_msft_typelib
(
typelib_t
*
typelib
);
#endif
tools/widl/write_msft.c
View file @
e9ca9f19
This diff is collapsed.
Click to expand it.
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