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
a4889012
Commit
a4889012
authored
Feb 02, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Some cosmetic fixes in generated code.
parent
0f2a642d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
client.c
tools/widl/client.c
+1
-1
proxy.c
tools/widl/proxy.c
+5
-5
server.c
tools/widl/server.c
+1
-1
No files found.
tools/widl/client.c
View file @
a4889012
...
...
@@ -233,7 +233,7 @@ static void write_function_stubs(type_t *iface)
print_client
(
"_RetVal = *("
);
write_type
(
client
,
def
->
type
,
def
,
def
->
tname
);
fprintf
(
client
,
" *)_StubMsg.Buffer;
\n
"
);
fprintf
(
client
,
"_StubMsg.Buffer += sizeof("
);
print_client
(
"_StubMsg.Buffer += sizeof("
);
write_type
(
client
,
def
->
type
,
def
,
def
->
tname
);
fprintf
(
client
,
");
\n
"
);
}
...
...
tools/widl/proxy.c
View file @
a4889012
...
...
@@ -326,7 +326,7 @@ static void marshall_copy_arg( var_t *arg )
print_proxy
(
"*("
);
write_type
(
proxy
,
arg
->
type
,
arg
,
arg
->
tname
);
fprintf
(
proxy
,
" *)_StubMsg.Buffer = %s;
\n
"
,
arg
->
name
);
fprintf
(
proxy
,
"_StubMsg.Buffer += sizeof("
);
print_proxy
(
"_StubMsg.Buffer += sizeof("
);
write_type
(
proxy
,
arg
->
type
,
arg
,
arg
->
tname
);
fprintf
(
proxy
,
");
\n
"
);
break
;
...
...
@@ -425,7 +425,7 @@ static void unmarshall_copy_arg( var_t *arg )
print_proxy
(
"%s = *("
,
arg
->
name
);
write_type
(
proxy
,
arg
->
type
,
arg
,
arg
->
tname
);
fprintf
(
proxy
,
" *)_StubMsg.Buffer;
\n
"
);
fprintf
(
proxy
,
"_StubMsg.Buffer += sizeof("
);
print_proxy
(
"_StubMsg.Buffer += sizeof("
);
write_type
(
proxy
,
arg
->
type
,
arg
,
arg
->
tname
);
fprintf
(
proxy
,
");
\n
"
);
break
;
...
...
@@ -604,7 +604,7 @@ static void gen_proxy(type_t *iface, func_t *cur, int idx)
print_proxy
(
"_RetVal = *("
);
write_type
(
proxy
,
def
->
type
,
def
,
def
->
tname
);
fprintf
(
proxy
,
" *)_StubMsg.Buffer;
\n
"
);
fprintf
(
proxy
,
"_StubMsg.Buffer += sizeof("
);
print_proxy
(
"_StubMsg.Buffer += sizeof("
);
write_type
(
proxy
,
def
->
type
,
def
,
def
->
tname
);
fprintf
(
proxy
,
");
\n
"
);
}
...
...
@@ -810,7 +810,7 @@ static void gen_stub(type_t *iface, func_t *cur, const char *cas)
print_proxy
(
"*("
);
write_type
(
proxy
,
def
->
type
,
def
,
def
->
tname
);
fprintf
(
proxy
,
" *)_StubMsg.Buffer = _RetVal;
\n
"
);
fprintf
(
proxy
,
"_StubMsg.Buffer += sizeof("
);
print_proxy
(
"_StubMsg.Buffer += sizeof("
);
write_type
(
proxy
,
def
->
type
,
def
,
def
->
tname
);
fprintf
(
proxy
,
");
\n
"
);
}
...
...
@@ -822,7 +822,7 @@ static void gen_stub(type_t *iface, func_t *cur, const char *cas)
print_proxy
(
"}
\n
"
);
print_proxy
(
"RpcEndFinally
\n
"
);
print_proxy
(
"_Msg->BufferLength =
((long)_StubMsg.Buffer - (long)_Msg->Buffer)
;
\n
"
);
print_proxy
(
"_Msg->BufferLength =
_StubMsg.Buffer - (unsigned char *)_Msg->Buffer
;
\n
"
);
indent
--
;
print_proxy
(
"}
\n
"
);
...
...
tools/widl/server.c
View file @
a4889012
...
...
@@ -306,7 +306,7 @@ static void write_function_stubs(type_t *iface)
print_server
(
"*("
);
write_type
(
server
,
def
->
type
,
def
,
def
->
tname
);
fprintf
(
server
,
" *)_StubMsg.Buffer = _RetVal;
\n
"
);
fprintf
(
server
,
"_StubMsg.Buffer += sizeof("
);
print_server
(
"_StubMsg.Buffer += sizeof("
);
write_type
(
server
,
def
->
type
,
def
,
def
->
tname
);
fprintf
(
server
,
");
\n
"
);
}
...
...
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