Is there a way to make C macros keyword agnostic?
Posted
by Dragos Toader
on Stack Overflow
See other posts from Stack Overflow
or by Dragos Toader
Published on 2010-04-27T21:02:45Z
Indexed on
2010/04/27
21:03 UTC
Read the original article
Hit count: 307
Is there a way to concatenate keywords in a macro and get
C to behave in a more dynamic fashion as in:
#define macro(fun,ction,var,iable) function(variable)
I know this kind of thing exists in other languages.
© Stack Overflow or respective owner