From: Dmitry Timoshkov Subject: Re: [PATCH] d3dcompiler_43/tests: Avoid using GCC's typeof extension Message-Id: <20180920123826.704ba6139e0170d2aa187244@baikal.ru> Date: Thu, 20 Sep 2018 12:38:26 +0800 In-Reply-To: <20180920043051.4897-2-alexhenrie24@gmail.com> References: <20180920043051.4897-1-alexhenrie24@gmail.com> <20180920043051.4897-2-alexhenrie24@gmail.com> Alex Henrie 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.