[PATCH 1/5] widl: Introduce an "aggregate_return" function attribute.

Alexandre Julliard julliard at winehq.org
Thu Sep 4 08:27:35 CDT 2014

Henri Verbeet <hverbeet at codeweavers.com> writes:

> For MSVC style handling of aggregate return values. This probably doesn't make
> anyone particularly happy; I'm open to suggestions. It may be possible to do
> this without an attribute, based on the function declaration, but then we'd
> have to figure out how MSVC decides when to use registers and when to use the
> stack for the return value.

The attribute is certainly ugly. Also it seems to me you are doing this
the wrong way around; you don't want to add a return parameter, you want
to avoid one. Check how div() is handled.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list