projects
/
opencv
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e7b7529af5e027db20f3d6fe615491244736b6e9
[opencv]
/
apps
/
cvenv
/
EiC
/
stdClib
/
assert.h
1
#ifndef _ASSERTH
2
#define _ASSERTH
3
4
#pragma push_safeptr
5
6
7
void _Assert(char *msg);
8
9
#undef assert
10
#ifdef NDEBUG
11
#define assert(test)
12
#else
13
#define __Str(x) __Val(x)
14
#define __Val(x) #x
15
#define assert(test) ((test) ? (void) 0 : _Assert("In "__FILE__ ", line " __Str(__LINE__) ": " #test ))
16
#endif
17
18
19
#pragma pop_ptr
20
21
#endif /* end _ASSERTH */
22