Wave Dictionary: Difference between revisions

Undo revision 6019 by Escape209 (talk)
(Undo revision 6019 by Escape209 (talk))
Tag: Undo
Line 53:
}
 
uint32_t flags;
};
</syntaxhighlight>
 
=== Simplified ===
As both members of the anonymous UUID union are of the same type, the above declaration can be simplified slightly to the following:
<syntaxhighlight lang="cpp">
struct RwaUniqueID
{
struct name
{
char* uniqueName;
char* copyName;
}
 
RwaUUID* uuid;
uint32_t flags;
};