~ubuntu-branches/ubuntu/gutsy/glib2.0/gutsy

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-Miscellaneous-Macros.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-07-02 18:38:31 UTC
  • mfrom: (1.2.25 upstream)
  • Revision ID: james.westby@ubuntu.com-20070702183831-3ahdh1d2qavmoya4
Tags: 2.13.6-1ubuntu1
* Sync with Debian
* debian/control.in:
  - the package is maintained by the Ubuntu Desktop Team 
* debian/patches/series:
  - use 01_gettext-desktopfiles.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
<th width="100%" align="center">GLib Reference Manual</th>
36
36
<td><a accesskey="n" href="glib-Atomic-Operations.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
37
37
</tr>
38
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2856016" class="shortcut">Top</a>
 
38
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2829891" class="shortcut">Top</a>
39
39
                  &#160;|&#160;
40
 
                  <a href="#id2856413" class="shortcut">Description</a></nobr></td></tr>
 
40
                  <a href="#id2830287" class="shortcut">Description</a></nobr></td></tr>
41
41
</table>
42
42
<div class="refentry" lang="en">
43
43
<a name="glib-Miscellaneous-Macros"></a><div class="titlepage"></div>
44
44
<div class="refnamediv"><table width="100%"><tr>
45
45
<td valign="top">
46
46
<h2>
47
 
<a name="id2856016"></a><span class="refentrytitle">Miscellaneous Macros</span>
 
47
<a name="id2829891"></a><span class="refentrytitle">Miscellaneous Macros</span>
48
48
</h2>
49
49
<p>Miscellaneous Macros &#8212; specialized macros which are not used often.</p>
50
50
</td>
112
112
</pre>
113
113
</div>
114
114
<div class="refsect1" lang="en">
115
 
<a name="id2856413"></a><h2>Description</h2>
 
115
<a name="id2830287"></a><h2>Description</h2>
116
116
<p>
117
117
These macros provide more specialized features which are not needed so often
118
118
by application programmers.
119
119
</p>
120
120
</div>
121
121
<div class="refsect1" lang="en">
122
 
<a name="id2856429"></a><h2>Details</h2>
 
122
<a name="id2830303"></a><h2>Details</h2>
123
123
<div class="refsect2" lang="en">
124
 
<a name="id2856439"></a><h3>
 
124
<a name="id2830314"></a><h3>
125
125
<a name="G-INLINE-FUNC:CAPS"></a>G_INLINE_FUNC</h3>
126
 
<a class="indexterm" name="id2856451"></a><pre class="programlisting">#define             G_INLINE_FUNC</pre>
 
126
<a class="indexterm" name="id2830325"></a><pre class="programlisting">#define             G_INLINE_FUNC</pre>
127
127
<p>
128
128
This macro is used to export function prototypes so they can be linked
129
129
with an external version when no inlining is performed. The file which
140
140
</div>
141
141
<hr>
142
142
<div class="refsect2" lang="en">
143
 
<a name="id2856501"></a><h3>
 
143
<a name="id2830376"></a><h3>
144
144
<a name="G-STMT-START:CAPS"></a>G_STMT_START</h3>
145
 
<a class="indexterm" name="id2856514"></a><pre class="programlisting">#define             G_STMT_START</pre>
 
145
<a class="indexterm" name="id2830388"></a><pre class="programlisting">#define             G_STMT_START</pre>
146
146
<p>
147
147
Used within multi-statement macros so that they can be used in places where
148
148
only one statement is expected by the compiler.
150
150
</div>
151
151
<hr>
152
152
<div class="refsect2" lang="en">
153
 
<a name="id2856531"></a><h3>
 
153
<a name="id2830406"></a><h3>
154
154
<a name="G-STMT-END:CAPS"></a>G_STMT_END</h3>
155
 
<a class="indexterm" name="id2856544"></a><pre class="programlisting">#define             G_STMT_END</pre>
 
155
<a class="indexterm" name="id2830419"></a><pre class="programlisting">#define             G_STMT_END</pre>
156
156
<p>
157
157
Used within multi-statement macros so that they can be used in places where
158
158
only one statement is expected by the compiler.
160
160
</div>
161
161
<hr>
162
162
<div class="refsect2" lang="en">
163
 
<a name="id2856562"></a><h3>
 
163
<a name="id2830436"></a><h3>
164
164
<a name="G-BEGIN-DECLS:CAPS"></a>G_BEGIN_DECLS</h3>
165
 
<a class="indexterm" name="id2856574"></a><pre class="programlisting">#define             G_BEGIN_DECLS</pre>
 
165
<a class="indexterm" name="id2830448"></a><pre class="programlisting">#define             G_BEGIN_DECLS</pre>
166
166
<p>
167
167
Used (along with <a href="glib-Miscellaneous-Macros.html#G-END-DECLS:CAPS"><span class="type">G_END_DECLS</span></a>) to bracket header files. If the
168
168
compiler in use is a C++ compiler, adds <code class="literal">extern "C"</code> 
171
171
</div>
172
172
<hr>
173
173
<div class="refsect2" lang="en">
174
 
<a name="id2856606"></a><h3>
 
174
<a name="id2830480"></a><h3>
175
175
<a name="G-END-DECLS:CAPS"></a>G_END_DECLS</h3>
176
 
<a class="indexterm" name="id2856618"></a><pre class="programlisting">#define             G_END_DECLS</pre>
 
176
<a class="indexterm" name="id2830492"></a><pre class="programlisting">#define             G_END_DECLS</pre>
177
177
<p>
178
178
Used (along with <a href="glib-Miscellaneous-Macros.html#G-BEGIN-DECLS:CAPS"><span class="type">G_BEGIN_DECLS</span></a>) to bracket header files. If the
179
179
compiler in use is a C++ compiler, adds <code class="literal">extern "C"</code> 
182
182
</div>
183
183
<hr>
184
184
<div class="refsect2" lang="en">
185
 
<a name="id2856649"></a><h3>
 
185
<a name="id2830523"></a><h3>
186
186
<a name="G-N-ELEMENTS:CAPS"></a>G_N_ELEMENTS()</h3>
187
 
<a class="indexterm" name="id2856662"></a><pre class="programlisting">#define G_N_ELEMENTS(arr)         (sizeof (arr) / sizeof ((arr)[0]))
 
187
<a class="indexterm" name="id2830536"></a><pre class="programlisting">#define G_N_ELEMENTS(arr)         (sizeof (arr) / sizeof ((arr)[0]))
188
188
</pre>
189
189
<p>
190
190
Determines the number of elements in an array. The array must be
205
205
</div>
206
206
<hr>
207
207
<div class="refsect2" lang="en">
208
 
<a name="id2856700"></a><h3>
 
208
<a name="id2830574"></a><h3>
209
209
<a name="G-VA-COPY:CAPS"></a>G_VA_COPY()</h3>
210
 
<a class="indexterm" name="id2856712"></a><pre class="programlisting">#define             G_VA_COPY(ap1,ap2)</pre>
 
210
<a class="indexterm" name="id2830586"></a><pre class="programlisting">#define             G_VA_COPY(ap1,ap2)</pre>
211
211
<p>
212
212
Portable way to copy <span class="type">va_list</span> variables.
213
213
</p>
236
236
</div>
237
237
<hr>
238
238
<div class="refsect2" lang="en">
239
 
<a name="id2856808"></a><h3>
 
239
<a name="id2830682"></a><h3>
240
240
<a name="G-STRINGIFY:CAPS"></a>G_STRINGIFY()</h3>
241
 
<a class="indexterm" name="id2856821"></a><pre class="programlisting">#define G_STRINGIFY(macro_or_string)      G_STRINGIFY_ARG (macro_or_string)
 
241
<a class="indexterm" name="id2830695"></a><pre class="programlisting">#define G_STRINGIFY(macro_or_string)      G_STRINGIFY_ARG (macro_or_string)
242
242
</pre>
243
243
<p>
244
244
Accepts a macro or a string and converts it into a string.
256
256
</div>
257
257
<hr>
258
258
<div class="refsect2" lang="en">
259
 
<a name="id2856856"></a><h3>
 
259
<a name="id2830730"></a><h3>
260
260
<a name="G-GNUC-EXTENSION:CAPS"></a>G_GNUC_EXTENSION</h3>
261
 
<a class="indexterm" name="id2856870"></a><pre class="programlisting">#define             G_GNUC_EXTENSION</pre>
 
261
<a class="indexterm" name="id2830744"></a><pre class="programlisting">#define             G_GNUC_EXTENSION</pre>
262
262
<p>
263
263
Expands to <code class="literal">__extension__</code> when <span><strong class="command">gcc</strong></span> is 
264
264
used as the compiler.
268
268
</div>
269
269
<hr>
270
270
<div class="refsect2" lang="en">
271
 
<a name="id2856909"></a><h3>
 
271
<a name="id2830783"></a><h3>
272
272
<a name="G-GNUC-CONST:CAPS"></a>G_GNUC_CONST</h3>
273
 
<a class="indexterm" name="id2856921"></a><pre class="programlisting">#define             G_GNUC_CONST</pre>
 
273
<a class="indexterm" name="id2830795"></a><pre class="programlisting">#define             G_GNUC_CONST</pre>
274
274
<p>
275
275
Expands to the GNU C <code class="literal">const</code> function attribute if the compiler is 
276
276
<span><strong class="command">gcc</strong></span>. Declaring a function as const enables better optimization of calls 
289
289
</div>
290
290
<hr>
291
291
<div class="refsect2" lang="en">
292
 
<a name="id2856964"></a><h3>
 
292
<a name="id2830839"></a><h3>
293
293
<a name="G-GNUC-PURE:CAPS"></a>G_GNUC_PURE</h3>
294
 
<a class="indexterm" name="id2856977"></a><pre class="programlisting">#define             G_GNUC_PURE</pre>
 
294
<a class="indexterm" name="id2830851"></a><pre class="programlisting">#define             G_GNUC_PURE</pre>
295
295
<p>
296
296
Expands to the GNU C <code class="literal">pure</code> function attribute if the compiler is 
297
297
<span><strong class="command">gcc</strong></span>. Declaring a function as pure enables better optimization of 
302
302
</div>
303
303
<hr>
304
304
<div class="refsect2" lang="en">
305
 
<a name="id2857009"></a><h3>
 
305
<a name="id2830883"></a><h3>
306
306
<a name="G-GNUC-MALLOC:CAPS"></a>G_GNUC_MALLOC</h3>
307
 
<a class="indexterm" name="id2857024"></a><pre class="programlisting">#define             G_GNUC_MALLOC</pre>
 
307
<a class="indexterm" name="id2830898"></a><pre class="programlisting">#define             G_GNUC_MALLOC</pre>
308
308
<p>
309
309
Expands to the GNU C <code class="literal">malloc</code> function attribute if the compiler is 
310
310
<span><strong class="command">gcc</strong></span>. Declaring a function as malloc enables better optimization of the 
320
320
</div>
321
321
<hr>
322
322
<div class="refsect2" lang="en">
323
 
<a name="id2855870"></a><h3>
 
323
<a name="id2829745"></a><h3>
324
324
<a name="G-GNUC-DEPRECATED:CAPS"></a>G_GNUC_DEPRECATED</h3>
325
 
<a class="indexterm" name="id2855886"></a><pre class="programlisting">#define             G_GNUC_DEPRECATED</pre>
 
325
<a class="indexterm" name="id2829761"></a><pre class="programlisting">#define             G_GNUC_DEPRECATED</pre>
326
326
<p>
327
327
Expands to the GNU C <code class="literal">deprecated</code> attribute if the compiler 
328
328
is <span><strong class="command">gcc</strong></span>.
338
338
</div>
339
339
<hr>
340
340
<div class="refsect2" lang="en">
341
 
<a name="id2855928"></a><h3>
 
341
<a name="id2829802"></a><h3>
342
342
<a name="G-GNUC-NORETURN:CAPS"></a>G_GNUC_NORETURN</h3>
343
 
<a class="indexterm" name="id2855942"></a><pre class="programlisting">#define             G_GNUC_NORETURN</pre>
 
343
<a class="indexterm" name="id2829816"></a><pre class="programlisting">#define             G_GNUC_NORETURN</pre>
344
344
<p>
345
345
Expands to the GNU C <code class="literal">noreturn</code> function attribute if the 
346
346
compiler is <span><strong class="command">gcc</strong></span>. It is used for declaring functions which never return.
350
350
</div>
351
351
<hr>
352
352
<div class="refsect2" lang="en">
353
 
<a name="id2855972"></a><h3>
 
353
<a name="id2829846"></a><h3>
354
354
<a name="G-GNUC-UNUSED:CAPS"></a>G_GNUC_UNUSED</h3>
355
 
<a class="indexterm" name="id2855985"></a><pre class="programlisting">#define             G_GNUC_UNUSED</pre>
 
355
<a class="indexterm" name="id2829859"></a><pre class="programlisting">#define             G_GNUC_UNUSED</pre>
356
356
<p>
357
357
Expands to the GNU C <code class="literal">unused</code> function attribute if the compiler is 
358
358
<span><strong class="command">gcc</strong></span>. It is used for declaring functions which may never be used.
361
361
</div>
362
362
<hr>
363
363
<div class="refsect2" lang="en">
364
 
<a name="id2857346"></a><h3>
 
364
<a name="id2831220"></a><h3>
365
365
<a name="G-GNUC-PRINTF:CAPS"></a>G_GNUC_PRINTF()</h3>
366
 
<a class="indexterm" name="id2857359"></a><pre class="programlisting">#define             G_GNUC_PRINTF( format_idx, arg_idx )</pre>
 
366
<a class="indexterm" name="id2831233"></a><pre class="programlisting">#define             G_GNUC_PRINTF( format_idx, arg_idx )</pre>
367
367
<p>
368
368
Expands to the GNU C <code class="literal">format</code> function attribute if the compiler is 
369
369
<span><strong class="command">gcc</strong></span>. This is used for declaring functions which take a variable number of
398
398
</div>
399
399
<hr>
400
400
<div class="refsect2" lang="en">
401
 
<a name="id2857449"></a><h3>
 
401
<a name="id2831323"></a><h3>
402
402
<a name="G-GNUC-SCANF:CAPS"></a>G_GNUC_SCANF()</h3>
403
 
<a class="indexterm" name="id2857461"></a><pre class="programlisting">#define             G_GNUC_SCANF( format_idx, arg_idx )</pre>
 
403
<a class="indexterm" name="id2831336"></a><pre class="programlisting">#define             G_GNUC_SCANF( format_idx, arg_idx )</pre>
404
404
<p>
405
405
Expands to the GNU C <code class="literal">format</code> function attribute if the compiler is <span><strong class="command">gcc</strong></span>.
406
406
This is used for declaring functions which take a variable number of
429
429
</div>
430
430
<hr>
431
431
<div class="refsect2" lang="en">
432
 
<a name="id2857542"></a><h3>
 
432
<a name="id2831416"></a><h3>
433
433
<a name="G-GNUC-FORMAT:CAPS"></a>G_GNUC_FORMAT()</h3>
434
 
<a class="indexterm" name="id2857555"></a><pre class="programlisting">#define             G_GNUC_FORMAT( arg_idx )</pre>
 
434
<a class="indexterm" name="id2831429"></a><pre class="programlisting">#define             G_GNUC_FORMAT( arg_idx )</pre>
435
435
<p>
436
436
Expands to the GNU C <code class="literal">format_arg</code> function attribute if the compiler is <span><strong class="command">gcc</strong></span>.
437
437
This function attribute specifies that a function takes a format
460
460
</div>
461
461
<hr>
462
462
<div class="refsect2" lang="en">
463
 
<a name="id2857725"></a><h3>
 
463
<a name="id2831599"></a><h3>
464
464
<a name="G-GNUC-NULL-TERMINATED:CAPS"></a>G_GNUC_NULL_TERMINATED</h3>
465
 
<a class="indexterm" name="id2857738"></a><pre class="programlisting">#define             G_GNUC_NULL_TERMINATED</pre>
 
465
<a class="indexterm" name="id2831612"></a><pre class="programlisting">#define             G_GNUC_NULL_TERMINATED</pre>
466
466
<p>
467
467
Expands to the GNU C <code class="literal">sentinel</code> function attribute if the 
468
468
compiler is <span><strong class="command">gcc</strong></span>, or "" if it isn't. This function attribute
474
474
Since: 2.8</div>
475
475
<hr>
476
476
<div class="refsect2" lang="en">
477
 
<a name="id2857781"></a><h3>
 
477
<a name="id2831656"></a><h3>
478
478
<a name="G-GNUC-WARN-UNUSED-RESULT:CAPS"></a>G_GNUC_WARN_UNUSED_RESULT</h3>
479
 
<a class="indexterm" name="id2857798"></a><pre class="programlisting">#define             G_GNUC_WARN_UNUSED_RESULT</pre>
 
479
<a class="indexterm" name="id2831672"></a><pre class="programlisting">#define             G_GNUC_WARN_UNUSED_RESULT</pre>
480
480
<p>
481
481
Expands to the GNU C <code class="literal">warn_unused_ersult</code> function attribute 
482
482
if the compiler is <span><strong class="command">gcc</strong></span>, or "" if it isn't. This function 
490
490
</div>
491
491
<hr>
492
492
<div class="refsect2" lang="en">
493
 
<a name="id2857836"></a><h3>
 
493
<a name="id2831710"></a><h3>
494
494
<a name="G-GNUC-FUNCTION:CAPS"></a>G_GNUC_FUNCTION</h3>
495
 
<a class="indexterm" name="id2857850"></a><pre class="programlisting">#define             G_GNUC_FUNCTION</pre>
 
495
<a class="indexterm" name="id2831724"></a><pre class="programlisting">#define             G_GNUC_FUNCTION</pre>
496
496
<p>
497
497
Expands to the GNU C <code class="literal">__FUNCTION__</code> variable if the 
498
498
compiler is <span><strong class="command">gcc</strong></span>, or "" if it isn't. The GNU C 
502
502
</div>
503
503
<hr>
504
504
<div class="refsect2" lang="en">
505
 
<a name="id2857885"></a><h3>
 
505
<a name="id2831759"></a><h3>
506
506
<a name="G-GNUC-PRETTY-FUNCTION:CAPS"></a>G_GNUC_PRETTY_FUNCTION</h3>
507
 
<a class="indexterm" name="id2857898"></a><pre class="programlisting">#define             G_GNUC_PRETTY_FUNCTION</pre>
 
507
<a class="indexterm" name="id2831772"></a><pre class="programlisting">#define             G_GNUC_PRETTY_FUNCTION</pre>
508
508
<p>
509
509
Expands to the GNU C <code class="literal">__PRETTY_FUNCTION__</code> variable 
510
510
if the compiler is <span><strong class="command">gcc</strong></span>, or "" if it isn't.
517
517
</div>
518
518
<hr>
519
519
<div class="refsect2" lang="en">
520
 
<a name="id2857942"></a><h3>
 
520
<a name="id2831817"></a><h3>
521
521
<a name="G-GNUC-NO-INSTRUMENT:CAPS"></a>G_GNUC_NO_INSTRUMENT</h3>
522
 
<a class="indexterm" name="id2857955"></a><pre class="programlisting">#define             G_GNUC_NO_INSTRUMENT</pre>
 
522
<a class="indexterm" name="id2831830"></a><pre class="programlisting">#define             G_GNUC_NO_INSTRUMENT</pre>
523
523
<p>
524
524
Expands to the GNU C <code class="literal">no_instrument_function</code> function 
525
525
attribute if the compiler is <span><strong class="command">gcc</strong></span>. Functions with this 
531
531
</div>
532
532
<hr>
533
533
<div class="refsect2" lang="en">
534
 
<a name="id2857990"></a><h3>
 
534
<a name="id2831865"></a><h3>
535
535
<a name="G-HAVE-GNUC-VISIBILITY:CAPS"></a>G_HAVE_GNUC_VISIBILITY</h3>
536
 
<a class="indexterm" name="id2858003"></a><pre class="programlisting">#define G_HAVE_GNUC_VISIBILITY 1
 
536
<a class="indexterm" name="id2831877"></a><pre class="programlisting">#define G_HAVE_GNUC_VISIBILITY 1
537
537
</pre>
538
538
<p>
539
539
This macro is defined as 1 if the the compiler supports ELF visibility 
543
543
Since: 2.6</div>
544
544
<hr>
545
545
<div class="refsect2" lang="en">
546
 
<a name="id2858027"></a><h3>
 
546
<a name="id2831902"></a><h3>
547
547
<a name="G-GNUC-INTERNAL:CAPS"></a>G_GNUC_INTERNAL</h3>
548
 
<a class="indexterm" name="id2858041"></a><pre class="programlisting">#define             G_GNUC_INTERNAL</pre>
 
548
<a class="indexterm" name="id2831915"></a><pre class="programlisting">#define             G_GNUC_INTERNAL</pre>
549
549
<p>
550
550
This attribute can be used for marking library functions as being used 
551
551
internally to the library only, which may allow the compiler to handle
574
574
Since: 2.6</div>
575
575
<hr>
576
576
<div class="refsect2" lang="en">
577
 
<a name="id2858098"></a><h3>
 
577
<a name="id2831972"></a><h3>
578
578
<a name="G-GNUC-MAY-ALIAS:CAPS"></a>G_GNUC_MAY_ALIAS</h3>
579
 
<a class="indexterm" name="id2858111"></a><pre class="programlisting">#define             G_GNUC_MAY_ALIAS</pre>
 
579
<a class="indexterm" name="id2831985"></a><pre class="programlisting">#define             G_GNUC_MAY_ALIAS</pre>
580
580
<p>
581
581
 
582
582
</p>
583
583
</div>
584
584
<hr>
585
585
<div class="refsect2" lang="en">
586
 
<a name="id2858126"></a><h3>
 
586
<a name="id2832000"></a><h3>
587
587
<a name="G-LIKELY:CAPS"></a>G_LIKELY ()</h3>
588
 
<a class="indexterm" name="id2858141"></a><pre class="programlisting">return              G_LIKELY                            ();</pre>
 
588
<a class="indexterm" name="id2832015"></a><pre class="programlisting">return              G_LIKELY                            ();</pre>
589
589
<p>
590
590
Hints the compiler that the expression is likely to evaluate to a true
591
591
value. The compiler may use this information for optimizations.
607
607
</div>
608
608
<hr>
609
609
<div class="refsect2" lang="en">
610
 
<a name="id2858193"></a><h3>
 
610
<a name="id2832067"></a><h3>
611
611
<a name="G-UNLIKELY:CAPS"></a>G_UNLIKELY()</h3>
612
 
<a class="indexterm" name="id2858207"></a><pre class="programlisting">#define             G_UNLIKELY(expr)</pre>
 
612
<a class="indexterm" name="id2832082"></a><pre class="programlisting">#define             G_UNLIKELY(expr)</pre>
613
613
<p>
614
614
Hints the compiler that the expression is unlikely to evaluate to a true
615
615
value. The compiler may use this information for optimizations.
633
633
</div>
634
634
<hr>
635
635
<div class="refsect2" lang="en">
636
 
<a name="id2858258"></a><h3>
 
636
<a name="id2832132"></a><h3>
637
637
<a name="G-STRLOC:CAPS"></a>G_STRLOC</h3>
638
 
<a class="indexterm" name="id2858271"></a><pre class="programlisting">#define             G_STRLOC</pre>
 
638
<a class="indexterm" name="id2832145"></a><pre class="programlisting">#define             G_STRLOC</pre>
639
639
<p>
640
640
Expands to a string identifying the current code position. 
641
641
</p>
642
642
</div>
643
643
<hr>
644
644
<div class="refsect2" lang="en">
645
 
<a name="id2858287"></a><h3>
 
645
<a name="id2832161"></a><h3>
646
646
<a name="G-STRFUNC:CAPS"></a>G_STRFUNC</h3>
647
 
<a class="indexterm" name="id2858302"></a><pre class="programlisting">#define             G_STRFUNC</pre>
 
647
<a class="indexterm" name="id2832176"></a><pre class="programlisting">#define             G_STRFUNC</pre>
648
648
<p>
649
649
Expands to a string identifying the current function. 
650
650
</p>
655
655
</div>
656
656
<hr>
657
657
<div class="refsect2" lang="en">
658
 
<a name="id2858324"></a><h3>
 
658
<a name="id2832199"></a><h3>
659
659
<a name="G-GINT16-MODIFIER:CAPS"></a>G_GINT16_MODIFIER</h3>
660
 
<a class="indexterm" name="id2858340"></a><pre class="programlisting">#define G_GINT16_MODIFIER "h"
 
660
<a class="indexterm" name="id2832215"></a><pre class="programlisting">#define G_GINT16_MODIFIER "h"
661
661
</pre>
662
662
<p>
663
663
The platform dependent length modifier for constructing <code class="function">printf()</code> conversion
682
682
</div>
683
683
<hr>
684
684
<div class="refsect2" lang="en">
685
 
<a name="id2858408"></a><h3>
 
685
<a name="id2832282"></a><h3>
686
686
<a name="G-GINT16-FORMAT:CAPS"></a>G_GINT16_FORMAT</h3>
687
 
<a class="indexterm" name="id2858421"></a><pre class="programlisting">#define G_GINT16_FORMAT "hi"
 
687
<a class="indexterm" name="id2832295"></a><pre class="programlisting">#define G_GINT16_FORMAT "hi"
688
688
</pre>
689
689
<p>
690
690
This is the platform dependent conversion specifier for scanning and
706
706
</div>
707
707
<hr>
708
708
<div class="refsect2" lang="en">
709
 
<a name="id2858463"></a><h3>
 
709
<a name="id2832337"></a><h3>
710
710
<a name="G-GUINT16-FORMAT:CAPS"></a>G_GUINT16_FORMAT</h3>
711
 
<a class="indexterm" name="id2858476"></a><pre class="programlisting">#define G_GUINT16_FORMAT "hu"
 
711
<a class="indexterm" name="id2832350"></a><pre class="programlisting">#define G_GUINT16_FORMAT "hu"
712
712
</pre>
713
713
<p>
714
714
This is the platform dependent conversion specifier for scanning and
717
717
</div>
718
718
<hr>
719
719
<div class="refsect2" lang="en">
720
 
<a name="id2858509"></a><h3>
 
720
<a name="id2832384"></a><h3>
721
721
<a name="G-GINT32-MODIFIER:CAPS"></a>G_GINT32_MODIFIER</h3>
722
 
<a class="indexterm" name="id2858525"></a><pre class="programlisting">#define G_GINT32_MODIFIER ""
 
722
<a class="indexterm" name="id2832399"></a><pre class="programlisting">#define G_GINT32_MODIFIER ""
723
723
</pre>
724
724
<p>
725
725
The platform dependent length modifier for constructing <code class="function">printf()</code> conversion
732
732
</div>
733
733
<hr>
734
734
<div class="refsect2" lang="en">
735
 
<a name="id2858583"></a><h3>
 
735
<a name="id2832457"></a><h3>
736
736
<a name="G-GINT32-FORMAT:CAPS"></a>G_GINT32_FORMAT</h3>
737
 
<a class="indexterm" name="id2858596"></a><pre class="programlisting">#define G_GINT32_FORMAT "i"
 
737
<a class="indexterm" name="id2832470"></a><pre class="programlisting">#define G_GINT32_FORMAT "i"
738
738
</pre>
739
739
<p>
740
740
This is the platform dependent conversion specifier for scanning and
743
743
</div>
744
744
<hr>
745
745
<div class="refsect2" lang="en">
746
 
<a name="id2858629"></a><h3>
 
746
<a name="id2832504"></a><h3>
747
747
<a name="G-GUINT32-FORMAT:CAPS"></a>G_GUINT32_FORMAT</h3>
748
 
<a class="indexterm" name="id2858642"></a><pre class="programlisting">#define G_GUINT32_FORMAT "u"
 
748
<a class="indexterm" name="id2832517"></a><pre class="programlisting">#define G_GUINT32_FORMAT "u"
749
749
</pre>
750
750
<p>
751
751
This is the platform dependent conversion specifier for scanning and
754
754
</div>
755
755
<hr>
756
756
<div class="refsect2" lang="en">
757
 
<a name="id2858676"></a><h3>
 
757
<a name="id2832550"></a><h3>
758
758
<a name="G-GINT64-MODIFIER:CAPS"></a>G_GINT64_MODIFIER</h3>
759
 
<a class="indexterm" name="id2858691"></a><pre class="programlisting">#define G_GINT64_MODIFIER "ll"
 
759
<a class="indexterm" name="id2832566"></a><pre class="programlisting">#define G_GINT64_MODIFIER "ll"
760
760
</pre>
761
761
<p>
762
762
The platform dependent length modifier for constructing <code class="function">printf()</code> conversion
777
777
</div>
778
778
<hr>
779
779
<div class="refsect2" lang="en">
780
 
<a name="id2858767"></a><h3>
 
780
<a name="id2832641"></a><h3>
781
781
<a name="G-GINT64-FORMAT:CAPS"></a>G_GINT64_FORMAT</h3>
782
 
<a class="indexterm" name="id2858780"></a><pre class="programlisting">#define G_GINT64_FORMAT "lli"
 
782
<a class="indexterm" name="id2832654"></a><pre class="programlisting">#define G_GINT64_FORMAT "lli"
783
783
</pre>
784
784
<p>
785
785
This is the platform dependent conversion specifier for scanning and
798
798
</div>
799
799
<hr>
800
800
<div class="refsect2" lang="en">
801
 
<a name="id2858874"></a><h3>
 
801
<a name="id2832748"></a><h3>
802
802
<a name="G-GUINT64-FORMAT:CAPS"></a>G_GUINT64_FORMAT</h3>
803
 
<a class="indexterm" name="id2858887"></a><pre class="programlisting">#define G_GUINT64_FORMAT "llu"
 
803
<a class="indexterm" name="id2832761"></a><pre class="programlisting">#define G_GUINT64_FORMAT "llu"
804
804
</pre>
805
805
<p>
806
806
This is the platform dependent conversion specifier for scanning and
819
819
</div>
820
820
<hr>
821
821
<div class="refsect2" lang="en">
822
 
<a name="id2858980"></a><h3>
 
822
<a name="id2832854"></a><h3>
823
823
<a name="G-GSIZE-MODIFIER:CAPS"></a>G_GSIZE_MODIFIER</h3>
824
 
<a class="indexterm" name="id2858995"></a><pre class="programlisting">#define G_GSIZE_MODIFIER ""
 
824
<a class="indexterm" name="id2832869"></a><pre class="programlisting">#define G_GSIZE_MODIFIER ""
825
825
</pre>
826
826
<p>
827
827
The platform dependent length modifier for constructing <code class="function">printf()</code> conversion
834
834
</div>
835
835
<hr>
836
836
<div class="refsect2" lang="en">
837
 
<a name="id2859053"></a><h3>
 
837
<a name="id2832927"></a><h3>
838
838
<a name="G-GSIZE-FORMAT:CAPS"></a>G_GSIZE_FORMAT</h3>
839
 
<a class="indexterm" name="id2859068"></a><pre class="programlisting">#define G_GSIZE_FORMAT "u"
 
839
<a class="indexterm" name="id2832942"></a><pre class="programlisting">#define G_GSIZE_FORMAT "u"
840
840
</pre>
841
841
<p>
842
842
This is the platform dependent conversion specifier for scanning and
849
849
</div>
850
850
<hr>
851
851
<div class="refsect2" lang="en">
852
 
<a name="id2859108"></a><h3>
 
852
<a name="id2832983"></a><h3>
853
853
<a name="G-GSSIZE-FORMAT:CAPS"></a>G_GSSIZE_FORMAT</h3>
854
 
<a class="indexterm" name="id2859124"></a><pre class="programlisting">#define G_GSSIZE_FORMAT "i"
 
854
<a class="indexterm" name="id2832998"></a><pre class="programlisting">#define G_GSSIZE_FORMAT "i"
855
855
</pre>
856
856
<p>
857
857
This is the platform dependent conversion specifier for scanning and