[2/2] widl: Fix generation of a typelib for winhttp.
Dmitry Timoshkov
dmitry at baikal.ru
Fri Oct 2 06:10:18 CDT 2015
Huw Davies <huw at codeweavers.com> 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;
> >> }
> >
> > This typelib definition doesn't seem to include an 'enum' type.
>
> Right, but your patch breaks this case (it leads to y being included).
> That will affect stdole2.tlb, for example. I was trying to demonstrate
> the [public] shouldn't just be ignored.
I got the point about [public], thanks. Looks like I have to test this
patch a little bit more.
--
Dmitry.
More information about the wine-devel
mailing list