May 16, 2026
11:24 a.m.
On Tue May 12 07:07:04 2026 +0000, Rémi Bernon wrote:
Seems like this could deserve a helper to create a vector (or just vector view) from an existing buffer, instead of appending vector elements one by one after. Or at least I think you could use `IVector_ReplaceAll`? The issue is that the final `IVectorView` contains `IGattDeviceService` obejcts. We'd need to first create a buffer of `IGattDeviceService` pointers first, and then fill it in a loop either way before handing it off to `ReplaceAll`, followed by another loop to free the buffer and release the individual objects.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10865#note_140196