Wave Dictionary: Difference between revisions
Content added Content deleted
m (Forgot about flags field) |
|||
Line 53: | 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; |
uint32_t flags; |
||
}; |
}; |