Mark wanted some less verbose function-name macros.
This commit is contained in:
parent
e2a6a94ecf
commit
f68aff1f89
|
@ -239,4 +239,10 @@ namespace Debug
|
|||
}
|
||||
}
|
||||
} } //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…
Reference in New Issue