22 May
2025
22 May
'25
9:48 a.m.
Nikolay Sivov (@nsivov) commented about dlls/windows.ui/weakref.h:
+ +#ifndef __WINE_WEAKREF_H +#define __WINE_WEAKREF_H + +#include "weakreference.h" + +/* The control block is contained in struct weakref so that we don't have to allocate a separate + * struct for it */ +struct weakref +{ + IWeakReference IWeakReference_iface; + IUnknown *object; + /* control block */ + LONG ref_strong; + LONG ref_weak; +}; Do we need this in a header?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8078#note_104187