Module: wine Branch: master Commit: 7deb62505cc80c8412e319238351fc0d59810d50 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7deb62505cc80c8412e3192383...
Author: Dan Hipschman dsh@linux.ucla.edu Date: Wed Sep 12 16:08:04 2007 -0700
widl: Use the correct functions for interface pointers in stubs.
---
tools/widl/typegen.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 7d7c134..89d3d60 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -2610,7 +2610,10 @@ void write_remoting_arguments(FILE *file, int indent, const func_t *func, const var_t *iid; if ((iid = get_attrp( var->attrs, ATTR_IIDIS ))) print_file( file, indent, "_StubMsg.MaxCount = (unsigned long)%s;\n", iid->name ); - print_phase_function(file, indent, "Pointer", phase, var, start_offset); + if (var->type->ref->type == RPC_FC_IP) + print_phase_function(file, indent, "InterfacePointer", phase, var, start_offset); + else + print_phase_function(file, indent, "Pointer", phase, var, start_offset); } } fprintf(file, "\n");