cwCommonImpl.h : Added cwRuntimeCheck()

This commit is contained in:
kevin 2024-05-02 13:59:55 -04:00
parent 8566d91d05
commit 6d8e154354

View File

@ -138,8 +138,8 @@ namespace cw
{
#define cwAssert(C) while(1){ if(!(C)){ cwLogFatal(kAssertFailRC,"Assert failed on condition:%s",#C ); } break; }
#define cwAssert(C) while(1){ if(!(C)) { cwLogFatal(kAssertFailRC,"Assert failed on condition:%s",#C ); } break; }
#define cwRuntimeCheck(C) while(1){ if(!(C)) { rc=cwLogError(kAssertFailRC,"Runtime error check failed on condition:%s",#C); goto errLabel; } break; }