File: hkl-compiler.html

package info (click to toggle)
hkl 5.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 26,708 kB
  • sloc: ansic: 56,730; haskell: 5,991; sh: 4,991; cpp: 1,854; makefile: 1,124; python: 925; xml: 76; lisp: 55
file content (233 lines) | stat: -rw-r--r-- 8,624 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta charset="UTF-8">
<title>compiler: hkl Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="hkl Reference Manual">
<link rel="up" href="ch01.html" title="[Insert title here]">
<link rel="prev" href="hkl-check-type.html" title="check_type">
<link rel="next" href="hkl-container-of.html" title="container_of">
<meta name="generator" content="GTK-Doc V1.35.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#hkl-compiler.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="hkl-check-type.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="hkl-container-of.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="hkl-compiler"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="hkl-compiler.top_of_page"></a>compiler</span></h2>
<p>compiler</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="hkl-compiler.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="hkl-compiler.html#PRINTF-FMT:CAPS" title="PRINTF_FMT()">PRINTF_FMT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="hkl-compiler.html#IS-COMPILE-CONSTANT:CAPS" title="IS_COMPILE_CONSTANT()">IS_COMPILE_CONSTANT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="hkl-compiler.html#NON-NULL-ARGS:CAPS" title="NON_NULL_ARGS()">NON_NULL_ARGS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="hkl-compiler.html#cpu-supports" title="cpu_supports()">cpu_supports</a><span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="hkl-compiler.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#COLD:CAPS" title="COLD">COLD</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#NORETURN:CAPS" title="NORETURN">NORETURN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#CONST-FUNCTION:CAPS" title="CONST_FUNCTION">CONST_FUNCTION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#PURE-FUNCTION:CAPS" title="PURE_FUNCTION">PURE_FUNCTION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#UNNEEDED:CAPS" title="UNNEEDED">UNNEEDED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#NEEDED:CAPS" title="NEEDED">NEEDED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#UNUSED:CAPS" title="UNUSED">UNUSED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#WARN-UNUSED-RESULT:CAPS" title="WARN_UNUSED_RESULT">WARN_UNUSED_RESULT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#WARN-DEPRECATED:CAPS" title="WARN_DEPRECATED">WARN_DEPRECATED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#NO-NULL-ARGS:CAPS" title="NO_NULL_ARGS">NO_NULL_ARGS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#RETURNS-NONNULL:CAPS" title="RETURNS_NONNULL">RETURNS_NONNULL</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="hkl-compiler.html#LAST-ARG-NULL:CAPS" title="LAST_ARG_NULL">LAST_ARG_NULL</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="hkl-compiler.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="hkl-compiler.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="PRINTF-FMT:CAPS"></a><h3>PRINTF_FMT()</h3>
<pre class="programlisting">#define             PRINTF_FMT(nfmt, narg)</pre>
</div>
<hr>
<div class="refsect2">
<a name="IS-COMPILE-CONSTANT:CAPS"></a><h3>IS_COMPILE_CONSTANT()</h3>
<pre class="programlisting">#define IS_COMPILE_CONSTANT(expr) __builtin_constant_p(expr)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="NON-NULL-ARGS:CAPS"></a><h3>NON_NULL_ARGS()</h3>
<pre class="programlisting">#define NON_NULL_ARGS(...) __attribute__((__nonnull__(__VA_ARGS__)))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="cpu-supports"></a><h3>cpu_supports()</h3>
<pre class="programlisting">#define cpu_supports(x) __builtin_cpu_supports(x)
</pre>
</div>
</div>
<div class="refsect1">
<a name="hkl-compiler.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="COLD:CAPS"></a><h3>COLD</h3>
<pre class="programlisting">#define COLD __attribute__((__cold__))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="NORETURN:CAPS"></a><h3>NORETURN</h3>
<pre class="programlisting">#define             NORETURN</pre>
</div>
<hr>
<div class="refsect2">
<a name="CONST-FUNCTION:CAPS"></a><h3>CONST_FUNCTION</h3>
<pre class="programlisting">#define CONST_FUNCTION __attribute__((__const__))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="PURE-FUNCTION:CAPS"></a><h3>PURE_FUNCTION</h3>
<pre class="programlisting">#define PURE_FUNCTION __attribute__((__pure__))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="UNNEEDED:CAPS"></a><h3>UNNEEDED</h3>
<pre class="programlisting">#define UNNEEDED __attribute__((__unused__))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="NEEDED:CAPS"></a><h3>NEEDED</h3>
<pre class="programlisting">#define NEEDED __attribute__((__used__))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="UNUSED:CAPS"></a><h3>UNUSED</h3>
<pre class="programlisting">#define UNUSED __attribute__((__unused__))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="WARN-UNUSED-RESULT:CAPS"></a><h3>WARN_UNUSED_RESULT</h3>
<pre class="programlisting">#define WARN_UNUSED_RESULT __attribute__((__warn_unused_result__))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="WARN-DEPRECATED:CAPS"></a><h3>WARN_DEPRECATED</h3>
<pre class="programlisting">#define WARN_DEPRECATED __attribute__((__deprecated__))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="NO-NULL-ARGS:CAPS"></a><h3>NO_NULL_ARGS</h3>
<pre class="programlisting">#define NO_NULL_ARGS __attribute__((__nonnull__))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RETURNS-NONNULL:CAPS"></a><h3>RETURNS_NONNULL</h3>
<pre class="programlisting">#define RETURNS_NONNULL __attribute__((__returns_nonnull__))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="LAST-ARG-NULL:CAPS"></a><h3>LAST_ARG_NULL</h3>
<pre class="programlisting">#define LAST_ARG_NULL __attribute__((__sentinel__))
</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.35.1</div>
</body>
</html>