[PATCH 1/4] widl: Keep const attributes applied to pointers when writing out the type.

Robert Shearman rob at codeweavers.com
Tue Apr 29 08:42:56 CDT 2008


Alexandre Julliard wrote:
> --- include/d3d10.h.old	2008-04-29 13:38:38.000000000 +0200
> +++ include/d3d10.h	2008-04-29 13:39:08.000000000 +0200
> @@ -3455,12 +3455,12 @@
>      virtual void STDMETHODCALLTYPE VSSetConstantBuffers(
>          UINT StartSlot,
>          UINT NumBuffers,
> -        ID3D10Buffer **ppConstantBuffers) = 0;
> +        ID3D10Buffer **const ppConstantBuffers) = 0;
>  
> It should be "ID3D10Buffer * const *" instead.

That is due to the tree of types being constructed in the wrong order. 
I'll send a fixed patch in due course.

-- 
Rob Shearman




More information about the wine-devel mailing list