@img/sharp-libvips-dev 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/aom/aom_encoder.h +3 -3
- package/include/aom/aomcx.h +17 -8
- package/include/fontconfig/fontconfig.h +5 -3
- package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +0 -5
- package/include/gio-unix-2.0/gio/gunixinputstream.h +0 -5
- package/include/gio-unix-2.0/gio/gunixoutputstream.h +0 -5
- package/include/glib-2.0/gio/gappinfo.h +0 -7
- package/include/glib-2.0/gio/gapplicationcommandline.h +12 -1
- package/include/glib-2.0/gio/gasyncinitable.h +0 -7
- package/include/glib-2.0/gio/gasyncresult.h +0 -6
- package/include/glib-2.0/gio/gbufferedinputstream.h +0 -5
- package/include/glib-2.0/gio/gbufferedoutputstream.h +0 -5
- package/include/glib-2.0/gio/gbytesicon.h +0 -5
- package/include/glib-2.0/gio/gcancellable.h +0 -5
- package/include/glib-2.0/gio/gconverter.h +0 -7
- package/include/glib-2.0/gio/gconverterinputstream.h +0 -6
- package/include/glib-2.0/gio/gconverteroutputstream.h +0 -6
- package/include/glib-2.0/gio/gdatagrambased.h +0 -7
- package/include/glib-2.0/gio/gdatainputstream.h +0 -6
- package/include/glib-2.0/gio/gdataoutputstream.h +0 -6
- package/include/glib-2.0/gio/gdbusinterface.h +0 -8
- package/include/glib-2.0/gio/gdbusinterfaceskeleton.h +0 -8
- package/include/glib-2.0/gio/gdbusmessage.h +2 -1
- package/include/glib-2.0/gio/gdbusobjectmanagerclient.h +0 -8
- package/include/glib-2.0/gio/gdbusobjectmanagerserver.h +0 -8
- package/include/glib-2.0/gio/gdbusobjectproxy.h +0 -8
- package/include/glib-2.0/gio/gdbusobjectskeleton.h +0 -8
- package/include/glib-2.0/gio/gdbusproxy.h +0 -8
- package/include/glib-2.0/gio/gdebugcontroller.h +0 -8
- package/include/glib-2.0/gio/gdebugcontrollerdbus.h +0 -7
- package/include/glib-2.0/gio/gdtlsserverconnection.h +0 -8
- package/include/glib-2.0/gio/gemblem.h +0 -5
- package/include/glib-2.0/gio/gemblemedicon.h +0 -5
- package/include/glib-2.0/gio/gfile.h +0 -10
- package/include/glib-2.0/gio/gfileenumerator.h +0 -5
- package/include/glib-2.0/gio/gfileicon.h +0 -5
- package/include/glib-2.0/gio/gfileinfo.h +0 -5
- package/include/glib-2.0/gio/gfileinputstream.h +0 -8
- package/include/glib-2.0/gio/gfileiostream.h +0 -8
- package/include/glib-2.0/gio/gfilemonitor.h +0 -5
- package/include/glib-2.0/gio/gfilenamecompleter.h +0 -5
- package/include/glib-2.0/gio/gfileoutputstream.h +0 -8
- package/include/glib-2.0/gio/gfilterinputstream.h +0 -5
- package/include/glib-2.0/gio/gfilteroutputstream.h +0 -5
- package/include/glib-2.0/gio/gicon.h +0 -5
- package/include/glib-2.0/gio/ginitable.h +0 -7
- package/include/glib-2.0/gio/ginputstream.h +0 -5
- package/include/glib-2.0/gio/gio-autocleanups.h +4 -0
- package/include/glib-2.0/gio/gio-visibility.h +34 -0
- package/include/glib-2.0/gio/gioenums.h +6 -1
- package/include/glib-2.0/gio/giomodule.h +0 -5
- package/include/glib-2.0/gio/giostream.h +0 -5
- package/include/glib-2.0/gio/giotypes.h +5 -107
- package/include/glib-2.0/gio/gloadableicon.h +0 -6
- package/include/glib-2.0/gio/gmemoryinputstream.h +0 -5
- package/include/glib-2.0/gio/gmemoryoutputstream.h +0 -5
- package/include/glib-2.0/gio/gmountoperation.h +0 -6
- package/include/glib-2.0/gio/gnetworking.h +4 -0
- package/include/glib-2.0/gio/goutputstream.h +0 -9
- package/include/glib-2.0/gio/gpollableinputstream.h +0 -7
- package/include/glib-2.0/gio/gpollableoutputstream.h +0 -7
- package/include/glib-2.0/gio/gproxy.h +0 -7
- package/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -8
- package/include/glib-2.0/gio/gseekable.h +0 -5
- package/include/glib-2.0/gio/gsettingsbackend.h +0 -5
- package/include/glib-2.0/gio/gsimpleactiongroup.h +0 -7
- package/include/glib-2.0/gio/gsimpleasyncresult.h +0 -5
- package/include/glib-2.0/gio/gsimpleproxyresolver.h +0 -5
- package/include/glib-2.0/gio/gsocket.h +13 -0
- package/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -6
- package/include/glib-2.0/gio/gsocketconnectable.h +0 -5
- package/include/glib-2.0/gio/gtask.h +12 -0
- package/include/glib-2.0/gio/gthemedicon.h +0 -5
- package/include/glib-2.0/gio/gtlsserverconnection.h +0 -8
- package/include/glib-2.0/gio/gunixcredentialsmessage.h +0 -8
- package/include/glib-2.0/gio/gvfs.h +0 -5
- package/include/glib-2.0/gio/gvolume.h +2 -2
- package/include/glib-2.0/gio/gvolumemonitor.h +0 -5
- package/include/glib-2.0/girepository/gi-visibility.h +986 -0
- package/include/glib-2.0/girepository/giarginfo.h +83 -0
- package/include/glib-2.0/girepository/gibaseinfo.h +103 -0
- package/include/glib-2.0/girepository/gicallableinfo.h +109 -0
- package/include/glib-2.0/girepository/gicallbackinfo.h +45 -0
- package/include/glib-2.0/girepository/giconstantinfo.h +57 -0
- package/include/glib-2.0/girepository/gienuminfo.h +83 -0
- package/include/glib-2.0/girepository/gifieldinfo.h +69 -0
- package/include/glib-2.0/girepository/gifunctioninfo.h +102 -0
- package/include/glib-2.0/girepository/giinterfaceinfo.h +105 -0
- package/include/glib-2.0/girepository/giobjectinfo.h +215 -0
- package/include/glib-2.0/girepository/gipropertyinfo.h +62 -0
- package/include/glib-2.0/girepository/giregisteredtypeinfo.h +64 -0
- package/include/glib-2.0/girepository/girepository.h +256 -0
- package/include/glib-2.0/girepository/girffi.h +128 -0
- package/include/glib-2.0/girepository/gisignalinfo.h +57 -0
- package/include/glib-2.0/girepository/gistructinfo.h +87 -0
- package/include/glib-2.0/girepository/gitypeinfo.h +131 -0
- package/include/glib-2.0/girepository/gitypelib.h +65 -0
- package/include/glib-2.0/girepository/gitypes.h +473 -0
- package/include/glib-2.0/girepository/giunioninfo.h +89 -0
- package/include/glib-2.0/girepository/giunresolvedinfo.h +45 -0
- package/include/glib-2.0/girepository/givfuncinfo.h +73 -0
- package/include/glib-2.0/glib/deprecated/gcompletion.h +1 -1
- package/include/glib-2.0/glib/deprecated/grel.h +0 -23
- package/include/glib-2.0/glib/deprecated/gthread.h +1 -1
- package/include/glib-2.0/glib/gatomic.h +20 -20
- package/include/glib-2.0/glib/gbookmarkfile.h +39 -1
- package/include/glib-2.0/glib/gchecksum.h +0 -10
- package/include/glib-2.0/glib/gdate.h +0 -9
- package/include/glib-2.0/glib/gdatetime.h +33 -1
- package/include/glib-2.0/glib/gdir.h +5 -0
- package/include/glib-2.0/glib/ghmac.h +0 -9
- package/include/glib-2.0/glib/glib-autocleanups.h +4 -0
- package/include/glib-2.0/glib/glib-visibility.h +34 -0
- package/include/glib-2.0/glib/gmacros.h +1 -0
- package/include/glib-2.0/glib/gmessages.h +3 -0
- package/include/glib-2.0/glib/gpathbuf.h +0 -7
- package/include/glib-2.0/glib/gstdio.h +1 -1
- package/include/glib-2.0/glib/gstrvbuilder.h +4 -8
- package/include/glib-2.0/glib/gtestutils.h +5 -0
- package/include/glib-2.0/glib/gthread.h +25 -0
- package/include/glib-2.0/glib/gunicode.h +12 -2
- package/include/glib-2.0/glib/gvarianttype.h +1 -10
- package/include/glib-2.0/glib/gversionmacros.h +9 -0
- package/include/glib-2.0/glib/gwin32.h +4 -4
- package/include/glib-2.0/glib-unix.h +208 -0
- package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gobject/gbinding.h +0 -8
- package/include/glib-2.0/gobject/gbindinggroup.h +0 -8
- package/include/glib-2.0/gobject/gclosure.h +1 -9
- package/include/glib-2.0/gobject/glib-types.h +33 -0
- package/include/glib-2.0/gobject/gobject-autocleanups.h +4 -0
- package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobject.h +1 -16
- package/include/glib-2.0/gobject/gparam.h +3 -12
- package/include/glib-2.0/gobject/gsignal.h +1 -1
- package/include/glib-2.0/gobject/gsignalgroup.h +0 -8
- package/include/glib-2.0/gobject/gtype.h +53 -20
- package/include/glib-2.0/gobject/gtypemodule.h +0 -7
- package/include/glib-2.0/gobject/gtypeplugin.h +0 -6
- package/include/glib-2.0/gobject/gvaluearray.h +0 -7
- package/include/glib-2.0/gobject/gvaluecollector.h +1 -11
- package/include/glib-2.0/gobject/gvaluetypes.h +2 -0
- package/include/lcms2.h +46 -7
- package/include/lcms2_plugin.h +4 -4
- package/include/libheif/heif_version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/libxml2/libxml/HTMLparser.h +23 -0
- package/include/libxml2/libxml/SAX.h +0 -2
- package/include/libxml2/libxml/SAX2.h +0 -2
- package/include/libxml2/libxml/c14n.h +0 -2
- package/include/libxml2/libxml/dict.h +1 -0
- package/include/libxml2/libxml/encoding.h +16 -14
- package/include/libxml2/libxml/entities.h +4 -0
- package/include/libxml2/libxml/globals.h +15 -503
- package/include/libxml2/libxml/hash.h +57 -61
- package/include/libxml2/libxml/nanoftp.h +2 -2
- package/include/libxml2/libxml/parser.h +128 -18
- package/include/libxml2/libxml/parserInternals.h +1 -0
- package/include/libxml2/libxml/relaxng.h +2 -1
- package/include/libxml2/libxml/schemasInternals.h +1 -0
- package/include/libxml2/libxml/schematron.h +1 -0
- package/include/libxml2/libxml/threads.h +4 -11
- package/include/libxml2/libxml/tree.h +68 -20
- package/include/libxml2/libxml/uri.h +2 -1
- package/include/libxml2/libxml/valid.h +2 -0
- package/include/libxml2/libxml/xmlIO.h +65 -12
- package/include/libxml2/libxml/xmlerror.h +37 -8
- package/include/libxml2/libxml/xmlmemory.h +37 -40
- package/include/libxml2/libxml/xmlreader.h +6 -0
- package/include/libxml2/libxml/xmlregexp.h +2 -9
- package/include/libxml2/libxml/xmlsave.h +9 -0
- package/include/libxml2/libxml/xmlschemas.h +3 -0
- package/include/libxml2/libxml/xmlversion.h +28 -43
- package/include/libxml2/libxml/xpath.h +1 -1
- package/include/libxml2/libxml/xpathInternals.h +2 -1
- package/include/libxml2/libxml/xpointer.h +5 -4
- package/include/pixman-1/pixman-version.h +3 -3
- package/include/pixman-1/pixman.h +9 -2
- package/include/vips/version.h +4 -4
- package/include/zconf.h +3 -0
- package/include/zlib.h +3 -3
- package/package.json +1 -1
- package/versions.json +10 -10
|
@@ -43,29 +43,6 @@ struct _GTuples
|
|
|
43
43
|
guint len;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
/* GRelation
|
|
47
|
-
*
|
|
48
|
-
* Indexed Relations. Imagine a really simple table in a
|
|
49
|
-
* database. Relations are not ordered. This data type is meant for
|
|
50
|
-
* maintaining a N-way mapping.
|
|
51
|
-
*
|
|
52
|
-
* g_relation_new() creates a relation with FIELDS fields
|
|
53
|
-
*
|
|
54
|
-
* g_relation_destroy() frees all resources
|
|
55
|
-
* g_tuples_destroy() frees the result of g_relation_select()
|
|
56
|
-
*
|
|
57
|
-
* g_relation_index() indexes relation FIELD with the provided
|
|
58
|
-
* equality and hash functions. this must be done before any
|
|
59
|
-
* calls to insert are made.
|
|
60
|
-
*
|
|
61
|
-
* g_relation_insert() inserts a new tuple. you are expected to
|
|
62
|
-
* provide the right number of fields.
|
|
63
|
-
*
|
|
64
|
-
* g_relation_delete() deletes all relations with KEY in FIELD
|
|
65
|
-
* g_relation_select() returns ...
|
|
66
|
-
* g_relation_count() counts ...
|
|
67
|
-
*/
|
|
68
|
-
|
|
69
46
|
GLIB_DEPRECATED_IN_2_26
|
|
70
47
|
GRelation* g_relation_new (gint fields);
|
|
71
48
|
GLIB_DEPRECATED_IN_2_26
|
|
@@ -83,16 +83,16 @@ GLIB_AVAILABLE_IN_2_74
|
|
|
83
83
|
gpointer g_atomic_pointer_exchange (void *atomic,
|
|
84
84
|
gpointer newval);
|
|
85
85
|
GLIB_AVAILABLE_IN_ALL
|
|
86
|
-
|
|
86
|
+
gintptr g_atomic_pointer_add (volatile void *atomic,
|
|
87
87
|
gssize val);
|
|
88
88
|
GLIB_AVAILABLE_IN_2_30
|
|
89
|
-
|
|
89
|
+
guintptr g_atomic_pointer_and (volatile void *atomic,
|
|
90
90
|
gsize val);
|
|
91
91
|
GLIB_AVAILABLE_IN_2_30
|
|
92
|
-
|
|
92
|
+
guintptr g_atomic_pointer_or (volatile void *atomic,
|
|
93
93
|
gsize val);
|
|
94
94
|
GLIB_AVAILABLE_IN_ALL
|
|
95
|
-
|
|
95
|
+
guintptr g_atomic_pointer_xor (volatile void *atomic,
|
|
96
96
|
gsize val);
|
|
97
97
|
|
|
98
98
|
GLIB_DEPRECATED_IN_2_30_FOR(g_atomic_int_add)
|
|
@@ -280,34 +280,34 @@ G_END_DECLS
|
|
|
280
280
|
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
|
|
281
281
|
(void) (0 ? (gpointer) *(atomic) : NULL); \
|
|
282
282
|
(void) (0 ? (val) ^ (val) : 1); \
|
|
283
|
-
(
|
|
283
|
+
(gintptr) __atomic_fetch_add ((atomic), (val), __ATOMIC_SEQ_CST); \
|
|
284
284
|
}))
|
|
285
285
|
#define g_atomic_pointer_and(atomic, val) \
|
|
286
286
|
(G_GNUC_EXTENSION ({ \
|
|
287
|
-
|
|
287
|
+
guintptr *gapa_atomic = (guintptr *) (atomic); \
|
|
288
288
|
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
|
|
289
|
-
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (
|
|
289
|
+
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (guintptr)); \
|
|
290
290
|
(void) (0 ? (gpointer) *(atomic) : NULL); \
|
|
291
291
|
(void) (0 ? (val) ^ (val) : 1); \
|
|
292
|
-
(
|
|
292
|
+
(guintptr) __atomic_fetch_and (gapa_atomic, (val), __ATOMIC_SEQ_CST); \
|
|
293
293
|
}))
|
|
294
294
|
#define g_atomic_pointer_or(atomic, val) \
|
|
295
295
|
(G_GNUC_EXTENSION ({ \
|
|
296
|
-
|
|
296
|
+
guintptr *gapo_atomic = (guintptr *) (atomic); \
|
|
297
297
|
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
|
|
298
|
-
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (
|
|
298
|
+
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (guintptr)); \
|
|
299
299
|
(void) (0 ? (gpointer) *(atomic) : NULL); \
|
|
300
300
|
(void) (0 ? (val) ^ (val) : 1); \
|
|
301
|
-
(
|
|
301
|
+
(guintptr) __atomic_fetch_or (gapo_atomic, (val), __ATOMIC_SEQ_CST); \
|
|
302
302
|
}))
|
|
303
303
|
#define g_atomic_pointer_xor(atomic, val) \
|
|
304
304
|
(G_GNUC_EXTENSION ({ \
|
|
305
|
-
|
|
305
|
+
guintptr *gapx_atomic = (guintptr *) (atomic); \
|
|
306
306
|
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
|
|
307
|
-
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (
|
|
307
|
+
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (guintptr)); \
|
|
308
308
|
(void) (0 ? (gpointer) *(atomic) : NULL); \
|
|
309
309
|
(void) (0 ? (val) ^ (val) : 1); \
|
|
310
|
-
(
|
|
310
|
+
(guintptr) __atomic_fetch_xor (gapx_atomic, (val), __ATOMIC_SEQ_CST); \
|
|
311
311
|
}))
|
|
312
312
|
|
|
313
313
|
#else /* defined(__ATOMIC_SEQ_CST) */
|
|
@@ -374,7 +374,7 @@ G_END_DECLS
|
|
|
374
374
|
(void) (0 ? (gpointer) *(atomic) : NULL); \
|
|
375
375
|
__sync_synchronize (); \
|
|
376
376
|
__asm__ __volatile__ ("" : : : "memory"); \
|
|
377
|
-
*(atomic) = (glib_typeof (*(atomic))) (
|
|
377
|
+
*(atomic) = (glib_typeof (*(atomic))) (guintptr) (newval); \
|
|
378
378
|
}))
|
|
379
379
|
#else /* if !(defined(glib_typeof) */
|
|
380
380
|
#define g_atomic_pointer_set(atomic, newval) \
|
|
@@ -383,7 +383,7 @@ G_END_DECLS
|
|
|
383
383
|
(void) (0 ? (gpointer) *(atomic) : NULL); \
|
|
384
384
|
__sync_synchronize (); \
|
|
385
385
|
__asm__ __volatile__ ("" : : : "memory"); \
|
|
386
|
-
*(atomic) = (gpointer) (
|
|
386
|
+
*(atomic) = (gpointer) (guintptr) (newval); \
|
|
387
387
|
}))
|
|
388
388
|
#endif /* if defined(glib_typeof) */
|
|
389
389
|
|
|
@@ -498,28 +498,28 @@ G_END_DECLS
|
|
|
498
498
|
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
|
|
499
499
|
(void) (0 ? (gpointer) *(atomic) : NULL); \
|
|
500
500
|
(void) (0 ? (val) ^ (val) : 1); \
|
|
501
|
-
(
|
|
501
|
+
(gintptr) __sync_fetch_and_add ((atomic), (val)); \
|
|
502
502
|
}))
|
|
503
503
|
#define g_atomic_pointer_and(atomic, val) \
|
|
504
504
|
(G_GNUC_EXTENSION ({ \
|
|
505
505
|
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
|
|
506
506
|
(void) (0 ? (gpointer) *(atomic) : NULL); \
|
|
507
507
|
(void) (0 ? (val) ^ (val) : 1); \
|
|
508
|
-
(
|
|
508
|
+
(guintptr) __sync_fetch_and_and ((atomic), (val)); \
|
|
509
509
|
}))
|
|
510
510
|
#define g_atomic_pointer_or(atomic, val) \
|
|
511
511
|
(G_GNUC_EXTENSION ({ \
|
|
512
512
|
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
|
|
513
513
|
(void) (0 ? (gpointer) *(atomic) : NULL); \
|
|
514
514
|
(void) (0 ? (val) ^ (val) : 1); \
|
|
515
|
-
(
|
|
515
|
+
(guintptr) __sync_fetch_and_or ((atomic), (val)); \
|
|
516
516
|
}))
|
|
517
517
|
#define g_atomic_pointer_xor(atomic, val) \
|
|
518
518
|
(G_GNUC_EXTENSION ({ \
|
|
519
519
|
G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); \
|
|
520
520
|
(void) (0 ? (gpointer) *(atomic) : NULL); \
|
|
521
521
|
(void) (0 ? (val) ^ (val) : 1); \
|
|
522
|
-
(
|
|
522
|
+
(guintptr) __sync_fetch_and_xor ((atomic), (val)); \
|
|
523
523
|
}))
|
|
524
524
|
|
|
525
525
|
#endif /* !defined(__ATOMIC_SEQ_CST) */
|
|
@@ -75,7 +75,45 @@ GQuark g_bookmark_file_error_quark (void);
|
|
|
75
75
|
/**
|
|
76
76
|
* GBookmarkFile:
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
* `GBookmarkFile` lets you parse, edit or create files containing bookmarks.
|
|
79
|
+
*
|
|
80
|
+
* Bookmarks refer to a URI, along with some meta-data about the resource
|
|
81
|
+
* pointed by the URI like its MIME type, the application that is registering
|
|
82
|
+
* the bookmark and the icon that should be used to represent the bookmark.
|
|
83
|
+
* The data is stored using the
|
|
84
|
+
* [Desktop Bookmark Specification](http://www.gnome.org/~ebassi/bookmark-spec).
|
|
85
|
+
*
|
|
86
|
+
* The syntax of the bookmark files is described in detail inside the
|
|
87
|
+
* Desktop Bookmark Specification, here is a quick summary: bookmark
|
|
88
|
+
* files use a sub-class of the XML Bookmark Exchange Language
|
|
89
|
+
* specification, consisting of valid UTF-8 encoded XML, under the
|
|
90
|
+
* `<xbel>` root element; each bookmark is stored inside a
|
|
91
|
+
* `<bookmark>` element, using its URI: no relative paths can
|
|
92
|
+
* be used inside a bookmark file. The bookmark may have a user defined
|
|
93
|
+
* title and description, to be used instead of the URI. Under the
|
|
94
|
+
* `<metadata>` element, with its owner attribute set to
|
|
95
|
+
* `http://freedesktop.org`, is stored the meta-data about a resource
|
|
96
|
+
* pointed by its URI. The meta-data consists of the resource's MIME
|
|
97
|
+
* type; the applications that have registered a bookmark; the groups
|
|
98
|
+
* to which a bookmark belongs to; a visibility flag, used to set the
|
|
99
|
+
* bookmark as "private" to the applications and groups that has it
|
|
100
|
+
* registered; the URI and MIME type of an icon, to be used when
|
|
101
|
+
* displaying the bookmark inside a GUI.
|
|
102
|
+
*
|
|
103
|
+
* Here is an example of a bookmark file:
|
|
104
|
+
* [bookmarks.xbel](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/glib/tests/bookmarks.xbel)
|
|
105
|
+
*
|
|
106
|
+
* A bookmark file might contain more than one bookmark; each bookmark
|
|
107
|
+
* is accessed through its URI.
|
|
108
|
+
*
|
|
109
|
+
* The important caveat of bookmark files is that when you add a new
|
|
110
|
+
* bookmark you must also add the application that is registering it, using
|
|
111
|
+
* [method@GLib.BookmarkFile.add_application] or [method@GLib.BookmarkFile.set_application_info].
|
|
112
|
+
* If a bookmark has no applications then it won't be dumped when creating
|
|
113
|
+
* the on disk representation, using [method@GLib.BookmarkFile.to_data] or
|
|
114
|
+
* [method@GLib.BookmarkFile.to_file].
|
|
115
|
+
*
|
|
116
|
+
* Since: 2.12
|
|
79
117
|
*/
|
|
80
118
|
typedef struct _GBookmarkFile GBookmarkFile;
|
|
81
119
|
|
|
@@ -54,16 +54,6 @@ typedef enum {
|
|
|
54
54
|
G_CHECKSUM_SHA384
|
|
55
55
|
} GChecksumType;
|
|
56
56
|
|
|
57
|
-
/**
|
|
58
|
-
* GChecksum:
|
|
59
|
-
*
|
|
60
|
-
* An opaque structure representing a checksumming operation.
|
|
61
|
-
*
|
|
62
|
-
* To create a new GChecksum, use g_checksum_new(). To free
|
|
63
|
-
* a GChecksum, use g_checksum_free().
|
|
64
|
-
*
|
|
65
|
-
* Since: 2.16
|
|
66
|
-
*/
|
|
67
57
|
typedef struct _GChecksum GChecksum;
|
|
68
58
|
|
|
69
59
|
GLIB_AVAILABLE_IN_ALL
|
|
@@ -38,15 +38,6 @@
|
|
|
38
38
|
|
|
39
39
|
G_BEGIN_DECLS
|
|
40
40
|
|
|
41
|
-
/* GDate
|
|
42
|
-
*
|
|
43
|
-
* Date calculations (not time for now, to be resolved). These are a
|
|
44
|
-
* mutant combination of Steffen Beyer's DateCalc routines
|
|
45
|
-
* (http://www.perl.com/CPAN/authors/id/STBEY/) and Jon Trowbridge's
|
|
46
|
-
* date routines (written for in-house software). Written by Havoc
|
|
47
|
-
* Pennington <hp@pobox.com>
|
|
48
|
-
*/
|
|
49
|
-
|
|
50
41
|
typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
|
|
51
42
|
typedef guint16 GDateYear;
|
|
52
43
|
typedef guint8 GDateDay; /* day of the month */
|
|
@@ -91,7 +91,31 @@ typedef gint64 GTimeSpan;
|
|
|
91
91
|
/**
|
|
92
92
|
* GDateTime:
|
|
93
93
|
*
|
|
94
|
-
*
|
|
94
|
+
* `GDateTime` is a structure that combines a Gregorian date and time
|
|
95
|
+
* into a single structure.
|
|
96
|
+
*
|
|
97
|
+
* `GDateTime` provides many conversion and methods to manipulate dates and times.
|
|
98
|
+
* Time precision is provided down to microseconds and the time can range
|
|
99
|
+
* (proleptically) from 0001-01-01 00:00:00 to 9999-12-31 23:59:59.999999.
|
|
100
|
+
* `GDateTime` follows POSIX time in the sense that it is oblivious to leap
|
|
101
|
+
* seconds.
|
|
102
|
+
*
|
|
103
|
+
* `GDateTime` is an immutable object; once it has been created it cannot
|
|
104
|
+
* be modified further. All modifiers will create a new `GDateTime`.
|
|
105
|
+
* Nearly all such functions can fail due to the date or time going out
|
|
106
|
+
* of range, in which case %NULL will be returned.
|
|
107
|
+
*
|
|
108
|
+
* `GDateTime` is reference counted: the reference count is increased by calling
|
|
109
|
+
* [method@GLib.DateTime.ref] and decreased by calling [method@GLib.DateTime.unref].
|
|
110
|
+
* When the reference count drops to 0, the resources allocated by the `GDateTime`
|
|
111
|
+
* structure are released.
|
|
112
|
+
*
|
|
113
|
+
* Many parts of the API may produce non-obvious results. As an
|
|
114
|
+
* example, adding two months to January 31st will yield March 31st
|
|
115
|
+
* whereas adding one month and then one month again will yield either
|
|
116
|
+
* March 28th or March 29th. Also note that adding 24 hours is not
|
|
117
|
+
* always the same as adding one day (since days containing daylight
|
|
118
|
+
* savings time transitions are either 23 or 25 hours in length).
|
|
95
119
|
*
|
|
96
120
|
* Since: 2.26
|
|
97
121
|
*/
|
|
@@ -114,6 +138,11 @@ GDateTime * g_date_time_new_from_unix_local (gint64
|
|
|
114
138
|
GLIB_AVAILABLE_IN_ALL
|
|
115
139
|
GDateTime * g_date_time_new_from_unix_utc (gint64 t);
|
|
116
140
|
|
|
141
|
+
GLIB_AVAILABLE_IN_2_80
|
|
142
|
+
GDateTime * g_date_time_new_from_unix_local_usec (gint64 usecs);
|
|
143
|
+
GLIB_AVAILABLE_IN_2_80
|
|
144
|
+
GDateTime * g_date_time_new_from_unix_utc_usec (gint64 usecs);
|
|
145
|
+
|
|
117
146
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
|
118
147
|
GLIB_DEPRECATED_IN_2_62_FOR(g_date_time_new_from_unix_local)
|
|
119
148
|
GDateTime * g_date_time_new_from_timeval_local (const GTimeVal *tv);
|
|
@@ -241,6 +270,9 @@ gdouble g_date_time_get_seconds (GDateTi
|
|
|
241
270
|
|
|
242
271
|
GLIB_AVAILABLE_IN_ALL
|
|
243
272
|
gint64 g_date_time_to_unix (GDateTime *datetime);
|
|
273
|
+
GLIB_AVAILABLE_IN_2_80
|
|
274
|
+
gint64 g_date_time_to_unix_usec (GDateTime *datetime);
|
|
275
|
+
|
|
244
276
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
|
245
277
|
GLIB_DEPRECATED_IN_2_62_FOR(g_date_time_to_unix)
|
|
246
278
|
gboolean g_date_time_to_timeval (GDateTime *datetime,
|
|
@@ -49,6 +49,11 @@ void g_dir_rewind (GDir *dir);
|
|
|
49
49
|
GLIB_AVAILABLE_IN_ALL
|
|
50
50
|
void g_dir_close (GDir *dir);
|
|
51
51
|
|
|
52
|
+
GLIB_AVAILABLE_IN_2_80
|
|
53
|
+
GDir * g_dir_ref (GDir *dir);
|
|
54
|
+
GLIB_AVAILABLE_IN_2_80
|
|
55
|
+
void g_dir_unref (GDir *dir);
|
|
56
|
+
|
|
52
57
|
G_END_DECLS
|
|
53
58
|
|
|
54
59
|
#endif /* __G_DIR_H__ */
|
|
@@ -30,15 +30,6 @@
|
|
|
30
30
|
|
|
31
31
|
G_BEGIN_DECLS
|
|
32
32
|
|
|
33
|
-
/**
|
|
34
|
-
* GHmac:
|
|
35
|
-
*
|
|
36
|
-
* An opaque structure representing a HMAC operation.
|
|
37
|
-
* To create a new GHmac, use g_hmac_new(). To free
|
|
38
|
-
* a GHmac, use g_hmac_unref().
|
|
39
|
-
*
|
|
40
|
-
* Since: 2.30
|
|
41
|
-
*/
|
|
42
33
|
typedef struct _GHmac GHmac;
|
|
43
34
|
|
|
44
35
|
GLIB_AVAILABLE_IN_2_30
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
#error "Only <glib.h> can be included directly."
|
|
24
24
|
#endif
|
|
25
25
|
|
|
26
|
+
#ifndef __GI_SCANNER__
|
|
27
|
+
|
|
26
28
|
static inline void
|
|
27
29
|
g_autoptr_cleanup_generic_gfree (void *p)
|
|
28
30
|
{
|
|
@@ -103,3 +105,5 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GPathBuf, g_path_buf_free)
|
|
|
103
105
|
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (GPathBuf, g_path_buf_clear)
|
|
104
106
|
|
|
105
107
|
G_GNUC_END_IGNORE_DEPRECATIONS
|
|
108
|
+
|
|
109
|
+
#endif /* __GI_SCANNER__ */
|
|
@@ -950,3 +950,37 @@
|
|
|
950
950
|
#define GLIB_AVAILABLE_ENUMERATOR_IN_2_78
|
|
951
951
|
#define GLIB_AVAILABLE_TYPE_IN_2_78
|
|
952
952
|
#endif
|
|
953
|
+
|
|
954
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_80
|
|
955
|
+
#define GLIB_DEPRECATED_IN_2_80 GLIB_DEPRECATED
|
|
956
|
+
#define GLIB_DEPRECATED_IN_2_80_FOR(f) GLIB_DEPRECATED_FOR (f)
|
|
957
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_80 GLIB_DEPRECATED_MACRO
|
|
958
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_80_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
959
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_80 GLIB_DEPRECATED_ENUMERATOR
|
|
960
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_80_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
961
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_80 GLIB_DEPRECATED_TYPE
|
|
962
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_80_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
963
|
+
#else
|
|
964
|
+
#define GLIB_DEPRECATED_IN_2_80 _GLIB_EXTERN
|
|
965
|
+
#define GLIB_DEPRECATED_IN_2_80_FOR(f) _GLIB_EXTERN
|
|
966
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_80
|
|
967
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_80_FOR(f)
|
|
968
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_80
|
|
969
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_80_FOR(f)
|
|
970
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_80
|
|
971
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_80_FOR(f)
|
|
972
|
+
#endif
|
|
973
|
+
|
|
974
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_80
|
|
975
|
+
#define GLIB_AVAILABLE_IN_2_80 GLIB_UNAVAILABLE (2, 80)
|
|
976
|
+
#define GLIB_AVAILABLE_STATIC_INLINE_IN_2_80 GLIB_UNAVAILABLE_STATIC_INLINE (2, 80)
|
|
977
|
+
#define GLIB_AVAILABLE_MACRO_IN_2_80 GLIB_UNAVAILABLE_MACRO (2, 80)
|
|
978
|
+
#define GLIB_AVAILABLE_ENUMERATOR_IN_2_80 GLIB_UNAVAILABLE_ENUMERATOR (2, 80)
|
|
979
|
+
#define GLIB_AVAILABLE_TYPE_IN_2_80 GLIB_UNAVAILABLE_TYPE (2, 80)
|
|
980
|
+
#else
|
|
981
|
+
#define GLIB_AVAILABLE_IN_2_80 _GLIB_EXTERN
|
|
982
|
+
#define GLIB_AVAILABLE_STATIC_INLINE_IN_2_80
|
|
983
|
+
#define GLIB_AVAILABLE_MACRO_IN_2_80
|
|
984
|
+
#define GLIB_AVAILABLE_ENUMERATOR_IN_2_80
|
|
985
|
+
#define GLIB_AVAILABLE_TYPE_IN_2_80
|
|
986
|
+
#endif
|
|
@@ -185,6 +185,7 @@
|
|
|
185
185
|
#define g_macro__has_attribute___pure__ G_GNUC_CHECK_VERSION (2, 96)
|
|
186
186
|
#define g_macro__has_attribute___sentinel__ G_GNUC_CHECK_VERSION (4, 0)
|
|
187
187
|
#define g_macro__has_attribute___unused__ G_GNUC_CHECK_VERSION (2, 4)
|
|
188
|
+
#define g_macro__has_attribute___weak__ G_GNUC_CHECK_VERSION (2, 8)
|
|
188
189
|
#define g_macro__has_attribute_cleanup G_GNUC_CHECK_VERSION (3, 3)
|
|
189
190
|
#define g_macro__has_attribute_fallthrough G_GNUC_CHECK_VERSION (6, 0)
|
|
190
191
|
#define g_macro__has_attribute_may_alias G_GNUC_CHECK_VERSION (3, 3)
|
|
@@ -250,6 +250,9 @@ void g_log_writer_default_set_use_stderr (gboolean use_stderr);
|
|
|
250
250
|
GLIB_AVAILABLE_IN_2_68
|
|
251
251
|
gboolean g_log_writer_default_would_drop (GLogLevelFlags log_level,
|
|
252
252
|
const char *log_domain);
|
|
253
|
+
GLIB_AVAILABLE_IN_2_80
|
|
254
|
+
void g_log_writer_default_set_debug_domains (const gchar * const *domains);
|
|
255
|
+
|
|
253
256
|
|
|
254
257
|
/* G_MESSAGES_DEBUG enablement */
|
|
255
258
|
GLIB_AVAILABLE_IN_2_72
|
|
@@ -57,7 +57,7 @@ typedef struct stat GStatBuf;
|
|
|
57
57
|
|
|
58
58
|
#endif
|
|
59
59
|
|
|
60
|
-
#if defined(G_OS_UNIX) && !defined(G_STDIO_WRAP_ON_UNIX)
|
|
60
|
+
#if defined(G_OS_UNIX) && !defined(G_STDIO_WRAP_ON_UNIX) && !defined(__GI_SCANNER__)
|
|
61
61
|
|
|
62
62
|
/* Just pass on to the system functions, so there's no potential for data
|
|
63
63
|
* format mismatches, especially with large file interfaces.
|
|
@@ -30,14 +30,6 @@
|
|
|
30
30
|
|
|
31
31
|
G_BEGIN_DECLS
|
|
32
32
|
|
|
33
|
-
/**
|
|
34
|
-
* GStrvBuilder:
|
|
35
|
-
*
|
|
36
|
-
* A helper object to build a %NULL-terminated string array
|
|
37
|
-
* by appending. See g_strv_builder_new().
|
|
38
|
-
*
|
|
39
|
-
* Since: 2.68
|
|
40
|
-
*/
|
|
41
33
|
typedef struct _GStrvBuilder GStrvBuilder;
|
|
42
34
|
|
|
43
35
|
GLIB_AVAILABLE_IN_2_68
|
|
@@ -61,6 +53,10 @@ GLIB_AVAILABLE_IN_2_70
|
|
|
61
53
|
void g_strv_builder_add_many (GStrvBuilder *builder,
|
|
62
54
|
...) G_GNUC_NULL_TERMINATED;
|
|
63
55
|
|
|
56
|
+
GLIB_AVAILABLE_IN_2_80
|
|
57
|
+
void g_strv_builder_take (GStrvBuilder *builder,
|
|
58
|
+
char *value);
|
|
59
|
+
|
|
64
60
|
GLIB_AVAILABLE_IN_2_68
|
|
65
61
|
GStrv g_strv_builder_end (GStrvBuilder *builder);
|
|
66
62
|
|
|
@@ -515,6 +515,11 @@ GLIB_AVAILABLE_IN_2_38
|
|
|
515
515
|
void g_test_trap_subprocess (const char *test_path,
|
|
516
516
|
guint64 usec_timeout,
|
|
517
517
|
GTestSubprocessFlags test_flags);
|
|
518
|
+
GLIB_AVAILABLE_IN_2_80
|
|
519
|
+
void g_test_trap_subprocess_with_envp (const char *test_path,
|
|
520
|
+
const char * const *envp,
|
|
521
|
+
guint64 usec_timeout,
|
|
522
|
+
GTestSubprocessFlags test_flags);
|
|
518
523
|
|
|
519
524
|
GLIB_AVAILABLE_IN_ALL
|
|
520
525
|
gboolean g_test_trap_has_passed (void);
|
|
@@ -236,6 +236,12 @@ GLIB_AVAILABLE_IN_ALL
|
|
|
236
236
|
void g_once_init_leave (volatile void *location,
|
|
237
237
|
gsize result);
|
|
238
238
|
|
|
239
|
+
GLIB_AVAILABLE_IN_2_80
|
|
240
|
+
gboolean g_once_init_enter_pointer (void *location);
|
|
241
|
+
GLIB_AVAILABLE_IN_2_80
|
|
242
|
+
void g_once_init_leave_pointer (void *location,
|
|
243
|
+
gpointer result);
|
|
244
|
+
|
|
239
245
|
/* Use C11-style atomic extensions to check the fast path for status=ready. If
|
|
240
246
|
* they are not available, fall back to using a mutex and condition variable in
|
|
241
247
|
* g_once_impl().
|
|
@@ -268,11 +274,30 @@ void g_once_init_leave (volatile void *location,
|
|
|
268
274
|
0 ? (void) (*(location) = (result)) : (void) 0; \
|
|
269
275
|
g_once_init_leave ((location), (gsize) (result)); \
|
|
270
276
|
}))
|
|
277
|
+
# define g_once_init_enter_pointer(location) \
|
|
278
|
+
(G_GNUC_EXTENSION ({ \
|
|
279
|
+
G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); \
|
|
280
|
+
(void) (0 ? (gpointer) * (location) : NULL); \
|
|
281
|
+
(!g_atomic_pointer_get (location) && \
|
|
282
|
+
g_once_init_enter_pointer (location)); \
|
|
283
|
+
})) GLIB_AVAILABLE_MACRO_IN_2_80
|
|
284
|
+
# define g_once_init_leave_pointer(location, result) \
|
|
285
|
+
(G_GNUC_EXTENSION ({ \
|
|
286
|
+
G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); \
|
|
287
|
+
0 ? (void) (*(location) = (result)) : (void) 0; \
|
|
288
|
+
g_once_init_leave_pointer ((location), (gpointer) (guintptr) (result)); \
|
|
289
|
+
})) GLIB_AVAILABLE_MACRO_IN_2_80
|
|
271
290
|
#else
|
|
272
291
|
# define g_once_init_enter(location) \
|
|
273
292
|
(g_once_init_enter((location)))
|
|
274
293
|
# define g_once_init_leave(location, result) \
|
|
275
294
|
(g_once_init_leave((location), (gsize) (result)))
|
|
295
|
+
# define g_once_init_enter_pointer(location) \
|
|
296
|
+
(g_once_init_enter_pointer((location))) \
|
|
297
|
+
GLIB_AVAILABLE_MACRO_IN_2_80
|
|
298
|
+
# define g_once_init_leave_pointer(location, result) \
|
|
299
|
+
(g_once_init_leave_pointer((location), (gpointer) (guintptr) (result))) \
|
|
300
|
+
GLIB_AVAILABLE_MACRO_IN_2_80
|
|
276
301
|
#endif
|
|
277
302
|
|
|
278
303
|
GLIB_AVAILABLE_IN_2_36
|
|
@@ -204,10 +204,15 @@ typedef enum
|
|
|
204
204
|
* @G_UNICODE_BREAK_EMOJI_BASE: Emoji Base (EB). Since: 2.50
|
|
205
205
|
* @G_UNICODE_BREAK_EMOJI_MODIFIER: Emoji Modifier (EM). Since: 2.50
|
|
206
206
|
* @G_UNICODE_BREAK_ZERO_WIDTH_JOINER: Zero Width Joiner (ZWJ). Since: 2.50
|
|
207
|
+
* @G_UNICODE_BREAK_AKSARA: Aksara (AK). Since: 2.80
|
|
208
|
+
* @G_UNICODE_BREAK_AKSARA_PRE_BASE (AP). Since: 2.80
|
|
209
|
+
* @G_UNICODE_BREAK_AKSARA_START (AS). Since: 2.80
|
|
210
|
+
* @G_UNICODE_BREAK_VIRAMA_FINAL (VF). Since: 2.80
|
|
211
|
+
* @G_UNICODE_BREAK_VIRAMA (VI). Since: 2.80
|
|
207
212
|
*
|
|
208
213
|
* These are the possible line break classifications.
|
|
209
214
|
*
|
|
210
|
-
* Since new
|
|
215
|
+
* Since new Unicode versions may add new types here, applications should be ready
|
|
211
216
|
* to handle unknown values. They may be regarded as %G_UNICODE_BREAK_UNKNOWN.
|
|
212
217
|
*
|
|
213
218
|
* See [Unicode Line Breaking Algorithm](https://www.unicode.org/reports/tr14/).
|
|
@@ -257,7 +262,12 @@ typedef enum
|
|
|
257
262
|
G_UNICODE_BREAK_REGIONAL_INDICATOR,
|
|
258
263
|
G_UNICODE_BREAK_EMOJI_BASE,
|
|
259
264
|
G_UNICODE_BREAK_EMOJI_MODIFIER,
|
|
260
|
-
G_UNICODE_BREAK_ZERO_WIDTH_JOINER
|
|
265
|
+
G_UNICODE_BREAK_ZERO_WIDTH_JOINER,
|
|
266
|
+
G_UNICODE_BREAK_AKSARA,
|
|
267
|
+
G_UNICODE_BREAK_AKSARA_PRE_BASE,
|
|
268
|
+
G_UNICODE_BREAK_AKSARA_START,
|
|
269
|
+
G_UNICODE_BREAK_VIRAMA_FINAL,
|
|
270
|
+
G_UNICODE_BREAK_VIRAMA
|
|
261
271
|
} GUnicodeBreakType;
|
|
262
272
|
|
|
263
273
|
/**
|
|
@@ -31,15 +31,6 @@
|
|
|
31
31
|
|
|
32
32
|
G_BEGIN_DECLS
|
|
33
33
|
|
|
34
|
-
/**
|
|
35
|
-
* GVariantType:
|
|
36
|
-
*
|
|
37
|
-
* A type in the GVariant type system.
|
|
38
|
-
*
|
|
39
|
-
* Two types may not be compared by value; use g_variant_type_equal() or
|
|
40
|
-
* g_variant_type_is_subtype_of(). May be copied using
|
|
41
|
-
* g_variant_type_copy() and freed using g_variant_type_free().
|
|
42
|
-
**/
|
|
43
34
|
typedef struct _GVariantType GVariantType;
|
|
44
35
|
|
|
45
36
|
/**
|
|
@@ -375,7 +366,7 @@ GVariantType * g_variant_type_new_dict_entry (const G
|
|
|
375
366
|
|
|
376
367
|
/*< private >*/
|
|
377
368
|
GLIB_AVAILABLE_IN_ALL
|
|
378
|
-
const GVariantType * g_variant_type_checked_ (const gchar *);
|
|
369
|
+
const GVariantType * g_variant_type_checked_ (const gchar *type_string);
|
|
379
370
|
GLIB_AVAILABLE_IN_2_60
|
|
380
371
|
gsize g_variant_type_string_get_depth_ (const gchar *type_string);
|
|
381
372
|
|
|
@@ -386,6 +386,15 @@
|
|
|
386
386
|
* Since: 2.78
|
|
387
387
|
*/
|
|
388
388
|
#define GLIB_VERSION_2_78 (G_ENCODE_VERSION (2, 78))
|
|
389
|
+
/**
|
|
390
|
+
* GLIB_VERSION_2_80:
|
|
391
|
+
*
|
|
392
|
+
* A macro that evaluates to the 2.80 version of GLib, in a format
|
|
393
|
+
* that can be used by the C pre-processor.
|
|
394
|
+
*
|
|
395
|
+
* Since: 2.80
|
|
396
|
+
*/
|
|
397
|
+
#define GLIB_VERSION_2_80 (G_ENCODE_VERSION (2, 80))
|
|
389
398
|
|
|
390
399
|
/**
|
|
391
400
|
* GLIB_VERSION_CUR_STABLE:
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
#include <glib/gtypes.h>
|
|
35
35
|
|
|
36
|
-
#
|
|
36
|
+
#if defined(G_PLATFORM_WIN32) || defined(__GI_SCANNER__)
|
|
37
37
|
|
|
38
38
|
G_BEGIN_DECLS
|
|
39
39
|
|
|
@@ -41,7 +41,7 @@ G_BEGIN_DECLS
|
|
|
41
41
|
#define MAXPATHLEN 1024
|
|
42
42
|
#endif
|
|
43
43
|
|
|
44
|
-
#
|
|
44
|
+
#if defined(G_OS_WIN32) || defined(__GI_SCANNER__)
|
|
45
45
|
|
|
46
46
|
/*
|
|
47
47
|
* To get prototypes for the following POSIXish functions, you have to
|
|
@@ -68,7 +68,7 @@ G_BEGIN_DECLS
|
|
|
68
68
|
GLIB_AVAILABLE_IN_ALL
|
|
69
69
|
gint g_win32_ftruncate (gint f,
|
|
70
70
|
guint size);
|
|
71
|
-
#endif /* G_OS_WIN32 */
|
|
71
|
+
#endif /* G_OS_WIN32 || __GI_SCANNER__ */
|
|
72
72
|
|
|
73
73
|
/* The MS setlocale uses locale names of the form "English_United
|
|
74
74
|
* States.1252" etc. We want the Unixish standard form "en", "zh_TW"
|
|
@@ -137,6 +137,6 @@ gboolean g_win32_check_windows_version (const gint major,
|
|
|
137
137
|
|
|
138
138
|
G_END_DECLS
|
|
139
139
|
|
|
140
|
-
#endif /* G_PLATFORM_WIN32 */
|
|
140
|
+
#endif /* G_PLATFORM_WIN32 || __GI_SCANNER__ */
|
|
141
141
|
|
|
142
142
|
#endif /* __G_WIN32_H__ */
|