I've got the following Macro to define a new function following a special naming scheme:
#define CREATE_HOOK_STUB( func ) void ##func_STUB() { /* some code*/ }
However, the preprocessor always concatenates void
and ##func_STUB
but I obviously want it to preserve the whitespace at that position.
I know that I could just prepend some string to ##func_STUB
, but this is not what I want.
How would I solve this?