1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=iso-8859-1">
3 <title>assert.h Source File
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
6 <!-- Generated by Doxygen 1.2.15 -->
8 <a class=
"qindex" href=
"main.html">Main Page
</a> <a class=
"qindex" href=
"annotated.html">Compound List
</a> <a class=
"qindex" href=
"files.html">File List
</a> <a class=
"qindex" href=
"functions.html">Compound Members
</a> <a class=
"qindex" href=
"globals.html">File Members
</a> </center>
9 <hr><h1>assert.h
</h1><a href=
"assert_8h.html">Go to the documentation of this file.
</a><div class=
"fragment"><pre>00001 <font class=
"comment">/* Version
"abort" de l'assert de /usr/include/assert.h
</font>
10 00002 <font class=
"comment"> * Il est installe dans Linear de maniere a masquer /usr/include/assert.h
</font>
11 00003 <font class=
"comment"> *
</font>
12 00004 <font class=
"comment"> * Il faut faire un include de
<stdio.h
> pour l'utiliser.
</font>
13 00005 <font class=
"comment"> */
</font>
15 00007 <font class=
"preprocessor"># ifndef NDEBUG
</font>
16 <a name=
"l00008"></a><a class=
"code" href=
"assert_8h.html#a0">00008</a> <font class=
"preprocessor"></font><font class=
"preprocessor"># define _assert(ex) {if (!(ex)){(void)fprintf(stderr,
"Assertion failed: file \"%s\
", line %d\n", __FILE__, __LINE__);(void) abort();}}
</font>
17 <a name=
"l00009"></a><a class=
"code" href=
"assert_8h.html#a1">00009</a> <font class=
"preprocessor"></font><font class=
"preprocessor"># define assert(ex) _assert(ex)
</font>
18 00010 <font class=
"preprocessor"></font><font class=
"preprocessor"># else
</font>
19 00011 <font class=
"preprocessor"></font><font class=
"preprocessor"># define _assert(ex)
</font>
20 00012 <font class=
"preprocessor"></font><font class=
"preprocessor"># define assert(ex)
</font>
21 00013 <font class=
"preprocessor"></font><font class=
"preprocessor"># endif
</font>
22 </pre></div><hr><address align=
"right"><small>Generated on Fri Nov
8 12:
10:
06 2002 for Polylib by
23 <a href=
"http://www.doxygen.org/index.html">
24 <img src=
"doxygen.png" alt=
"doxygen" align=
"middle" border=
0
25 width=
110 height=
53></a>1.2.15 </small></address>