Fission
FSN
Loading...
Searching...
No Matches
libs
fsCore
src
debug
fsAssert.h
Go to the documentation of this file.
1
/********************************************************************
2
*
3
* File: fsAssert.h
4
*
5
* Purpose: Wrap up assert code
6
*
7
*********************************************************************/
8
#ifndef fsAsserthdr
9
#define fsAsserthdr
10
11
#include "
../../fsBuildConfig.h
"
12
13
#include "
fsLog.h
"
14
#include "
fsBreak.h
"
15
#include "
fsTrace.h
"
16
17
#if defined fsRELEASE
18
19
#define fsAssert( pStatement, pFmtString, ... )
20
21
#else
22
23
#define fsAssert( pStatement, pFmtString, ... )\
24
if (pStatement == false)\
25
{ \
26
fsLogError(pFmtString, ##__VA_ARGS__);\
27
}
28
29
#endif
30
31
#endif
fsBuildConfig.h
fsLog.h
fsTrace.h
fsBreak.h
Generated on
for Fission by
1.16.1