26 Jul
2022
26 Jul
'22
2:55 a.m.
在 2022/7/25 23:25, Jacek Caban 写道:
I think my preferred solution is 2 (or 2b I guess). I'm planning to send the attached patch to winehq (since we need to sync widl from there), but I'd like to hear some feedback from the mingw-w64 project first.
FWIW, the patch seems fine to me.
If this function should be callable from C, then `__inline__` should be preferred, for compatibility with C89... or is it pure C++? In practice, I think `static __inline__` suffices almost everywhere. -- Best regards, LIU Hao