Hi all
I came from a different language where you could have a macro like this:
mac_func1 macro &a, &b
some definitions...
which when you do
rc = mac_func1 parm1, parm2
will translate to
rc = func1 (1, parm1, parm2)
-------
in C I can do
#define mac_func1 (parm1, parm2) func1 (1, parm1, parm2)
however, if you do
rc = mac_func1 (myparm1, myparm2)
The compiler will yell about parm1 and parm2 not defined
Is there a way in C to virtualize the signature?
Thanks all
Ze'ev Atlas