This commit is contained in:
Steve Checkoway
2007-02-23 08:09:49 +00:00
parent 46effdd2e6
commit 3c3fc0aaac
2 changed files with 1 additions and 8 deletions
-6
View File
@@ -19,12 +19,6 @@ void RageException::SetCleanupHandler( void (*pHandler)(const RString &sError) )
g_CleanupHandler = pHandler;
}
void RageException::CallCleanupHandler( const RString &sError )
{
if( g_CleanupHandler )
g_CleanupHandler( sError );
}
/* This is no longer actually implemented by throwing an exception, but it acts
* the same way to code in practice. */
void RageException::Throw( const char *sFmt, ... )
+1 -2
View File
@@ -7,8 +7,7 @@ namespace RageException
{
void NORETURN Throw( const char *fmt, ... ) PRINTF(1,2);
void SetCleanupHandler( void (*pHandler)(const RString &sError) );
void CallCleanupHandler( const RString &sError );
};
}
#endif