extern (C) void onAssertError( string file, size_t line )
{
if( assertHandler is null )
extern (C) void onAssertError( string file, size_t line )
{
if( assertHandler is null )
assertHandler( file, line );
}
/**
* A callback for assert errors in D. The user-supplied assert handler will
assertHandler( file, line );
}
/**
* A callback for assert errors in D. The user-supplied assert handler will
extern (C) void onAssertErrorMsg( string file, size_t line, string msg )
{
if( assertHandler is null )
extern (C) void onAssertErrorMsg( string file, size_t line, string msg )
{
if( assertHandler is null )
*
* Params:
* file = The name of the file that signaled this error.
* line = The line number on which this error occurred.
*
* Throws:
*
* Params:
* file = The name of the file that signaled this error.
* line = The line number on which this error occurred.
*
* Throws:
*/
extern (C) void onOutOfMemoryError()
{
// NOTE: Since an out of memory condition exists, no allocation must occur
// while generating this object.
*/
extern (C) void onOutOfMemoryError()
{
// NOTE: Since an out of memory condition exists, no allocation must occur
// while generating this object.
*
* Params:
* file = The name of the file that signaled this error.
* line = The line number on which this error occurred.
*
* Throws:
*
* Params:
* file = The name of the file that signaled this error.
* line = The line number on which this error occurred.
*
* Throws: