comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/glib-2.0/include/glibconfig.h @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 68:5028fdace37b
1 /* glibconfig.h
2 *
3 * This is a generated file. Please modify 'glibconfig.h.in'
4 */
5
6 #ifndef __GLIBCONFIG_H__
7 #define __GLIBCONFIG_H__
8
9 #include <glib/gmacros.h>
10
11 #include <limits.h>
12 #include <float.h>
13 #define GLIB_HAVE_ALLOCA_H
14
15 /* Specifies that GLib's g_print*() functions wrap the
16 * system printf functions. This is useful to know, for example,
17 * when using glibc's register_printf_function().
18 */
19 #define GLIB_USING_SYSTEM_PRINTF
20
21 /* #undef GLIB_STATIC_COMPILATION */
22 /* #undef GOBJECT_STATIC_COMPILATION */
23
24 G_BEGIN_DECLS
25
26 #define G_MINFLOAT FLT_MIN
27 #define G_MAXFLOAT FLT_MAX
28 #define G_MINDOUBLE DBL_MIN
29 #define G_MAXDOUBLE DBL_MAX
30 #define G_MINSHORT SHRT_MIN
31 #define G_MAXSHORT SHRT_MAX
32 #define G_MAXUSHORT USHRT_MAX
33 #define G_MININT INT_MIN
34 #define G_MAXINT INT_MAX
35 #define G_MAXUINT UINT_MAX
36 #define G_MINLONG LONG_MIN
37 #define G_MAXLONG LONG_MAX
38 #define G_MAXULONG ULONG_MAX
39
40 typedef signed char gint8;
41 typedef unsigned char guint8;
42
43 typedef signed short gint16;
44 typedef unsigned short guint16;
45
46 #define G_GINT16_MODIFIER "h"
47 #define G_GINT16_FORMAT "hi"
48 #define G_GUINT16_FORMAT "hu"
49
50
51 typedef signed int gint32;
52 typedef unsigned int guint32;
53
54 #define G_GINT32_MODIFIER ""
55 #define G_GINT32_FORMAT "i"
56 #define G_GUINT32_FORMAT "u"
57
58
59 #define G_HAVE_GINT64 1 /* deprecated, always true */
60
61 typedef signed long gint64;
62 typedef unsigned long guint64;
63
64 #define G_GINT64_CONSTANT(val) (val##L)
65 #define G_GUINT64_CONSTANT(val) (val##UL)
66
67 #define G_GINT64_MODIFIER "l"
68 #define G_GINT64_FORMAT "li"
69 #define G_GUINT64_FORMAT "lu"
70
71
72 #define GLIB_SIZEOF_VOID_P 8
73 #define GLIB_SIZEOF_LONG 8
74 #define GLIB_SIZEOF_SIZE_T 8
75 #define GLIB_SIZEOF_SSIZE_T 8
76
77 typedef signed long gssize;
78 typedef unsigned long gsize;
79 #define G_GSIZE_MODIFIER "l"
80 #define G_GSSIZE_MODIFIER "l"
81 #define G_GSIZE_FORMAT "lu"
82 #define G_GSSIZE_FORMAT "li"
83
84 #define G_MAXSIZE G_MAXULONG
85 #define G_MINSSIZE G_MINLONG
86 #define G_MAXSSIZE G_MAXLONG
87
88 typedef gint64 goffset;
89 #define G_MINOFFSET G_MININT64
90 #define G_MAXOFFSET G_MAXINT64
91
92 #define G_GOFFSET_MODIFIER G_GINT64_MODIFIER
93 #define G_GOFFSET_FORMAT G_GINT64_FORMAT
94 #define G_GOFFSET_CONSTANT(val) G_GINT64_CONSTANT(val)
95
96 #define G_POLLFD_FORMAT "%d"
97
98 #define GPOINTER_TO_INT(p) ((gint) (glong) (p))
99 #define GPOINTER_TO_UINT(p) ((guint) (gulong) (p))
100
101 #define GINT_TO_POINTER(i) ((gpointer) (glong) (i))
102 #define GUINT_TO_POINTER(u) ((gpointer) (gulong) (u))
103
104 typedef signed long gintptr;
105 typedef unsigned long guintptr;
106
107 #define G_GINTPTR_MODIFIER "l"
108 #define G_GINTPTR_FORMAT "li"
109 #define G_GUINTPTR_FORMAT "lu"
110
111 #define GLIB_MAJOR_VERSION 2
112 #define GLIB_MINOR_VERSION 66
113 #define GLIB_MICRO_VERSION 3
114
115 #define G_OS_UNIX
116
117 #define G_VA_COPY va_copy
118 #define G_VA_COPY_AS_ARRAY 1
119
120
121 #ifndef __cplusplus
122 # define G_HAVE_ISO_VARARGS 1
123 #endif
124
125 #ifdef __cplusplus
126 # define G_HAVE_ISO_VARARGS 1
127 #endif
128
129 /* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi
130 * is passed ISO vararg support is turned off, and there is no work
131 * around to turn it on, so we unconditionally turn it off.
132 */
133 #if __GNUC__ == 2 && __GNUC_MINOR__ == 95
134 # undef G_HAVE_ISO_VARARGS
135 #endif
136
137 #define G_HAVE_GROWING_STACK 0
138 #define G_HAVE_GNUC_VISIBILITY 1
139
140 #ifndef _MSC_VER
141 # define G_HAVE_GNUC_VARARGS 1
142 #endif
143
144 #if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
145 #define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
146 #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
147 #define G_GNUC_INTERNAL __hidden
148 #elif defined (__GNUC__) && defined (G_HAVE_GNUC_VISIBILITY)
149 #define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
150 #else
151 #define G_GNUC_INTERNAL
152 #endif
153
154 #define G_THREADS_ENABLED
155 #define G_THREADS_IMPL_POSIX
156
157 #define G_ATOMIC_LOCK_FREE
158
159 #define GINT16_TO_LE(val) ((gint16) (val))
160 #define GUINT16_TO_LE(val) ((guint16) (val))
161 #define GINT16_TO_BE(val) ((gint16) GUINT16_SWAP_LE_BE (val))
162 #define GUINT16_TO_BE(val) (GUINT16_SWAP_LE_BE (val))
163
164 #define GINT32_TO_LE(val) ((gint32) (val))
165 #define GUINT32_TO_LE(val) ((guint32) (val))
166 #define GINT32_TO_BE(val) ((gint32) GUINT32_SWAP_LE_BE (val))
167 #define GUINT32_TO_BE(val) (GUINT32_SWAP_LE_BE (val))
168
169 #define GINT64_TO_LE(val) ((gint64) (val))
170 #define GUINT64_TO_LE(val) ((guint64) (val))
171 #define GINT64_TO_BE(val) ((gint64) GUINT64_SWAP_LE_BE (val))
172 #define GUINT64_TO_BE(val) (GUINT64_SWAP_LE_BE (val))
173
174 #define GLONG_TO_LE(val) ((glong) GINT64_TO_LE (val))
175 #define GULONG_TO_LE(val) ((gulong) GUINT64_TO_LE (val))
176 #define GLONG_TO_BE(val) ((glong) GINT64_TO_BE (val))
177 #define GULONG_TO_BE(val) ((gulong) GUINT64_TO_BE (val))
178 #define GINT_TO_LE(val) ((gint) GINT32_TO_LE (val))
179 #define GUINT_TO_LE(val) ((guint) GUINT32_TO_LE (val))
180 #define GINT_TO_BE(val) ((gint) GINT32_TO_BE (val))
181 #define GUINT_TO_BE(val) ((guint) GUINT32_TO_BE (val))
182 #define GSIZE_TO_LE(val) ((gsize) GUINT64_TO_LE (val))
183 #define GSSIZE_TO_LE(val) ((gssize) GINT64_TO_LE (val))
184 #define GSIZE_TO_BE(val) ((gsize) GUINT64_TO_BE (val))
185 #define GSSIZE_TO_BE(val) ((gssize) GINT64_TO_BE (val))
186 #define G_BYTE_ORDER G_LITTLE_ENDIAN
187
188 #define GLIB_SYSDEF_POLLIN =1
189 #define GLIB_SYSDEF_POLLOUT =4
190 #define GLIB_SYSDEF_POLLPRI =2
191 #define GLIB_SYSDEF_POLLHUP =16
192 #define GLIB_SYSDEF_POLLERR =8
193 #define GLIB_SYSDEF_POLLNVAL =32
194
195 #define G_MODULE_SUFFIX "so"
196
197 typedef int GPid;
198 #define G_PID_FORMAT "i"
199
200 #define GLIB_SYSDEF_AF_UNIX 1
201 #define GLIB_SYSDEF_AF_INET 2
202 #define GLIB_SYSDEF_AF_INET6 10
203
204 #define GLIB_SYSDEF_MSG_OOB 1
205 #define GLIB_SYSDEF_MSG_PEEK 2
206 #define GLIB_SYSDEF_MSG_DONTROUTE 4
207
208 #define G_DIR_SEPARATOR '/'
209 #define G_DIR_SEPARATOR_S "/"
210 #define G_SEARCHPATH_SEPARATOR ':'
211 #define G_SEARCHPATH_SEPARATOR_S ":"
212
213 G_END_DECLS
214
215 #endif /* __GLIBCONFIG_H__ */