widl [3/6]: Represent typedefs with easier to use structures

Dan Kegel dank at kegel.com
Tue Aug 29 13:05:49 CDT 2006


On 8/29/06, Dan Hipschman <dsh at linux.ucla.edu> wrote:
> I need to generate names for tagless structs, etc., because my patch changes
> the way typedefs are output in the header file.  Currently,
>
> typedef struct { int x; } foo, bar;
>
> will be output exactly as is in the header (disregarding whitespace changes).
> However, this patch splits the typedefs up like this:
>
> typedef struct { int x; } foo;
> typedef struct ??? bar;
>
> This is why we need the generated names.

I think we might need them anyway; standard C++ is very picky, and requires
tags in more circumstances than one would like.



More information about the wine-devel mailing list