Rob Shearman : widl: Write out code for initialising out-only client context handles.
Alexandre Julliard
julliard at winehq.org
Mon Jan 21 05:58:54 CST 2008
Module: wine
Branch: master
Commit: 5af6012fbadf5948dfef4502e91fc3e91c476089
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5af6012fbadf5948dfef4502e91fc3e91c476089
Author: Rob Shearman <rob at codeweavers.com>
Date: Sun Jan 20 10:56:15 2008 +0000
widl: Write out code for initialising out-only client context handles.
---
tools/widl/typegen.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index 4fdc84f..0e8a096 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -2724,6 +2724,8 @@ static void write_remoting_arg(FILE *file, int indent, const func_t *func,
{
if (pass == PASS_OUT)
{
+ if (!in_attr)
+ print_file(file, indent, "*%s = 0;\n", var->name);
print_file(file, indent, "NdrClientContextUnmarshall(\n");
print_file(file, indent + 1, "&_StubMsg,\n");
print_file(file, indent + 1, "(NDR_CCONTEXT *)%s,\n", var->name);
More information about the wine-cvs
mailing list