Commit d82bb4ad authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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

parent 27c32227
......@@ -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++);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment