Mark wanted some less verbose function-name macros.

This commit is contained in:
imonroe 2006-10-25 16:53:14 +00:00
parent e2a6a94ecf
commit f68aff1f89

View file

@ -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; }