On 9/27/22 22:48, Zebediah Figura wrote:
Maybe we could also define the macro only when `WIDL_C_INLINE_WRAPPERS` is defined.
Sure.
It turns out this part is not trivial, since we define WIDL_C_INLINE_WRAPPERS in the middle of the idl in unknwn.idl. Since it seems less ugly to define __WIDL_INLINE near the top always, and there doesn't seem to be any harm in always defining it, I've left that aspect of the patch alone for now.