25 Jan
2018
25 Jan
'18
7:14 p.m.
On 2018-01-26 00:30, Henri Verbeet wrote:
On 25 January 2018 at 23:25, Michael Stefaniuc <mstefani(a)winehq.org> wrote:
+#ifdef __cplusplus +extern "C" { +#endif Strictly speaking that's superfluous for internal headers (and more so for ones that only contain static inline functions), I think.
Not sure how relevant this is to people -- but third-party projects that import Wine headers and use C++ (*cough* ReactOS ;]) certainly appreciate this sort of thing, even for internal headers. (That said, I agree it's probably not relevant for inline functions only, though it also doesn't hurt)