I\'m trying to instrument some code to catch and print error messages. Currently I\'m using a macro somethng like this:
#define my_function(x) \\ switch(functi
there is no need to declare variable if your function is returning something then you can directly get that value. For example:
#define FOO(A) do_something(A)
Here do_something returns some integer. Then you can easily use it like:
int a = FOO(a);