Mark wanted some less verbose function-name macros.
This commit is contained in:
parent
e2a6a94ecf
commit
f68aff1f89
1 changed files with 7 additions and 1 deletions
|
@ -239,4 +239,10 @@ namespace Debug
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} } //LiveSupport and Core namespaces
|
} } //LiveSupport and Core namespaces
|
||||||
#define DEBUG_BLOCK LiveSupport::Core::Debug::Block uniquelyNamedStackAllocatedStandardBlock( __PRETTY_FUNCTION__ );
|
#define DEBUG_BLOCK Debug::Block uniquelyNamedStackAllocatedStandardBlock( __PRETTY_FUNCTION__ );
|
||||||
|
|
||||||
|
/// Standard function announcer
|
||||||
|
#define DEBUG_FUNC_INFO { debug() << "[" __PRETTY_FUNCTION__ "]" << endl; }
|
||||||
|
|
||||||
|
/// Announce a line
|
||||||
|
#define DEBUG_LINE_INFO { debug() << "[" __PRETTY_FUNCTION__ "]" << "Line: " << __LINE__ << endl; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue