06.02.2019, 14:34
Hello, I have a question about macro's.
Is it possible to make a macro that converts a function name to a new name? for example:
Which should be rewritten as:
This is what I tried, but that doesn't really work
Is it possible to make a macro that converts a function name to a new name? for example:
Код:
CONVERT_FUNC_NAME(MyFunction)
Код:
new_MyFunction
Quote:
#define CONVERT_FUNC_NAME(%0) new_%0 |