[2/2] widl: Fix generation of a typelib for winhttp.

Huw Davies huw at codeweavers.com
Fri Oct 2 04:35:51 CDT 2015


On Fri, Oct 02, 2015 at 05:04:55PM +0800, Dmitry Timoshkov wrote:
> Dmitry Timoshkov <dmitry at baikal.ru> wrote:
> > I have tested typedefs with various types and was also wondering about
> > [public] attribute: regardless of its existence midl generates identical
> > typelibs.
> 
> Forgot to mention that [uuid] attribute also changes nothing for the enum
> type generation.
> 

Sure it does.  Try this:

[
  uuid(12345678-0000-0000-0000-000000000000),
]
library foo
{
    typedef [public] int x;
    typedef int y;
    typedef [uuid(12345678-9000-0000-0000-000000000000)] int z;
}

x and z are included, yet y isn't.

Huw.



More information about the wine-devel mailing list