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