31 Jul
2025
31 Jul
'25
12:38 p.m.
On Thu Jul 31 10:41:23 2025 +0000, Rémi Bernon wrote:
There's no need to go through `QueryInterface`. Also `GetWeakReference` cannot fail. ```suggestion:-5+0 IWeakReferenceSource_GetWeakReference( &impl->weak_reference_source.IWeakReferenceSource_iface, &weak ); ``` Ah, sure. I thought that we were to assume that even the trivial interfaces we implement should be treated as opaque as thus falliable.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8555#note_111641