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
0a2c5b73
Commit
0a2c5b73
authored
Jan 31, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jan 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Support client/server generation for explicit_handle interfaces
(based on a patch by Eric Kohl).
parent
c08e00a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
header.c
tools/widl/header.c
+1
-1
typegen.c
tools/widl/typegen.c
+16
-0
No files found.
tools/widl/header.c
View file @
0a2c5b73
...
...
@@ -509,7 +509,7 @@ var_t* get_explicit_handle_var(func_t* func)
while
(
NEXT_LINK
(
var
))
var
=
NEXT_LINK
(
var
);
while
(
var
)
{
if
(
var
->
type
->
type
==
RPC_FC_
IGNOR
E
)
if
(
var
->
type
->
type
==
RPC_FC_
BIND_PRIMITIV
E
)
return
var
;
var
=
PREV_LINK
(
var
);
...
...
tools/widl/typegen.c
View file @
0a2c5b73
...
...
@@ -936,6 +936,10 @@ static size_t write_typeformatstring_var(FILE *file, int indent,
case
RPC_FC_ENCAPSULATED_UNION
:
case
RPC_FC_NON_ENCAPSULATED_UNION
:
return
write_union_tfs
(
file
,
var
->
attrs
,
type
,
var
->
name
,
typeformat_offset
);
case
RPC_FC_IGNORE
:
case
RPC_FC_BIND_PRIMITIVE
:
/* nothing to do */
return
0
;
default:
error
(
"write_typeformatstring_var: Unsupported type 0x%x for variable %s
\n
"
,
type
->
type
,
var
->
name
);
}
...
...
@@ -1071,6 +1075,10 @@ static unsigned int get_required_buffer_size_type(
*
alignment
=
8
;
return
8
;
case
RPC_FC_IGNORE
:
case
RPC_FC_BIND_PRIMITIVE
:
return
0
;
case
RPC_FC_STRUCT
:
{
size_t
size
=
0
;
...
...
@@ -1268,6 +1276,10 @@ void marshall_arguments(FILE *file, int indent, func_t *func,
case
RPC_FC_BOGUS_STRUCT
:
ndrtype
=
"ComplexStruct"
;
break
;
case
RPC_FC_IGNORE
:
case
RPC_FC_BIND_PRIMITIVE
:
/* no marshalling needed */
continue
;
default:
error
(
"marshall_arguments: Unsupported type: %s (0x%02x, ptr_level: %d)
\n
"
,
var
->
name
,
var
->
type
->
type
,
var
->
ptr_level
);
...
...
@@ -1439,6 +1451,10 @@ void unmarshall_arguments(FILE *file, int indent, func_t *func,
case
RPC_FC_BOGUS_STRUCT
:
ndrtype
=
"ComplexStruct"
;
break
;
case
RPC_FC_IGNORE
:
case
RPC_FC_BIND_PRIMITIVE
:
/* no unmarshalling needed */
continue
;
default:
error
(
"unmarshall_arguments: Unsupported type: %s (0x%02x, ptr_level: %d)
\n
"
,
var
->
name
,
var
->
type
->
type
,
var
->
ptr_level
);
...
...
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