Commit e7134bd4 authored by Eric Kohl's avatar Eric Kohl Committed by Alexandre Julliard

widl: Implement support for unique pointers to arrays.

parent 58c61b56
......@@ -1769,8 +1769,13 @@ void write_remoting_arguments(FILE *file, int indent, const func_t *func,
print_file(file, indent, "_StubMsg.pfnFree(%s);\n", var->name);
}
else if (phase != PHASE_FREE)
{
if (pointer_type == RPC_FC_UP)
print_phase_function(file, indent, "Pointer", phase, var->name, *type_offset);
else
print_phase_function(file, indent, array_type, phase, var->name, *type_offset + 4);
}
}
else if (var->ptr_level == 0 && is_base_type(type->type))
{
print_phase_basetype(file, indent, phase, pass, var, var->name);
......
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