widl: Create the correct variable type for parameters with more than one level of indirection.

This commit is contained in:
Robert Shearman 2006-03-31 12:49:57 +01:00 committed by Alexandre Julliard
parent 27c3222715
commit d82bb4ade9
1 changed files with 3 additions and 0 deletions

View File

@ -108,8 +108,11 @@ static void declare_args(const func_t *func)
if (!in_attr && !is_attr(var->attrs, ATTR_STRING))
{
int indirection;
print_server("");
write_type(server, var->type, NULL, var->tname);
for (indirection = 0; indirection < var->ptr_level - 1; indirection++)
fprintf(server, "*");
fprintf(server, " _W%u;\n", i++);
}