[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [PATCH 2/7] widl: Keep const attributes applied to pointers when
From: Robert Shearman <rob () codeweavers ! com>
Date: 2008-04-28 12:34:42
Message-ID: 4815C462.5040806 () codeweavers ! com
[Download RAW message or body]
Alexandre Julliard wrote:
> Robert Shearman <rob@codeweavers.com> writes:
>
>
>> Use an attribute to store the const qualifier for the pointer and type.
>>
>> Allow multiple type-qualifiers to be applied to a type by adding a
>> declaration-specifier rule that encompasses type-qualifiers and types.
>>
>
> This seems to drop the const in some cases, for instance:
>
> --- include/propidl.h.old 2008-04-28 13:52:01.000000000 +0200
> +++ include/propidl.h 2008-04-28 13:52:11.000000000 +0200
> @@ -332,7 +332,7 @@
> virtual HRESULT STDMETHODCALLTYPE WritePropertyNames(
> ULONG cpropid,
> const PROPID rgpropid[],
> - const LPOLESTR rglpwstrName[]) = 0;
> + LPOLESTR rglpwstrName[]) = 0;
>
> virtual HRESULT STDMETHODCALLTYPE DeletePropertyNames(
> ULONG cpropid,
Ok, I'll have to investigate why this is happening. Thanks for spotting it.
--
Rob Shearman
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic