Use struct instead of interface in forward declaration

Vincent Béron vberon at mecano.gme.usherb.ca
Thu Dec 1 06:49:16 CST 2005


Le jeu 01/12/2005 à 05:23, Alexandre Julliard a écrit :
> Vincent Béron <vberon at mecano.gme.usherb.ca> writes:
> 
> > Changelog:
> > Use struct instead of interface in forward declaration.
> 
> Why?

Because winapi_check can't parse that statement, and it's the only one
of that type (typdef interface IFoo IFoo) in include/.

And because generated (via widl) such statements use "typedef struct
IBar IBar", see mshtmhst.h right afterthe declaration of IHTMLWindow2.

I guess fixing winapi_check to parse those correctly is in order then?
And widl to generate a typedef interface?

Vincent




More information about the wine-devel mailing list