blob: b01c6bbee8d8610da15dacdc98fd67df01f39975 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// 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
|