[PATCH] x3daudio: fix lib exports

Nikolay Sivov bunglehead at gmail.com
Fri Sep 27 05:41:51 CDT 2019


On Fri, Sep 27, 2019 at 10:48 AM Rafał Mużyło <galtgendo at o2.pl> wrote:

> On Fri, Sep 27, 2019 at 09:54:44AM +0300, Nikolay Sivov wrote:
> > Hi, Rafał.
> >
> > Thanks for the patch. I think there is at least two issues with it - on
> > Windows only 32-bit modules use decorated names, 64-bit ones do not. We
> > need to do the same. Another issue is that you change to stdcall for all
> > versions, and according to recent SDK at least version 1.7 is using
> cdecl.
> > I suspect you should switch to stdcall only for 0,1,2 versions (if
> testing
> > confirms that).
>
> OK.
> First is might be a significant problem - I'm not sure if spec file
> syntax allows for diferent values for x86 and x64. Where is it
> documented anyway ?
>

It allows that, msvcp* is a good example where names are arch-dependent. I
don't know if it's documented.


>
> As for the second, are you sure ? I haven't located those SDKs, but I
> did google 1.1 and 1.7 versions of that header and *both* were stdcals.
>

Headers I have from 10.0.17763.0 have those as STDAPIVCALLTYPE, which is
cdecl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190927/5bbc7c72/attachment.htm>


More information about the wine-devel mailing list