[PATCH 7/7] widl: Only register activatable WinRT runtimeclass.

Rémi Bernon rbernon at codeweavers.com
Wed Mar 17 05:36:56 CDT 2021


On 3/15/21 7:45 PM, Rémi Bernon wrote:
> On 3/15/21 7:35 PM, Jacek Caban wrote:
>> On 12.03.2021 12:31, Rémi Bernon wrote:
>>> +        if (!get_attrp(type->attrs, ATTR_ACTIVATABLE))
>>> +        {
>>> +            put_str( indent, "Delete %s\n", format_namespace( 
>>> type->namespace, "", ".", type->name, NULL ) );
>>
>>
>> Is there a reason to actively delete existing keys? It seems to me 
>> that just skipping registration would be better.
>>
>>
>> Thanks,
>>
>> Jacek
>>
> 
> Well we've possibly created some now because widl wasn't doing the right 
> thing, so I thought we should forcefully delete them. There's no reason 
> otherwise.

Well apparently it's not entirely correct anyway, as classes without the 
activatable attribute but with static attribute should be registered as 
well.

I'll send another version (without the delete).
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list