Skip to content
Snippets Groups Projects
Commit 4050c5f0 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard
Browse files

widl: Always write out pointers if the structure is a pointer structure....

widl: Always write out pointers if the structure is a pointer structure. Pointer are optional for conformant varying structures.
parent 4292776b
No related branches found
No related tags found
No related merge requests found
......@@ -1624,7 +1624,9 @@ static size_t write_struct_tfs(FILE *file, type_t *type,
print_file(file, 2, "NdrFcShort(0x0),\t/* FIXME: pointer stuff */\n");
*tfsoff += 2;
}
else if (has_pointers)
else if ((type->type == RPC_FC_PSTRUCT) ||
(type->type == RPC_FC_CPSTRUCT) ||
(type->type == RPC_FC_CVSTRUCT && has_pointers))
{
print_file(file, 2, "0x%x, /* FC_PP */\n", RPC_FC_PP);
print_file(file, 2, "0x%x, /* FC_PAD */\n", RPC_FC_PAD);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment