~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-Limits-of-Basic-Types.html

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-02-15 13:00:43 UTC
  • mfrom: (1.3.1 upstream) (69.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20090215130043-q47fbt3owmt42m2f
Tags: 2.18.4-2
* Release to unstable
* debian/rules:
- bump SHVER, since we are already forcing a 2.18.0 dependecy on the
  symbols introduced in the development versions
* debian/control.in:
- added Homepage and Vcs-* control fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Limits of Basic Types</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
 
<link rel="start" href="index.html" title="GLib Reference Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
 
7
<link rel="home" href="index.html" title="GLib Reference Manual">
8
8
<link rel="up" href="glib-fundamentals.html" title="GLib Fundamentals">
9
9
<link rel="prev" href="glib-Basic-Types.html" title="Basic Types">
10
10
<link rel="next" href="glib-Standard-Macros.html" title="Standard Macros">
11
 
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="glib.html" title="GLib Overview">
14
14
<link rel="chapter" href="glib-fundamentals.html" title="GLib Fundamentals">
26
26
<link rel="index" href="ix08.html" title="Index of new symbols in 2.12">
27
27
<link rel="index" href="ix09.html" title="Index of new symbols in 2.14">
28
28
<link rel="index" href="ix10.html" title="Index of new symbols in 2.16">
 
29
<link rel="index" href="ix11.html" title="Index of new symbols in 2.18">
29
30
</head>
30
31
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
31
32
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
36
37
<th width="100%" align="center">GLib Reference Manual</th>
37
38
<td><a accesskey="n" href="glib-Standard-Macros.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
38
39
</tr>
39
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2883390" class="shortcut">Top</a>
40
 
                  &#160;|&#160;
41
 
                  <a href="#id2883642" class="shortcut">Description</a></nobr></td></tr>
 
40
<tr><td colspan="5" class="shortcuts">
 
41
<a href="#glib-Limits-of-Basic-Types.synopsis" class="shortcut">Top</a>
 
42
                 | 
 
43
                <a href="#glib-Limits-of-Basic-Types.description" class="shortcut">Description</a>
 
44
</td></tr>
42
45
</table>
43
46
<div class="refentry" lang="en">
44
47
<a name="glib-Limits-of-Basic-Types"></a><div class="titlepage"></div>
45
48
<div class="refnamediv"><table width="100%"><tr>
46
49
<td valign="top">
47
 
<h2>
48
 
<a name="id2883390"></a><span class="refentrytitle">Limits of Basic Types</span>
49
 
</h2>
50
 
<p>Limits of Basic Types &#8212; portable method of determining the limits of the standard types</p>
 
50
<h2><span class="refentrytitle"><a name="glib-Limits-of-Basic-Types.top_of_page"></a>Limits of Basic Types</span></h2>
 
51
<p>Limits of Basic Types — portable method of determining the limits of the standard types</p>
51
52
</td>
52
53
<td valign="top" align="right"></td>
53
54
</tr></table></div>
54
55
<div class="refsynopsisdiv">
55
 
<h2>Synopsis</h2>
 
56
<a name="glib-Limits-of-Basic-Types.synopsis"></a><h2>Synopsis</h2>
56
57
<pre class="synopsis">
57
58
 
58
59
#include &lt;glib.h&gt;
59
60
 
60
 
 
61
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MININT:CAPS">G_MININT</a>
62
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXINT:CAPS">G_MAXINT</a>
63
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUINT:CAPS">G_MAXUINT</a>
64
 
 
65
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINSHORT:CAPS">G_MINSHORT</a>
66
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXSHORT:CAPS">G_MAXSHORT</a>
67
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUSHORT:CAPS">G_MAXUSHORT</a>
68
 
 
69
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINLONG:CAPS">G_MINLONG</a>
70
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXLONG:CAPS">G_MAXLONG</a>
71
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXULONG:CAPS">G_MAXULONG</a>
72
 
 
73
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MININT8:CAPS">G_MININT8</a>
74
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXINT8:CAPS">G_MAXINT8</a>
75
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUINT8:CAPS">G_MAXUINT8</a>
76
 
 
77
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MININT16:CAPS">G_MININT16</a>
78
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXINT16:CAPS">G_MAXINT16</a>
79
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUINT16:CAPS">G_MAXUINT16</a>
80
 
 
81
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MININT32:CAPS">G_MININT32</a>
82
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXINT32:CAPS">G_MAXINT32</a>
83
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUINT32:CAPS">G_MAXUINT32</a>
84
 
 
85
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MININT64:CAPS">G_MININT64</a>
86
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXINT64:CAPS">G_MAXINT64</a>
87
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUINT64:CAPS">G_MAXUINT64</a>
88
 
 
89
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXSIZE:CAPS">G_MAXSIZE</a>
90
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINSSIZE:CAPS">G_MINSSIZE</a>
91
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXSSIZE:CAPS">G_MAXSSIZE</a>
92
 
 
93
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINOFFSET:CAPS">G_MINOFFSET</a>
94
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXOFFSET:CAPS">G_MAXOFFSET</a>
95
 
 
96
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINFLOAT:CAPS">G_MINFLOAT</a>
97
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXFLOAT:CAPS">G_MAXFLOAT</a>
98
 
 
99
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINDOUBLE:CAPS">G_MINDOUBLE</a>
100
 
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXDOUBLE:CAPS">G_MAXDOUBLE</a>
 
61
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MININT--CAPS" title="G_MININT">G_MININT</a>
 
62
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXINT--CAPS" title="G_MAXINT">G_MAXINT</a>
 
63
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUINT--CAPS" title="G_MAXUINT">G_MAXUINT</a>
 
64
 
 
65
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINSHORT--CAPS" title="G_MINSHORT">G_MINSHORT</a>
 
66
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXSHORT--CAPS" title="G_MAXSHORT">G_MAXSHORT</a>
 
67
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUSHORT--CAPS" title="G_MAXUSHORT">G_MAXUSHORT</a>
 
68
 
 
69
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINLONG--CAPS" title="G_MINLONG">G_MINLONG</a>
 
70
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXLONG--CAPS" title="G_MAXLONG">G_MAXLONG</a>
 
71
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXULONG--CAPS" title="G_MAXULONG">G_MAXULONG</a>
 
72
 
 
73
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MININT8--CAPS" title="G_MININT8">G_MININT8</a>
 
74
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXINT8--CAPS" title="G_MAXINT8">G_MAXINT8</a>
 
75
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUINT8--CAPS" title="G_MAXUINT8">G_MAXUINT8</a>
 
76
 
 
77
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MININT16--CAPS" title="G_MININT16">G_MININT16</a>
 
78
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXINT16--CAPS" title="G_MAXINT16">G_MAXINT16</a>
 
79
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUINT16--CAPS" title="G_MAXUINT16">G_MAXUINT16</a>
 
80
 
 
81
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MININT32--CAPS" title="G_MININT32">G_MININT32</a>
 
82
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXINT32--CAPS" title="G_MAXINT32">G_MAXINT32</a>
 
83
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUINT32--CAPS" title="G_MAXUINT32">G_MAXUINT32</a>
 
84
 
 
85
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MININT64--CAPS" title="G_MININT64">G_MININT64</a>
 
86
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXINT64--CAPS" title="G_MAXINT64">G_MAXINT64</a>
 
87
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXUINT64--CAPS" title="G_MAXUINT64">G_MAXUINT64</a>
 
88
 
 
89
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXSIZE--CAPS" title="G_MAXSIZE">G_MAXSIZE</a>
 
90
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINSSIZE--CAPS" title="G_MINSSIZE">G_MINSSIZE</a>
 
91
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXSSIZE--CAPS" title="G_MAXSSIZE">G_MAXSSIZE</a>
 
92
 
 
93
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINOFFSET--CAPS" title="G_MINOFFSET">G_MINOFFSET</a>
 
94
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXOFFSET--CAPS" title="G_MAXOFFSET">G_MAXOFFSET</a>
 
95
 
 
96
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINFLOAT--CAPS" title="G_MINFLOAT">G_MINFLOAT</a>
 
97
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXFLOAT--CAPS" title="G_MAXFLOAT">G_MAXFLOAT</a>
 
98
 
 
99
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MINDOUBLE--CAPS" title="G_MINDOUBLE">G_MINDOUBLE</a>
 
100
#define             <a class="link" href="glib-Limits-of-Basic-Types.html#G-MAXDOUBLE--CAPS" title="G_MAXDOUBLE">G_MAXDOUBLE</a>
101
101
</pre>
102
102
</div>
103
103
<div class="refsect1" lang="en">
104
 
<a name="id2883642"></a><h2>Description</h2>
 
104
<a name="glib-Limits-of-Basic-Types.description"></a><h2>Description</h2>
105
105
<p>
106
106
These macros provide a portable method to determine the limits of some of
107
107
the standard integer and floating point types.
108
108
</p>
109
109
</div>
110
110
<div class="refsect1" lang="en">
111
 
<a name="id2883658"></a><h2>Details</h2>
112
 
<div class="refsect2" lang="en">
113
 
<a name="id2883668"></a><h3>
114
 
<a name="G-MININT:CAPS"></a>G_MININT</h3>
115
 
<a class="indexterm" name="id2883681"></a><pre class="programlisting">#define G_MININT  INT_MIN
116
 
</pre>
117
 
<p>
118
 
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint"><span class="type">gint</span></a>.
119
 
</p>
120
 
</div>
121
 
<hr>
122
 
<div class="refsect2" lang="en">
123
 
<a name="id2883704"></a><h3>
124
 
<a name="G-MAXINT:CAPS"></a>G_MAXINT</h3>
125
 
<a class="indexterm" name="id2883717"></a><pre class="programlisting">#define G_MAXINT  INT_MAX
126
 
</pre>
127
 
<p>
128
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint"><span class="type">gint</span></a>.
129
 
</p>
130
 
</div>
131
 
<hr>
132
 
<div class="refsect2" lang="en">
133
 
<a name="id2883740"></a><h3>
134
 
<a name="G-MAXUINT:CAPS"></a>G_MAXUINT</h3>
135
 
<a class="indexterm" name="id2883753"></a><pre class="programlisting">#define G_MAXUINT UINT_MAX
136
 
</pre>
137
 
<p>
138
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#guint"><span class="type">guint</span></a>.
139
 
</p>
140
 
</div>
141
 
<hr>
142
 
<div class="refsect2" lang="en">
143
 
<a name="id2883776"></a><h3>
144
 
<a name="G-MINSHORT:CAPS"></a>G_MINSHORT</h3>
145
 
<a class="indexterm" name="id2883789"></a><pre class="programlisting">#define G_MINSHORT        SHRT_MIN
146
 
</pre>
147
 
<p>
148
 
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gshort"><span class="type">gshort</span></a>.
149
 
</p>
150
 
</div>
151
 
<hr>
152
 
<div class="refsect2" lang="en">
153
 
<a name="id2883812"></a><h3>
154
 
<a name="G-MAXSHORT:CAPS"></a>G_MAXSHORT</h3>
155
 
<a class="indexterm" name="id2883825"></a><pre class="programlisting">#define G_MAXSHORT        SHRT_MAX
156
 
</pre>
157
 
<p>
158
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gshort"><span class="type">gshort</span></a>.
159
 
</p>
160
 
</div>
161
 
<hr>
162
 
<div class="refsect2" lang="en">
163
 
<a name="id2883848"></a><h3>
164
 
<a name="G-MAXUSHORT:CAPS"></a>G_MAXUSHORT</h3>
165
 
<a class="indexterm" name="id2883861"></a><pre class="programlisting">#define G_MAXUSHORT       USHRT_MAX
166
 
</pre>
167
 
<p>
168
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gushort"><span class="type">gushort</span></a>.
169
 
</p>
170
 
</div>
171
 
<hr>
172
 
<div class="refsect2" lang="en">
173
 
<a name="id2883885"></a><h3>
174
 
<a name="G-MINLONG:CAPS"></a>G_MINLONG</h3>
175
 
<a class="indexterm" name="id2883897"></a><pre class="programlisting">#define G_MINLONG LONG_MIN
176
 
</pre>
177
 
<p>
178
 
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#glong"><span class="type">glong</span></a>.
179
 
</p>
180
 
</div>
181
 
<hr>
182
 
<div class="refsect2" lang="en">
183
 
<a name="id2883921"></a><h3>
184
 
<a name="G-MAXLONG:CAPS"></a>G_MAXLONG</h3>
185
 
<a class="indexterm" name="id2883933"></a><pre class="programlisting">#define G_MAXLONG LONG_MAX
186
 
</pre>
187
 
<p>
188
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#glong"><span class="type">glong</span></a>.
189
 
</p>
190
 
</div>
191
 
<hr>
192
 
<div class="refsect2" lang="en">
193
 
<a name="id2883956"></a><h3>
194
 
<a name="G-MAXULONG:CAPS"></a>G_MAXULONG</h3>
195
 
<a class="indexterm" name="id2883969"></a><pre class="programlisting">#define G_MAXULONG        ULONG_MAX
196
 
</pre>
197
 
<p>
198
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gulong"><span class="type">gulong</span></a>.
199
 
</p>
200
 
</div>
201
 
<hr>
202
 
<div class="refsect2" lang="en">
203
 
<a name="id2883992"></a><h3>
204
 
<a name="G-MININT8:CAPS"></a>G_MININT8</h3>
205
 
<a class="indexterm" name="id2884007"></a><pre class="programlisting">#define G_MININT8 ((gint8)  0x80)
206
 
</pre>
207
 
<p>
208
 
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint8"><span class="type">gint8</span></a>.
209
 
</p>
210
 
<p class="since">Since 2.4
211
 
 
212
 
 
213
 
</p>
214
 
</div>
215
 
<hr>
216
 
<div class="refsect2" lang="en">
217
 
<a name="id2884038"></a><h3>
218
 
<a name="G-MAXINT8:CAPS"></a>G_MAXINT8</h3>
219
 
<a class="indexterm" name="id2884052"></a><pre class="programlisting">#define G_MAXINT8 ((gint8)  0x7f)
220
 
</pre>
221
 
<p>
222
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint8"><span class="type">gint8</span></a>.
223
 
</p>
224
 
<p class="since">Since 2.4
225
 
 
226
 
 
227
 
</p>
228
 
</div>
229
 
<hr>
230
 
<div class="refsect2" lang="en">
231
 
<a name="id2884083"></a><h3>
232
 
<a name="G-MAXUINT8:CAPS"></a>G_MAXUINT8</h3>
233
 
<a class="indexterm" name="id2884098"></a><pre class="programlisting">#define G_MAXUINT8        ((guint8) 0xff)
234
 
</pre>
235
 
<p>
236
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#guint8"><span class="type">guint8</span></a>.
237
 
</p>
238
 
<p class="since">Since 2.4
239
 
 
240
 
 
241
 
</p>
242
 
</div>
243
 
<hr>
244
 
<div class="refsect2" lang="en">
245
 
<a name="id2884128"></a><h3>
246
 
<a name="G-MININT16:CAPS"></a>G_MININT16</h3>
247
 
<a class="indexterm" name="id2884143"></a><pre class="programlisting">#define G_MININT16        ((gint16)  0x8000)
248
 
</pre>
249
 
<p>
250
 
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint16"><span class="type">gint16</span></a>.
251
 
</p>
252
 
<p class="since">Since 2.4
253
 
 
254
 
 
255
 
</p>
256
 
</div>
257
 
<hr>
258
 
<div class="refsect2" lang="en">
259
 
<a name="id2884173"></a><h3>
260
 
<a name="G-MAXINT16:CAPS"></a>G_MAXINT16</h3>
261
 
<a class="indexterm" name="id2884188"></a><pre class="programlisting">#define G_MAXINT16        ((gint16)  0x7fff)
262
 
</pre>
263
 
<p>
264
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint16"><span class="type">gint16</span></a>.
265
 
</p>
266
 
<p class="since">Since 2.4
267
 
 
268
 
 
269
 
</p>
270
 
</div>
271
 
<hr>
272
 
<div class="refsect2" lang="en">
273
 
<a name="id2884218"></a><h3>
274
 
<a name="G-MAXUINT16:CAPS"></a>G_MAXUINT16</h3>
275
 
<a class="indexterm" name="id2884234"></a><pre class="programlisting">#define G_MAXUINT16       ((guint16) 0xffff)
276
 
</pre>
277
 
<p>
278
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#guint16"><span class="type">guint16</span></a>.
279
 
</p>
280
 
<p class="since">Since 2.4
281
 
 
282
 
 
283
 
</p>
284
 
</div>
285
 
<hr>
286
 
<div class="refsect2" lang="en">
287
 
<a name="id2884264"></a><h3>
288
 
<a name="G-MININT32:CAPS"></a>G_MININT32</h3>
289
 
<a class="indexterm" name="id2884279"></a><pre class="programlisting">#define G_MININT32        ((gint32)  0x80000000)
290
 
</pre>
291
 
<p>
292
 
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint32"><span class="type">gint32</span></a>.
293
 
</p>
294
 
<p class="since">Since 2.4
295
 
 
296
 
 
297
 
</p>
298
 
</div>
299
 
<hr>
300
 
<div class="refsect2" lang="en">
301
 
<a name="id2884309"></a><h3>
302
 
<a name="G-MAXINT32:CAPS"></a>G_MAXINT32</h3>
303
 
<a class="indexterm" name="id2884324"></a><pre class="programlisting">#define G_MAXINT32        ((gint32)  0x7fffffff)
304
 
</pre>
305
 
<p>
306
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint32"><span class="type">gint32</span></a>.
307
 
</p>
308
 
<p class="since">Since 2.4
309
 
 
310
 
 
311
 
</p>
312
 
</div>
313
 
<hr>
314
 
<div class="refsect2" lang="en">
315
 
<a name="id2884354"></a><h3>
316
 
<a name="G-MAXUINT32:CAPS"></a>G_MAXUINT32</h3>
317
 
<a class="indexterm" name="id2884369"></a><pre class="programlisting">#define G_MAXUINT32       ((guint32) 0xffffffff)
318
 
</pre>
319
 
<p>
320
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#guint32"><span class="type">guint32</span></a>.
321
 
</p>
322
 
<p class="since">Since 2.4
323
 
 
324
 
 
325
 
</p>
326
 
</div>
327
 
<hr>
328
 
<div class="refsect2" lang="en">
329
 
<a name="id2884399"></a><h3>
330
 
<a name="G-MININT64:CAPS"></a>G_MININT64</h3>
331
 
<a class="indexterm" name="id2884412"></a><pre class="programlisting">#define G_MININT64        ((gint64) G_GINT64_CONSTANT(0x8000000000000000))
332
 
</pre>
333
 
<p>
334
 
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>.
335
 
</p>
336
 
</div>
337
 
<hr>
338
 
<div class="refsect2" lang="en">
339
 
<a name="id2884436"></a><h3>
340
 
<a name="G-MAXINT64:CAPS"></a>G_MAXINT64</h3>
341
 
<a class="indexterm" name="id2884449"></a><pre class="programlisting">#define G_MAXINT64        G_GINT64_CONSTANT(0x7fffffffffffffff)
342
 
</pre>
343
 
<p>
344
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>.
345
 
</p>
346
 
</div>
347
 
<hr>
348
 
<div class="refsect2" lang="en">
349
 
<a name="id2884472"></a><h3>
350
 
<a name="G-MAXUINT64:CAPS"></a>G_MAXUINT64</h3>
351
 
<a class="indexterm" name="id2884485"></a><pre class="programlisting">#define G_MAXUINT64       G_GINT64_CONSTANT(0xffffffffffffffffU)
352
 
</pre>
353
 
<p>
354
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#guint64"><span class="type">guint64</span></a>.
355
 
</p>
356
 
</div>
357
 
<hr>
358
 
<div class="refsect2" lang="en">
359
 
<a name="id2884509"></a><h3>
360
 
<a name="G-MAXSIZE:CAPS"></a>G_MAXSIZE</h3>
361
 
<a class="indexterm" name="id2884524"></a><pre class="programlisting">#define G_MAXSIZE G_MAXUINT
362
 
</pre>
363
 
<p>
364
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gsize"><span class="type">gsize</span></a>.
365
 
</p>
366
 
<p class="since">Since 2.4
367
 
 
368
 
 
369
 
</p>
370
 
</div>
371
 
<hr>
372
 
<div class="refsect2" lang="en">
373
 
<a name="id2884554"></a><h3>
374
 
<a name="G-MINSSIZE:CAPS"></a>G_MINSSIZE</h3>
375
 
<a class="indexterm" name="id2884569"></a><pre class="programlisting">#define G_MINSSIZE        G_MININT
376
 
</pre>
377
 
<p>
378
 
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gssize"><span class="type">gssize</span></a>.
379
 
</p>
380
 
<p class="since">Since 2.14
381
 
 
382
 
 
383
 
</p>
384
 
</div>
385
 
<hr>
386
 
<div class="refsect2" lang="en">
387
 
<a name="id2884599"></a><h3>
388
 
<a name="G-MAXSSIZE:CAPS"></a>G_MAXSSIZE</h3>
389
 
<a class="indexterm" name="id2884614"></a><pre class="programlisting">#define G_MAXSSIZE        G_MAXINT
390
 
</pre>
391
 
<p>
392
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gssize"><span class="type">gssize</span></a>.
393
 
</p>
394
 
<p class="since">Since 2.14
395
 
 
396
 
 
397
 
</p>
398
 
</div>
399
 
<hr>
400
 
<div class="refsect2" lang="en">
401
 
<a name="id2884645"></a><h3>
402
 
<a name="G-MINOFFSET:CAPS"></a>G_MINOFFSET</h3>
403
 
<a class="indexterm" name="id2884658"></a><pre class="programlisting">#define G_MINOFFSET       G_MININT64
404
 
</pre>
405
 
<p>
406
 
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#goffset"><span class="type">goffset</span></a>.
407
 
</p>
408
 
</div>
409
 
<hr>
410
 
<div class="refsect2" lang="en">
411
 
<a name="id2884681"></a><h3>
412
 
<a name="G-MAXOFFSET:CAPS"></a>G_MAXOFFSET</h3>
413
 
<a class="indexterm" name="id2884694"></a><pre class="programlisting">#define G_MAXOFFSET       G_MAXINT64
414
 
</pre>
415
 
<p>
416
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#goffset"><span class="type">goffset</span></a>.
417
 
</p>
418
 
</div>
419
 
<hr>
420
 
<div class="refsect2" lang="en">
421
 
<a name="id2884717"></a><h3>
422
 
<a name="G-MINFLOAT:CAPS"></a>G_MINFLOAT</h3>
423
 
<a class="indexterm" name="id2884730"></a><pre class="programlisting">#define G_MINFLOAT        FLT_MIN
424
 
</pre>
425
 
<p>
426
 
The minimum positive value which can be held in a <a class="link" href="glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>.
427
 
</p>
428
 
<p>
429
 
If you are interested in the smallest value which can be held in a <a class="link" href="glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>,
 
111
<a name="glib-Limits-of-Basic-Types.details"></a><h2>Details</h2>
 
112
<div class="refsect2" lang="en">
 
113
<a name="G-MININT--CAPS"></a><h3>G_MININT</h3>
 
114
<pre class="programlisting">#define G_MININT    INT_MIN
 
115
</pre>
 
116
<p>
 
117
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a>.
 
118
</p>
 
119
</div>
 
120
<hr>
 
121
<div class="refsect2" lang="en">
 
122
<a name="G-MAXINT--CAPS"></a><h3>G_MAXINT</h3>
 
123
<pre class="programlisting">#define G_MAXINT    INT_MAX
 
124
</pre>
 
125
<p>
 
126
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a>.
 
127
</p>
 
128
</div>
 
129
<hr>
 
130
<div class="refsect2" lang="en">
 
131
<a name="G-MAXUINT--CAPS"></a><h3>G_MAXUINT</h3>
 
132
<pre class="programlisting">#define G_MAXUINT   UINT_MAX
 
133
</pre>
 
134
<p>
 
135
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a>.
 
136
</p>
 
137
</div>
 
138
<hr>
 
139
<div class="refsect2" lang="en">
 
140
<a name="G-MINSHORT--CAPS"></a><h3>G_MINSHORT</h3>
 
141
<pre class="programlisting">#define G_MINSHORT  SHRT_MIN
 
142
</pre>
 
143
<p>
 
144
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gshort" title="gshort"><span class="type">gshort</span></a>.
 
145
</p>
 
146
</div>
 
147
<hr>
 
148
<div class="refsect2" lang="en">
 
149
<a name="G-MAXSHORT--CAPS"></a><h3>G_MAXSHORT</h3>
 
150
<pre class="programlisting">#define G_MAXSHORT  SHRT_MAX
 
151
</pre>
 
152
<p>
 
153
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gshort" title="gshort"><span class="type">gshort</span></a>.
 
154
</p>
 
155
</div>
 
156
<hr>
 
157
<div class="refsect2" lang="en">
 
158
<a name="G-MAXUSHORT--CAPS"></a><h3>G_MAXUSHORT</h3>
 
159
<pre class="programlisting">#define G_MAXUSHORT USHRT_MAX
 
160
</pre>
 
161
<p>
 
162
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gushort" title="gushort"><span class="type">gushort</span></a>.
 
163
</p>
 
164
</div>
 
165
<hr>
 
166
<div class="refsect2" lang="en">
 
167
<a name="G-MINLONG--CAPS"></a><h3>G_MINLONG</h3>
 
168
<pre class="programlisting">#define G_MINLONG   LONG_MIN
 
169
</pre>
 
170
<p>
 
171
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#glong" title="glong"><span class="type">glong</span></a>.
 
172
</p>
 
173
</div>
 
174
<hr>
 
175
<div class="refsect2" lang="en">
 
176
<a name="G-MAXLONG--CAPS"></a><h3>G_MAXLONG</h3>
 
177
<pre class="programlisting">#define G_MAXLONG   LONG_MAX
 
178
</pre>
 
179
<p>
 
180
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#glong" title="glong"><span class="type">glong</span></a>.
 
181
</p>
 
182
</div>
 
183
<hr>
 
184
<div class="refsect2" lang="en">
 
185
<a name="G-MAXULONG--CAPS"></a><h3>G_MAXULONG</h3>
 
186
<pre class="programlisting">#define G_MAXULONG  ULONG_MAX
 
187
</pre>
 
188
<p>
 
189
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a>.
 
190
</p>
 
191
</div>
 
192
<hr>
 
193
<div class="refsect2" lang="en">
 
194
<a name="G-MININT8--CAPS"></a><h3>G_MININT8</h3>
 
195
<pre class="programlisting">#define G_MININT8   ((gint8)  0x80)
 
196
</pre>
 
197
<p>
 
198
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint8" title="gint8"><span class="type">gint8</span></a>.
 
199
</p>
 
200
<p class="since">Since 2.4</p>
 
201
</div>
 
202
<hr>
 
203
<div class="refsect2" lang="en">
 
204
<a name="G-MAXINT8--CAPS"></a><h3>G_MAXINT8</h3>
 
205
<pre class="programlisting">#define G_MAXINT8   ((gint8)  0x7f)
 
206
</pre>
 
207
<p>
 
208
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint8" title="gint8"><span class="type">gint8</span></a>.
 
209
</p>
 
210
<p class="since">Since 2.4</p>
 
211
</div>
 
212
<hr>
 
213
<div class="refsect2" lang="en">
 
214
<a name="G-MAXUINT8--CAPS"></a><h3>G_MAXUINT8</h3>
 
215
<pre class="programlisting">#define G_MAXUINT8  ((guint8) 0xff)
 
216
</pre>
 
217
<p>
 
218
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#guint8" title="guint8"><span class="type">guint8</span></a>.
 
219
</p>
 
220
<p class="since">Since 2.4</p>
 
221
</div>
 
222
<hr>
 
223
<div class="refsect2" lang="en">
 
224
<a name="G-MININT16--CAPS"></a><h3>G_MININT16</h3>
 
225
<pre class="programlisting">#define G_MININT16  ((gint16)  0x8000)
 
226
</pre>
 
227
<p>
 
228
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a>.
 
229
</p>
 
230
<p class="since">Since 2.4</p>
 
231
</div>
 
232
<hr>
 
233
<div class="refsect2" lang="en">
 
234
<a name="G-MAXINT16--CAPS"></a><h3>G_MAXINT16</h3>
 
235
<pre class="programlisting">#define G_MAXINT16  ((gint16)  0x7fff)
 
236
</pre>
 
237
<p>
 
238
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a>.
 
239
</p>
 
240
<p class="since">Since 2.4</p>
 
241
</div>
 
242
<hr>
 
243
<div class="refsect2" lang="en">
 
244
<a name="G-MAXUINT16--CAPS"></a><h3>G_MAXUINT16</h3>
 
245
<pre class="programlisting">#define G_MAXUINT16 ((guint16) 0xffff)
 
246
</pre>
 
247
<p>
 
248
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a>.
 
249
</p>
 
250
<p class="since">Since 2.4</p>
 
251
</div>
 
252
<hr>
 
253
<div class="refsect2" lang="en">
 
254
<a name="G-MININT32--CAPS"></a><h3>G_MININT32</h3>
 
255
<pre class="programlisting">#define G_MININT32  ((gint32)  0x80000000)
 
256
</pre>
 
257
<p>
 
258
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a>.
 
259
</p>
 
260
<p class="since">Since 2.4</p>
 
261
</div>
 
262
<hr>
 
263
<div class="refsect2" lang="en">
 
264
<a name="G-MAXINT32--CAPS"></a><h3>G_MAXINT32</h3>
 
265
<pre class="programlisting">#define G_MAXINT32  ((gint32)  0x7fffffff)
 
266
</pre>
 
267
<p>
 
268
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a>.
 
269
</p>
 
270
<p class="since">Since 2.4</p>
 
271
</div>
 
272
<hr>
 
273
<div class="refsect2" lang="en">
 
274
<a name="G-MAXUINT32--CAPS"></a><h3>G_MAXUINT32</h3>
 
275
<pre class="programlisting">#define G_MAXUINT32 ((guint32) 0xffffffff)
 
276
</pre>
 
277
<p>
 
278
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a>.
 
279
</p>
 
280
<p class="since">Since 2.4</p>
 
281
</div>
 
282
<hr>
 
283
<div class="refsect2" lang="en">
 
284
<a name="G-MININT64--CAPS"></a><h3>G_MININT64</h3>
 
285
<pre class="programlisting">#define G_MININT64  ((gint64) G_GINT64_CONSTANT(0x8000000000000000))
 
286
</pre>
 
287
<p>
 
288
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a>.
 
289
</p>
 
290
</div>
 
291
<hr>
 
292
<div class="refsect2" lang="en">
 
293
<a name="G-MAXINT64--CAPS"></a><h3>G_MAXINT64</h3>
 
294
<pre class="programlisting">#define G_MAXINT64  G_GINT64_CONSTANT(0x7fffffffffffffff)
 
295
</pre>
 
296
<p>
 
297
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a>.
 
298
</p>
 
299
</div>
 
300
<hr>
 
301
<div class="refsect2" lang="en">
 
302
<a name="G-MAXUINT64--CAPS"></a><h3>G_MAXUINT64</h3>
 
303
<pre class="programlisting">#define G_MAXUINT64 G_GINT64_CONSTANT(0xffffffffffffffffU)
 
304
</pre>
 
305
<p>
 
306
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#guint64" title="guint64 ()"><span class="type">guint64</span></a>.
 
307
</p>
 
308
</div>
 
309
<hr>
 
310
<div class="refsect2" lang="en">
 
311
<a name="G-MAXSIZE--CAPS"></a><h3>G_MAXSIZE</h3>
 
312
<pre class="programlisting">#define G_MAXSIZE   G_MAXUINT
 
313
</pre>
 
314
<p>
 
315
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a>.
 
316
</p>
 
317
<p class="since">Since 2.4</p>
 
318
</div>
 
319
<hr>
 
320
<div class="refsect2" lang="en">
 
321
<a name="G-MINSSIZE--CAPS"></a><h3>G_MINSSIZE</h3>
 
322
<pre class="programlisting">#define G_MINSSIZE  G_MININT
 
323
</pre>
 
324
<p>
 
325
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a>.
 
326
</p>
 
327
<p class="since">Since 2.14</p>
 
328
</div>
 
329
<hr>
 
330
<div class="refsect2" lang="en">
 
331
<a name="G-MAXSSIZE--CAPS"></a><h3>G_MAXSSIZE</h3>
 
332
<pre class="programlisting">#define G_MAXSSIZE  G_MAXINT
 
333
</pre>
 
334
<p>
 
335
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a>.
 
336
</p>
 
337
<p class="since">Since 2.14</p>
 
338
</div>
 
339
<hr>
 
340
<div class="refsect2" lang="en">
 
341
<a name="G-MINOFFSET--CAPS"></a><h3>G_MINOFFSET</h3>
 
342
<pre class="programlisting">#define G_MINOFFSET G_MININT64
 
343
</pre>
 
344
<p>
 
345
The minimum value which can be held in a <a class="link" href="glib-Basic-Types.html#goffset" title="goffset"><span class="type">goffset</span></a>.
 
346
</p>
 
347
</div>
 
348
<hr>
 
349
<div class="refsect2" lang="en">
 
350
<a name="G-MAXOFFSET--CAPS"></a><h3>G_MAXOFFSET</h3>
 
351
<pre class="programlisting">#define G_MAXOFFSET G_MAXINT64
 
352
</pre>
 
353
<p>
 
354
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#goffset" title="goffset"><span class="type">goffset</span></a>.
 
355
</p>
 
356
</div>
 
357
<hr>
 
358
<div class="refsect2" lang="en">
 
359
<a name="G-MINFLOAT--CAPS"></a><h3>G_MINFLOAT</h3>
 
360
<pre class="programlisting">#define G_MINFLOAT  FLT_MIN
 
361
</pre>
 
362
<p>
 
363
The minimum positive value which can be held in a <a class="link" href="glib-Basic-Types.html#gfloat" title="gfloat"><span class="type">gfloat</span></a>.
 
364
</p>
 
365
<p>
 
366
If you are interested in the smallest value which can be held in a <a class="link" href="glib-Basic-Types.html#gfloat" title="gfloat"><span class="type">gfloat</span></a>,
430
367
use -G_MAX_FLOAT.
431
368
</p>
432
369
</div>
433
370
<hr>
434
371
<div class="refsect2" lang="en">
435
 
<a name="id2884766"></a><h3>
436
 
<a name="G-MAXFLOAT:CAPS"></a>G_MAXFLOAT</h3>
437
 
<a class="indexterm" name="id2884779"></a><pre class="programlisting">#define G_MAXFLOAT        FLT_MAX
 
372
<a name="G-MAXFLOAT--CAPS"></a><h3>G_MAXFLOAT</h3>
 
373
<pre class="programlisting">#define G_MAXFLOAT  FLT_MAX
438
374
</pre>
439
375
<p>
440
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>.
 
376
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gfloat" title="gfloat"><span class="type">gfloat</span></a>.
441
377
</p>
442
378
</div>
443
379
<hr>
444
380
<div class="refsect2" lang="en">
445
 
<a name="id2884802"></a><h3>
446
 
<a name="G-MINDOUBLE:CAPS"></a>G_MINDOUBLE</h3>
447
 
<a class="indexterm" name="id2884815"></a><pre class="programlisting">#define G_MINDOUBLE       DBL_MIN
 
381
<a name="G-MINDOUBLE--CAPS"></a><h3>G_MINDOUBLE</h3>
 
382
<pre class="programlisting">#define G_MINDOUBLE DBL_MIN
448
383
</pre>
449
384
<p>
450
 
The minimum positive value which can be held in a <a class="link" href="glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>.
 
385
The minimum positive value which can be held in a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a>.
451
386
</p>
452
387
<p>
453
 
If you are interested in the smallest value which can be held in a <a class="link" href="glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>,
 
388
If you are interested in the smallest value which can be held in a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a>,
454
389
use -G_MAXDOUBLE.
455
390
</p>
456
391
</div>
457
392
<hr>
458
393
<div class="refsect2" lang="en">
459
 
<a name="id2884851"></a><h3>
460
 
<a name="G-MAXDOUBLE:CAPS"></a>G_MAXDOUBLE</h3>
461
 
<a class="indexterm" name="id2884864"></a><pre class="programlisting">#define G_MAXDOUBLE       DBL_MAX
 
394
<a name="G-MAXDOUBLE--CAPS"></a><h3>G_MAXDOUBLE</h3>
 
395
<pre class="programlisting">#define G_MAXDOUBLE DBL_MAX
462
396
</pre>
463
397
<p>
464
 
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>.
 
398
The maximum value which can be held in a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a>.
465
399
</p>
466
400
</div>
467
401
</div>
468
 
<div class="refsect1" lang="en">
469
 
<a name="id2884889"></a><div class="refsect2" lang="en"><a name="id2884890"></a></div>
 
402
</div>
 
403
<div class="footer">
470
404
<hr>
471
 
<div class="refsect2" lang="en"><a name="id2884891"></a></div>
472
 
</div>
473
 
</div>
 
405
          Generated by GTK-Doc V1.11</div>
474
406
</body>
475
407
</html>