[PATCH] d3dcompiler_43/tests: Avoid using GCC's typeof extension
Dmitry Timoshkov
dmitry at baikal.ru
Wed Sep 19 23:38:26 CDT 2018
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.
--
Dmitry.
More information about the wine-devel
mailing list