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_ATTRIBUTE_ALIGN</title>
8  </head>
9  <body>
10    <h1>NN_ATTRIBUTE_ALIGN Macro</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">#include &lt;nn/config.h&gt;
14
15#define NN_ATTRIBUTE_ALIGN(n) __attribute__ ((aligned(n)))</pre>
16    </div>
17    <h2>Parameters</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>n</th>
30          <td>Alignment to be satisfied.</td>
31        </tr> </table>
32    </div>
33    <h2>Description</h2>
34    <div class="section">
35      <p>Used to align the boundaries of object addresses.</p><p>Ensures n-byte alignment of the start address of objects by adding <CODE>n</CODE> to the end of global object definition.</p><!-- write here --></div>
36    <h2>Revision History</h2>
37    <div class="section">
38      <dl class="history">
39        <dt>2011/12/16</dt>
40        <dd>Initial version.<br />
41        </dd>
42      </dl>
43    </div>
44  <hr><p>CONFIDENTIAL</p></body>
45</html>
46