<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_Assert::die - ClanLib Game SDK</TITLE> <STYLE TYPE="text/css"><!-- HTML BODY { font-family: verdana, helvetica, sans-serif; font-size: 12px; } H1 { font-size: 22px; } H2 { font-size: 18px; } H3 { font-size: 16px; } H4 { font-size: 14px; } P { font-size: 12px; } LI { font-size: 12px; } --></STYLE> </HEAD> <body bgcolor=white text=black link=blue vlink=#800080> <center> <img src="http://clanlib.org/gfx/clanlib.png"> </center> <!-- clanlib header end --> <center> <p> <a href="http://clanlib.org/docs.html">Home</a> | <a href="classes.html">All Classes</a> | <a href="modules.html">Grouped Classes</a> | <a href="index.html">Index</a> | <a href="search.html">Search</a> </p> </center> <h1>CL_Assert::die</h1> <p> Produces an assert.</p> <pre> void die( bool a, const char* file, int line, const char* func, const char* assert_str); </pre> <p><b>Parameters:</b></p> <dl> <dt><i>a</i></dt><dd>Asserts if false.</dd> <dt><i>file</i></dt><dd>Name of the file where the assert occurred.</dd> <dt><i>line</i></dt><dd>Line in the file where the assert occurred.</dd> <dt><i>func</i></dt><dd>Function in which the assert occurred.</dd> <dt><i>assert_str</i></dt><dd>String that describe the assertion check.</dd> </dl> <p><b>Detailed description:</b></p> <p>This function shouldn't be called directly - instead, use the cl_assert macro. For example: cl_assert(should_not_be_zero != 0)</p> <p><b>See also:</b></p> <p><a href="CL_Assert.html">CL_Assert</a></p> <!-- clanlib footer begin --> <center><br><br><font color="#a0a0a0"> Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>. </font></center> </body> </html> <!-- clanlib footer end -->