hhctrl: Add the WebBrowser implementation
Alexandre Julliard
julliard at winehq.org
Wed Jul 27 05:40:15 CDT 2005
"Dmitry Timoshkov" <dmitry at baikal.ru> writes:
> "James Hawkins" <truiken at gmail.com> wrote:
>
> > +#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
>
> IMO using 'const' before the type looks more natural. Also adding 'const'
> to all type conversions wouldn't hurt:
>
> const impl* This = (const impl*)((const char*)(iface) - offsetof(impl,field))
That means something completely different. 'const impl* This' and
'impl* const This' are not the same thing.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list