Re:How to properly use macros in C
by tomsmeding on Sunday December 10, 2017 @06:20PM
(#15894051)
Sure, they are pretty useless in a function. But that doesn't mean that the author can go and use incorrect language. :P
[ Parent
| on HN ]
Re:How to properly use macros in C
by AstralStorm on Monday December 11, 2017 @02:27AM
(#15895649)
Except when they work properly when fully inlined. (Sprinkle GCC/Clang magic here. It is required to make it work.)
Re:How to properly use macros in C
by tomsmeding on Monday December 11, 2017 @04:53AM
(#15896077)
Is that even possible? It shouldn't be without extensions. (But that seems to be what you're implying anyway.)