Re:What is your favorite C programming trick? (2009)
by segfaultbuserr on Sunday November 22, 2020 @11:29AM
(#25178699)
I've tried something similar previously.
Then I could invoke the function
by calling,
And you could even,
Like magic. In other words, how do you pretend that you have syntax-level OOP in C... On retrospect, the macro could reduce readability, writing the argument explicitly may be better.
[ Parent
| on HN ]