repo.or.cz
/
antiword.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Imported from antiword-0.37.tar.gz.
[antiword.git]
/
fail.h
blob
151a26a7e848130eaff4a91259890cf90949ccb3
1
/*
2
* fail.h
3
* Copyright (C) 1998-2000 A.J. van Os; Released under GPL
4
*
5
* Description:
6
* Support for an alternative form of assert()
7
*/
8
9
#if !defined(__fail_h)
10
#define __fail_h 1
11
12
#undef fail
13
14
#if defined(NDEBUG)
15
#define fail(e) ((void)0)
16
#else
17
#define fail(e) ((e) ? __fail(#e, __FILE__, __LINE__) : (void)0)
18
#endif
/* NDEBUG */
19
20
extern
void
__fail
(
char
*,
char
*,
int
);
21
22
#endif
/* __fail_h */