widl: Create the correct variable type for parameters with more than one level of indirection.
This commit is contained in:
parent
27c3222715
commit
d82bb4ade9
|
@ -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++);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue