9 Jul
2025
9 Jul
'25
8:32 a.m.
On Wed Jul 9 08:25:34 2025 +0000, Hans Leidekker wrote:
This is the standard composition signature: ```HRESULT compose( IInspectable *base, [out] IInspectable **inner, [out, retval] SomeRuntimeClass **ret );``` These parameters are mandatory and midlrt doesn't encode them in the signature, presumably to save space. Extra [in] parameters preceding these parameters are allowed which are encoded in the signature. If they are mandatory I think we should check that they are written like this when parsing composing interfaces, and emit errors if they aren't, before making assumptions about them later on.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8525#note_109281