Module: wine Branch: master Commit: 717f2bebd816eed88fda2fd6d65bd6eddf5f699c URL: http://source.winehq.org/git/wine.git/?a=commit;h=717f2bebd816eed88fda2fd6d6...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jun 13 20:09:47 2011 +0200
widl: Use the context handle description instead of the pointer for arguments that are pointer to handles.
---
tools/widl/typegen.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index e07769c..e6de531 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -991,6 +991,7 @@ static unsigned char get_parameter_fc( const type_t *type, const attr_list_t *at break; case TGT_CTXT_HANDLE_POINTER: *flags |= IsSimpleRef; + *typestring_offset += 4; /* fall through */ case TGT_CTXT_HANDLE: buffer_size = 20;