widl: Implement support for unique pointers to arrays.
This commit is contained in:
parent
58c61b5615
commit
e7134bd4cd
|
@ -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);
|
print_file(file, indent, "_StubMsg.pfnFree(%s);\n", var->name);
|
||||||
}
|
}
|
||||||
else if (phase != PHASE_FREE)
|
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);
|
print_phase_function(file, indent, array_type, phase, var->name, *type_offset + 4);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (var->ptr_level == 0 && is_base_type(type->type))
|
else if (var->ptr_level == 0 && is_base_type(type->type))
|
||||||
{
|
{
|
||||||
print_phase_basetype(file, indent, phase, pass, var, var->name);
|
print_phase_basetype(file, indent, phase, pass, var, var->name);
|
||||||
|
|
Loading…
Reference in New Issue