You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
387 B

// Example of function definitions inside of preprocessor statements
// Config uses more than tested option, uses:
// pp_if_indent_code = true to enable preprocesser indent
// pp_indent_func_def = false to override preprocessor indent for function definitions
int x = 1;
#if (USE_AWESOME_FUNCTIONS)
void MyClass::SomeAwesomeFunction()
{
DoSomethingInAFunction();
}
#endif