1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../css/manpage.css" type="text/css" />
7    <title>NN_MAX_ASSERT</title>
8  </head>
9  <body>
10    <h1>NN_MAX_ASSERT Macro</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">#include &lt;nn/assert.h&gt;
14
15#define NN_MAX_ASSERT(exp,max)</pre>
16    </div>
17    <h2>Arguments</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22            <td width="15" />
23            <th>Name</th>
24            <td>Description</td>
25          </tr>
26        </thead>
27        <tr>
28          <td>in</td>
29          <th><CODE>exp</CODE></th>
30          <td>Value to be tested.</td>
31        </tr>
32        <tr>
33          <td>in</td>
34          <th><CODE>max</CODE></th>
35          <td>Maximum value</td>
36        </tr> </table>
37    </div>
38    <h2>Description</h2>
39    <div class="section">
40      <p>Tests whether a value is equal to or less than the specified value.</p><p>Stops program execution if <CODE>exp</CODE> is greater than <CODE>max</CODE>.</p><p>For common specifications of assert-type macros, see <CODE><a href="../nn_dbg/NN_ASSERT.html">NN_ASSERT</a></CODE>.</p><!-- write here --></div>
41    <h2>Revision History</h2>
42    <div class="section">
43      <dl class="history">
44        <dt>2011/12/16</dt>
45        <dd>Initial version.<br />
46        </dd>
47      </dl>
48    </div>
49  <hr><p>CONFIDENTIAL</p></body>
50</html>
51