[PATCH] d3dcompiler_43/tests: Avoid using GCC's typeof extension

Alex Henrie alexhenrie24 at gmail.com
Wed Sep 19 23:45:18 CDT 2018


On Wed, Sep 19, 2018 at 10:38 PM Dmitry Timoshkov <dmitry at baikal.ru> wrote:
>
> Alex Henrie <alexhenrie24 at gmail.com> wrote:
>
> > +static HRESULT WINAPI (*pD3DCreateBlob)(SIZE_T, ID3DBlob **);
> > +static HRESULT WINAPI (*pD3DGetBlobPart)(const void *, SIZE_T, D3D_BLOB_PART, UINT, ID3DBlob **);
> > +static HRESULT WINAPI (*pD3DStripShader)(const void *, SIZE_T, UINT, ID3DBlob **);
>
> WINAPI should be inside the brackets to become the part of the pointer
> type, and not a return type, otherwise MSVC won't compile it.

Thanks for catching that. I just sent corrected patches.

-Alex



More information about the wine-devel mailing list