In C, I want to add a namespace prefix string (without quotes) to all the functions for which I want this to happen, and later it is easy to change the namespace string.
My approach:
#define NAMESPACE project_name
void NAMESPACE_func_name()
{
}
That should become:
void project_name_func_name()
{
}
Is it possible how? Thank you for your help.
source
share