mirror of
https://github.com/Ed94/metadesk.git
synced 2026-06-23 12:15:01 -07:00
base progress
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifdef INTELLISENSE_DIRECTIVES
|
||||
# include "strings.h"
|
||||
# include "debug.h"
|
||||
#endif
|
||||
|
||||
void assert_handler( char const* condition, char const* file, char const* function, S32 line, char const* msg, ... )
|
||||
{
|
||||
// TODO(Ed): Change this to metadesks's procs
|
||||
_printf_err( "%s - %s:(%d): Assert Failure: ", file, function, line );
|
||||
|
||||
if ( condition )
|
||||
// TODO(Ed): Change this to metadesks's procs
|
||||
_printf_err( "`%s` \n", condition );
|
||||
|
||||
if ( msg )
|
||||
{
|
||||
va_list va;
|
||||
va_start( va, msg );
|
||||
_printf_err_va( msg, va );
|
||||
va_end( va );
|
||||
}
|
||||
|
||||
// TODO(Ed): Change this to metadesks's procs
|
||||
_printf_err( "%s", "\n" );
|
||||
}
|
||||
Reference in New Issue
Block a user