repo.or.cz
/
tangerine.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git]
/
compiler
/
purify
/
src
/
debug.h
blob
2c56c0c99a029a065845ec8097dc58d025a555f4
1
#ifndef _DEBUG_H
2
#define _DEBUG_H
3
4
#ifndef DEBUG
5
# define DEBUG 0
6
#endif
7
8
#ifndef _PNDEBUG
9
# define passert(expr) if(!(expr) ) Purify_AssertFailed (__FILE__,__LINE__,__FUNCTION__,#expr)
10
#else
11
# define passert(expr)
/* eps */
12
#endif
13
14
void
Purify_AssertFailed
(
const char
*
file
,
int
line
,
const char
*
fname
,
15
const char
*
expr
);
16
17
#endif
/* _DEBUG_H */