Module: wine Branch: master Commit: d885244148f7cce6f67832f9c724032be6e8dcc9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d885244148f7cce6f67832f9c7...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Jan 24 20:10:07 2007 +0100
widl: Store the interface id in _StubMsg.MaxCount for iid_is pointers.
---
tools/widl/typegen.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 9944b07..f350aaa 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -1956,6 +1956,9 @@ void write_remoting_arguments(FILE *file } else { + 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->name, *type_offset); } }