@revizly/sharp-libvips-dev 1.0.61 → 1.0.63
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/cplusplus/VError.cpp +28 -0
- package/include/expat.h +13 -6
- package/include/expat_config.h +3 -3
- package/include/ffi.h +3 -3
- package/include/gio-unix-2.0/gio/gdesktopappinfo.h +40 -23
- package/include/gio-unix-2.0/gio/gunixmounts.h +3 -3
- package/include/glib-2.0/gio/gasyncinitable.h +32 -32
- package/include/glib-2.0/gio/gasyncresult.h +4 -4
- package/include/glib-2.0/gio/gbufferedinputstream.h +28 -28
- package/include/glib-2.0/gio/gbufferedoutputstream.h +3 -3
- package/include/glib-2.0/gio/gcancellable.h +6 -6
- package/include/glib-2.0/gio/gcharsetconverter.h +3 -3
- package/include/glib-2.0/gio/gconverter.h +16 -16
- package/include/glib-2.0/gio/gdatainputstream.h +3 -3
- package/include/glib-2.0/gio/gdataoutputstream.h +25 -25
- package/include/glib-2.0/gio/gfile.h +369 -369
- package/include/glib-2.0/gio/gfileattribute.h +4 -4
- package/include/glib-2.0/gio/gfileenumerator.h +18 -18
- package/include/glib-2.0/gio/gfileinfo.h +63 -63
- package/include/glib-2.0/gio/gfileinputstream.h +11 -11
- package/include/glib-2.0/gio/gfileiostream.h +11 -11
- package/include/glib-2.0/gio/gfilemonitor.h +1 -1
- package/include/glib-2.0/gio/gfileoutputstream.h +8 -8
- package/include/glib-2.0/gio/gicon.h +1 -1
- package/include/glib-2.0/gio/ginetaddress.h +1 -1
- package/include/glib-2.0/gio/ginetaddressmask.h +5 -5
- package/include/glib-2.0/gio/ginitable.h +16 -16
- package/include/glib-2.0/gio/ginputstream.h +47 -47
- package/include/glib-2.0/gio/gio-visibility.h +34 -0
- package/include/glib-2.0/gio/gioenums.h +3 -1
- package/include/glib-2.0/gio/giomodule.h +5 -5
- package/include/glib-2.0/gio/gioscheduler.h +10 -10
- package/include/glib-2.0/gio/giostream.h +16 -16
- package/include/glib-2.0/gio/giotypes.h +13 -12
- package/include/glib-2.0/gio/gloadableicon.h +13 -13
- package/include/glib-2.0/gio/gmemoryinputstream.h +1 -1
- package/include/glib-2.0/gio/gmountoperation.h +14 -14
- package/include/glib-2.0/gio/gnetworkaddress.h +5 -5
- package/include/glib-2.0/gio/gnetworkmonitor.h +10 -10
- package/include/glib-2.0/gio/gnetworkservice.h +2 -2
- package/include/glib-2.0/gio/goutputstream.h +76 -76
- package/include/glib-2.0/gio/gpollableinputstream.h +9 -9
- package/include/glib-2.0/gio/gpollableoutputstream.h +18 -18
- package/include/glib-2.0/gio/gpollableutils.h +18 -18
- package/include/glib-2.0/gio/gproxy.h +25 -25
- package/include/glib-2.0/gio/gproxyaddress.h +6 -6
- package/include/glib-2.0/gio/gproxyresolver.h +25 -25
- package/include/glib-2.0/gio/gresource.h +26 -26
- package/include/glib-2.0/gio/gseekable.h +16 -16
- package/include/glib-2.0/gio/gsimpleasyncresult.h +40 -40
- package/include/glib-2.0/gio/gsocket.h +103 -103
- package/include/glib-2.0/gio/gsocketaddress.h +2 -2
- package/include/glib-2.0/gio/gsocketaddressenumerator.h +14 -14
- package/include/glib-2.0/gio/gsocketclient.h +25 -25
- package/include/glib-2.0/gio/gsocketconnection.h +16 -16
- package/include/glib-2.0/gio/gsocketcontrolmessage.h +8 -8
- package/include/glib-2.0/gio/gsocketlistener.h +15 -15
- package/include/glib-2.0/gio/gsocketservice.h +1 -1
- package/include/glib-2.0/gio/gsrvtarget.h +3 -3
- package/include/glib-2.0/gio/gtcpconnection.h +1 -1
- package/include/glib-2.0/gio/gtcpwrapperconnection.h +1 -1
- package/include/glib-2.0/gio/gtlsbackend.h +1 -1
- package/include/glib-2.0/gio/gtlscertificate.h +10 -10
- package/include/glib-2.0/gio/gtlsclientconnection.h +5 -5
- package/include/glib-2.0/gio/gtlsconnection.h +23 -23
- package/include/glib-2.0/gio/gtlsserverconnection.h +2 -2
- package/include/glib-2.0/gio/gvfs.h +14 -14
- package/include/glib-2.0/gio/gvolume.h +8 -8
- package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
- package/include/glib-2.0/gio/gzlibcompressor.h +1 -1
- package/include/glib-2.0/girepository/gi-visibility.h +34 -0
- package/include/glib-2.0/glib/deprecated/gmain.h +1 -1
- package/include/glib-2.0/glib/deprecated/grel.h +1 -1
- package/include/glib-2.0/glib/deprecated/gthread.h +1 -1
- package/include/glib-2.0/glib/galloca.h +2 -2
- package/include/glib-2.0/glib/garray.h +56 -56
- package/include/glib-2.0/glib/gbookmarkfile.h +93 -93
- package/include/glib-2.0/glib/gconvert.h +43 -43
- package/include/glib-2.0/glib/gdataset.h +14 -14
- package/include/glib-2.0/glib/gdate.h +17 -17
- package/include/glib-2.0/glib/gdir.h +2 -2
- package/include/glib-2.0/glib/gerror.h +1 -1
- package/include/glib-2.0/glib/ghook.h +103 -103
- package/include/glib-2.0/glib/giochannel.h +90 -90
- package/include/glib-2.0/glib/gkeyfile.h +112 -111
- package/include/glib-2.0/glib/glib-visibility.h +34 -0
- package/include/glib-2.0/glib/glist.h +37 -37
- package/include/glib-2.0/glib/gmacros.h +84 -27
- package/include/glib-2.0/glib/gmain.h +10 -10
- package/include/glib-2.0/glib/gmappedfile.h +4 -4
- package/include/glib-2.0/glib/gmarkup.h +2 -2
- package/include/glib-2.0/glib/gmem.h +68 -68
- package/include/glib-2.0/glib/gmessages.h +14 -14
- package/include/glib-2.0/glib/gnode.h +76 -76
- package/include/glib-2.0/glib/goption.h +45 -45
- package/include/glib-2.0/glib/gpattern.h +6 -6
- package/include/glib-2.0/glib/gpoll.h +6 -6
- package/include/glib-2.0/glib/gprimes.h +2 -2
- package/include/glib-2.0/glib/gprintf.h +10 -10
- package/include/glib-2.0/glib/gqsort.h +5 -5
- package/include/glib-2.0/glib/gquark.h +9 -5
- package/include/glib-2.0/glib/gqueue.h +1 -1
- package/include/glib-2.0/glib/grand.h +12 -12
- package/include/glib-2.0/glib/gscanner.h +138 -138
- package/include/glib-2.0/glib/gslice.h +15 -15
- package/include/glib-2.0/glib/gslist.h +34 -34
- package/include/glib-2.0/glib/gspawn.h +1 -1
- package/include/glib-2.0/glib/gstdio.h +16 -10
- package/include/glib-2.0/glib/gstrfuncs.h +63 -63
- package/include/glib-2.0/glib/gtestutils.h +2 -2
- package/include/glib-2.0/glib/gtimer.h +9 -9
- package/include/glib-2.0/glib/gtree.h +3 -3
- package/include/glib-2.0/glib/gtypes.h +166 -166
- package/include/glib-2.0/glib/gutils.h +35 -33
- package/include/glib-2.0/glib/gversionmacros.h +9 -0
- package/include/glib-2.0/glib-object.h +1 -1
- package/include/glib-2.0/glib.h +1 -1
- package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gmodule.h +12 -12
- package/include/glib-2.0/gobject/gclosure.h +82 -82
- package/include/glib-2.0/gobject/genums.h +43 -43
- package/include/glib-2.0/gobject/gmarshal.h +2 -2
- package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobject.h +97 -97
- package/include/glib-2.0/gobject/gobjectnotifyqueue.c +12 -12
- package/include/glib-2.0/gobject/gparam.h +96 -96
- package/include/glib-2.0/gobject/gparamspecs.h +157 -157
- package/include/glib-2.0/gobject/gsignal.h +189 -189
- package/include/glib-2.0/gobject/gsourceclosure.h +1 -1
- package/include/glib-2.0/gobject/gtype.h +139 -139
- package/include/glib-2.0/gobject/gtypemodule.h +5 -5
- package/include/glib-2.0/gobject/gtypeplugin.h +32 -32
- package/include/glib-2.0/gobject/gvalue.h +34 -34
- package/include/glib-2.0/gobject/gvaluearray.h +21 -21
- package/include/glib-2.0/gobject/gvaluecollector.h +117 -117
- package/include/glib-2.0/gobject/gvaluetypes.h +74 -74
- package/include/harfbuzz/hb-font.h +22 -0
- package/include/harfbuzz/hb-ot-layout.h +11 -0
- package/include/harfbuzz/hb-version.h +2 -2
- package/include/libimagequant.h +4 -0
- package/include/vips/VError8.h +3 -4
- package/include/vips/util.h +15 -1
- package/package.json +1 -1
- package/versions.json +5 -5
|
@@ -141,7 +141,7 @@ G_BEGIN_DECLS
|
|
|
141
141
|
*
|
|
142
142
|
* The type for #GInitiallyUnowned.
|
|
143
143
|
*/
|
|
144
|
-
#define G_TYPE_INITIALLY_UNOWNED
|
|
144
|
+
#define G_TYPE_INITIALLY_UNOWNED (g_initially_unowned_get_type())
|
|
145
145
|
/**
|
|
146
146
|
* G_INITIALLY_UNOWNED:
|
|
147
147
|
* @object: Object which is subject to casting.
|
|
@@ -246,8 +246,8 @@ typedef void (*GObjectFinalizeFunc) (GObject *object);
|
|
|
246
246
|
* g_object_weak_ref(), g_object_add_weak_pointer() or any function which calls
|
|
247
247
|
* them on the object from this callback.
|
|
248
248
|
*/
|
|
249
|
-
typedef void (*GWeakNotify)
|
|
250
|
-
|
|
249
|
+
typedef void (*GWeakNotify) (gpointer data,
|
|
250
|
+
GObject *where_the_object_was);
|
|
251
251
|
|
|
252
252
|
struct _GObject
|
|
253
253
|
{
|
|
@@ -332,29 +332,29 @@ struct _GObjectClass
|
|
|
332
332
|
guint n_construct_properties,
|
|
333
333
|
GObjectConstructParam *construct_properties);
|
|
334
334
|
/* overridable methods */
|
|
335
|
-
void (*set_property)
|
|
335
|
+
void (*set_property) (GObject *object,
|
|
336
336
|
guint property_id,
|
|
337
337
|
const GValue *value,
|
|
338
338
|
GParamSpec *pspec);
|
|
339
|
-
void (*get_property)
|
|
339
|
+
void (*get_property) (GObject *object,
|
|
340
340
|
guint property_id,
|
|
341
341
|
GValue *value,
|
|
342
342
|
GParamSpec *pspec);
|
|
343
|
-
void (*dispose)
|
|
344
|
-
void (*finalize)
|
|
343
|
+
void (*dispose) (GObject *object);
|
|
344
|
+
void (*finalize) (GObject *object);
|
|
345
345
|
/* seldom overridden */
|
|
346
346
|
void (*dispatch_properties_changed) (GObject *object,
|
|
347
|
-
|
|
348
|
-
|
|
347
|
+
guint n_pspecs,
|
|
348
|
+
GParamSpec **pspecs);
|
|
349
349
|
/* signals */
|
|
350
|
-
void
|
|
351
|
-
|
|
350
|
+
void (*notify) (GObject *object,
|
|
351
|
+
GParamSpec *pspec);
|
|
352
352
|
|
|
353
353
|
/* called when done constructing */
|
|
354
|
-
void
|
|
354
|
+
void (*constructed) (GObject *object);
|
|
355
355
|
|
|
356
356
|
/*< private >*/
|
|
357
|
-
gsize
|
|
357
|
+
gsize flags;
|
|
358
358
|
|
|
359
359
|
gsize n_construct_properties; /* functionally this is limited to UINT_MAX */
|
|
360
360
|
|
|
@@ -362,7 +362,7 @@ struct _GObjectClass
|
|
|
362
362
|
gsize n_pspecs;
|
|
363
363
|
|
|
364
364
|
/* padding */
|
|
365
|
-
gpointer
|
|
365
|
+
gpointer pdummy[3];
|
|
366
366
|
};
|
|
367
367
|
|
|
368
368
|
/**
|
|
@@ -399,18 +399,18 @@ GOBJECT_AVAILABLE_IN_ALL
|
|
|
399
399
|
GType g_initially_unowned_get_type (void);
|
|
400
400
|
GOBJECT_AVAILABLE_IN_ALL
|
|
401
401
|
void g_object_class_install_property (GObjectClass *oclass,
|
|
402
|
-
|
|
403
|
-
|
|
402
|
+
guint property_id,
|
|
403
|
+
GParamSpec *pspec);
|
|
404
404
|
GOBJECT_AVAILABLE_IN_ALL
|
|
405
405
|
GParamSpec* g_object_class_find_property (GObjectClass *oclass,
|
|
406
|
-
|
|
406
|
+
const gchar *property_name);
|
|
407
407
|
GOBJECT_AVAILABLE_IN_ALL
|
|
408
408
|
GParamSpec**g_object_class_list_properties (GObjectClass *oclass,
|
|
409
|
-
|
|
409
|
+
guint *n_properties);
|
|
410
410
|
GOBJECT_AVAILABLE_IN_ALL
|
|
411
411
|
void g_object_class_override_property (GObjectClass *oclass,
|
|
412
|
-
|
|
413
|
-
|
|
412
|
+
guint property_id,
|
|
413
|
+
const gchar *name);
|
|
414
414
|
GOBJECT_AVAILABLE_IN_ALL
|
|
415
415
|
void g_object_class_install_properties (GObjectClass *oclass,
|
|
416
416
|
guint n_pspecs,
|
|
@@ -418,20 +418,20 @@ void g_object_class_install_properties (GObjectClass *oclass,
|
|
|
418
418
|
|
|
419
419
|
GOBJECT_AVAILABLE_IN_ALL
|
|
420
420
|
void g_object_interface_install_property (gpointer g_iface,
|
|
421
|
-
|
|
421
|
+
GParamSpec *pspec);
|
|
422
422
|
GOBJECT_AVAILABLE_IN_ALL
|
|
423
423
|
GParamSpec* g_object_interface_find_property (gpointer g_iface,
|
|
424
|
-
|
|
424
|
+
const gchar *property_name);
|
|
425
425
|
GOBJECT_AVAILABLE_IN_ALL
|
|
426
426
|
GParamSpec**g_object_interface_list_properties (gpointer g_iface,
|
|
427
|
-
|
|
427
|
+
guint *n_properties_p);
|
|
428
428
|
|
|
429
429
|
GOBJECT_AVAILABLE_IN_ALL
|
|
430
430
|
GType g_object_get_type (void);
|
|
431
431
|
GOBJECT_AVAILABLE_IN_ALL
|
|
432
432
|
gpointer g_object_new (GType object_type,
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
const gchar *first_property_name,
|
|
434
|
+
...);
|
|
435
435
|
GOBJECT_AVAILABLE_IN_2_54
|
|
436
436
|
GObject* g_object_new_with_properties (GType object_type,
|
|
437
437
|
guint n_properties,
|
|
@@ -441,32 +441,32 @@ GObject* g_object_new_with_properties (GType object_type,
|
|
|
441
441
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
|
442
442
|
|
|
443
443
|
GOBJECT_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties)
|
|
444
|
-
gpointer g_object_newv
|
|
445
|
-
|
|
446
|
-
|
|
444
|
+
gpointer g_object_newv (GType object_type,
|
|
445
|
+
guint n_parameters,
|
|
446
|
+
GParameter *parameters);
|
|
447
447
|
|
|
448
448
|
G_GNUC_END_IGNORE_DEPRECATIONS
|
|
449
449
|
|
|
450
450
|
GOBJECT_AVAILABLE_IN_ALL
|
|
451
451
|
GObject* g_object_new_valist (GType object_type,
|
|
452
|
-
|
|
453
|
-
|
|
452
|
+
const gchar *first_property_name,
|
|
453
|
+
va_list var_args);
|
|
454
454
|
GOBJECT_AVAILABLE_IN_ALL
|
|
455
|
-
void
|
|
456
|
-
|
|
457
|
-
|
|
455
|
+
void g_object_set (gpointer object,
|
|
456
|
+
const gchar *first_property_name,
|
|
457
|
+
...) G_GNUC_NULL_TERMINATED;
|
|
458
458
|
GOBJECT_AVAILABLE_IN_ALL
|
|
459
459
|
void g_object_get (gpointer object,
|
|
460
|
-
|
|
461
|
-
|
|
460
|
+
const gchar *first_property_name,
|
|
461
|
+
...) G_GNUC_NULL_TERMINATED;
|
|
462
462
|
GOBJECT_AVAILABLE_IN_ALL
|
|
463
|
-
gpointer g_object_connect (gpointer
|
|
464
|
-
|
|
465
|
-
|
|
463
|
+
gpointer g_object_connect (gpointer object,
|
|
464
|
+
const gchar *signal_spec,
|
|
465
|
+
...) G_GNUC_NULL_TERMINATED;
|
|
466
466
|
GOBJECT_AVAILABLE_IN_ALL
|
|
467
|
-
void
|
|
468
|
-
|
|
469
|
-
|
|
467
|
+
void g_object_disconnect (gpointer object,
|
|
468
|
+
const gchar *signal_spec,
|
|
469
|
+
...) G_GNUC_NULL_TERMINATED;
|
|
470
470
|
GOBJECT_AVAILABLE_IN_2_54
|
|
471
471
|
void g_object_setv (GObject *object,
|
|
472
472
|
guint n_properties,
|
|
@@ -474,8 +474,8 @@ void g_object_setv (GObject *object,
|
|
|
474
474
|
const GValue values[]);
|
|
475
475
|
GOBJECT_AVAILABLE_IN_ALL
|
|
476
476
|
void g_object_set_valist (GObject *object,
|
|
477
|
-
|
|
478
|
-
|
|
477
|
+
const gchar *first_property_name,
|
|
478
|
+
va_list var_args);
|
|
479
479
|
GOBJECT_AVAILABLE_IN_2_54
|
|
480
480
|
void g_object_getv (GObject *object,
|
|
481
481
|
guint n_properties,
|
|
@@ -483,30 +483,30 @@ void g_object_getv (GObject *object,
|
|
|
483
483
|
GValue values[]);
|
|
484
484
|
GOBJECT_AVAILABLE_IN_ALL
|
|
485
485
|
void g_object_get_valist (GObject *object,
|
|
486
|
-
|
|
487
|
-
|
|
486
|
+
const gchar *first_property_name,
|
|
487
|
+
va_list var_args);
|
|
488
488
|
GOBJECT_AVAILABLE_IN_ALL
|
|
489
489
|
void g_object_set_property (GObject *object,
|
|
490
|
-
|
|
491
|
-
|
|
490
|
+
const gchar *property_name,
|
|
491
|
+
const GValue *value);
|
|
492
492
|
GOBJECT_AVAILABLE_IN_ALL
|
|
493
493
|
void g_object_get_property (GObject *object,
|
|
494
|
-
|
|
495
|
-
|
|
494
|
+
const gchar *property_name,
|
|
495
|
+
GValue *value);
|
|
496
496
|
GOBJECT_AVAILABLE_IN_ALL
|
|
497
497
|
void g_object_freeze_notify (GObject *object);
|
|
498
498
|
GOBJECT_AVAILABLE_IN_ALL
|
|
499
499
|
void g_object_notify (GObject *object,
|
|
500
|
-
|
|
500
|
+
const gchar *property_name);
|
|
501
501
|
GOBJECT_AVAILABLE_IN_ALL
|
|
502
502
|
void g_object_notify_by_pspec (GObject *object,
|
|
503
|
-
|
|
503
|
+
GParamSpec *pspec);
|
|
504
504
|
GOBJECT_AVAILABLE_IN_ALL
|
|
505
505
|
void g_object_thaw_notify (GObject *object);
|
|
506
506
|
GOBJECT_AVAILABLE_IN_ALL
|
|
507
|
-
gboolean g_object_is_floating
|
|
507
|
+
gboolean g_object_is_floating (gpointer object);
|
|
508
508
|
GOBJECT_AVAILABLE_IN_ALL
|
|
509
|
-
gpointer g_object_ref_sink
|
|
509
|
+
gpointer g_object_ref_sink (gpointer object);
|
|
510
510
|
GOBJECT_AVAILABLE_IN_2_70
|
|
511
511
|
gpointer g_object_take_ref (gpointer object);
|
|
512
512
|
GOBJECT_AVAILABLE_IN_ALL
|
|
@@ -514,13 +514,13 @@ gpointer g_object_ref (gpointer object);
|
|
|
514
514
|
GOBJECT_AVAILABLE_IN_ALL
|
|
515
515
|
void g_object_unref (gpointer object);
|
|
516
516
|
GOBJECT_AVAILABLE_IN_ALL
|
|
517
|
-
void
|
|
518
|
-
|
|
519
|
-
|
|
517
|
+
void g_object_weak_ref (GObject *object,
|
|
518
|
+
GWeakNotify notify,
|
|
519
|
+
gpointer data);
|
|
520
520
|
GOBJECT_AVAILABLE_IN_ALL
|
|
521
|
-
void
|
|
522
|
-
|
|
523
|
-
|
|
521
|
+
void g_object_weak_unref (GObject *object,
|
|
522
|
+
GWeakNotify notify,
|
|
523
|
+
gpointer data);
|
|
524
524
|
GOBJECT_AVAILABLE_IN_ALL
|
|
525
525
|
void g_object_add_weak_pointer (GObject *object,
|
|
526
526
|
gpointer *weak_pointer_location);
|
|
@@ -549,120 +549,120 @@ void g_object_remove_weak_pointer (GObject *object,
|
|
|
549
549
|
* See also: g_object_add_toggle_ref()
|
|
550
550
|
*/
|
|
551
551
|
typedef void (*GToggleNotify) (gpointer data,
|
|
552
|
-
|
|
553
|
-
|
|
552
|
+
GObject *object,
|
|
553
|
+
gboolean is_last_ref);
|
|
554
554
|
|
|
555
555
|
GOBJECT_AVAILABLE_IN_ALL
|
|
556
556
|
void g_object_add_toggle_ref (GObject *object,
|
|
557
|
-
|
|
558
|
-
|
|
557
|
+
GToggleNotify notify,
|
|
558
|
+
gpointer data);
|
|
559
559
|
GOBJECT_AVAILABLE_IN_ALL
|
|
560
560
|
void g_object_remove_toggle_ref (GObject *object,
|
|
561
|
-
|
|
562
|
-
|
|
561
|
+
GToggleNotify notify,
|
|
562
|
+
gpointer data);
|
|
563
563
|
|
|
564
564
|
GOBJECT_AVAILABLE_IN_ALL
|
|
565
565
|
gpointer g_object_get_qdata (GObject *object,
|
|
566
|
-
|
|
566
|
+
GQuark quark);
|
|
567
567
|
GOBJECT_AVAILABLE_IN_ALL
|
|
568
568
|
void g_object_set_qdata (GObject *object,
|
|
569
|
-
|
|
570
|
-
|
|
569
|
+
GQuark quark,
|
|
570
|
+
gpointer data);
|
|
571
571
|
GOBJECT_AVAILABLE_IN_ALL
|
|
572
572
|
void g_object_set_qdata_full (GObject *object,
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
573
|
+
GQuark quark,
|
|
574
|
+
gpointer data,
|
|
575
|
+
GDestroyNotify destroy);
|
|
576
576
|
GOBJECT_AVAILABLE_IN_ALL
|
|
577
577
|
gpointer g_object_steal_qdata (GObject *object,
|
|
578
|
-
|
|
578
|
+
GQuark quark);
|
|
579
579
|
|
|
580
580
|
GOBJECT_AVAILABLE_IN_2_34
|
|
581
581
|
gpointer g_object_dup_qdata (GObject *object,
|
|
582
582
|
GQuark quark,
|
|
583
583
|
GDuplicateFunc dup_func,
|
|
584
|
-
|
|
584
|
+
gpointer user_data);
|
|
585
585
|
GOBJECT_AVAILABLE_IN_2_34
|
|
586
586
|
gboolean g_object_replace_qdata (GObject *object,
|
|
587
587
|
GQuark quark,
|
|
588
588
|
gpointer oldval,
|
|
589
589
|
gpointer newval,
|
|
590
590
|
GDestroyNotify destroy,
|
|
591
|
-
|
|
591
|
+
GDestroyNotify *old_destroy);
|
|
592
592
|
|
|
593
593
|
GOBJECT_AVAILABLE_IN_ALL
|
|
594
594
|
gpointer g_object_get_data (GObject *object,
|
|
595
|
-
|
|
595
|
+
const gchar *key);
|
|
596
596
|
GOBJECT_AVAILABLE_IN_ALL
|
|
597
597
|
void g_object_set_data (GObject *object,
|
|
598
|
-
|
|
599
|
-
|
|
598
|
+
const gchar *key,
|
|
599
|
+
gpointer data);
|
|
600
600
|
GOBJECT_AVAILABLE_IN_ALL
|
|
601
601
|
void g_object_set_data_full (GObject *object,
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
602
|
+
const gchar *key,
|
|
603
|
+
gpointer data,
|
|
604
|
+
GDestroyNotify destroy);
|
|
605
605
|
GOBJECT_AVAILABLE_IN_ALL
|
|
606
606
|
gpointer g_object_steal_data (GObject *object,
|
|
607
|
-
|
|
607
|
+
const gchar *key);
|
|
608
608
|
|
|
609
609
|
GOBJECT_AVAILABLE_IN_2_34
|
|
610
610
|
gpointer g_object_dup_data (GObject *object,
|
|
611
611
|
const gchar *key,
|
|
612
612
|
GDuplicateFunc dup_func,
|
|
613
|
-
|
|
613
|
+
gpointer user_data);
|
|
614
614
|
GOBJECT_AVAILABLE_IN_2_34
|
|
615
615
|
gboolean g_object_replace_data (GObject *object,
|
|
616
616
|
const gchar *key,
|
|
617
617
|
gpointer oldval,
|
|
618
618
|
gpointer newval,
|
|
619
619
|
GDestroyNotify destroy,
|
|
620
|
-
|
|
620
|
+
GDestroyNotify *old_destroy);
|
|
621
621
|
|
|
622
622
|
|
|
623
623
|
GOBJECT_AVAILABLE_IN_ALL
|
|
624
624
|
void g_object_watch_closure (GObject *object,
|
|
625
|
-
|
|
625
|
+
GClosure *closure);
|
|
626
626
|
GOBJECT_AVAILABLE_IN_ALL
|
|
627
627
|
GClosure* g_cclosure_new_object (GCallback callback_func,
|
|
628
|
-
|
|
628
|
+
GObject *object);
|
|
629
629
|
GOBJECT_AVAILABLE_IN_ALL
|
|
630
630
|
GClosure* g_cclosure_new_object_swap (GCallback callback_func,
|
|
631
|
-
|
|
631
|
+
GObject *object);
|
|
632
632
|
GOBJECT_AVAILABLE_IN_ALL
|
|
633
633
|
GClosure* g_closure_new_object (guint sizeof_closure,
|
|
634
|
-
|
|
634
|
+
GObject *object);
|
|
635
635
|
GOBJECT_AVAILABLE_IN_ALL
|
|
636
636
|
void g_value_set_object (GValue *value,
|
|
637
|
-
|
|
637
|
+
gpointer v_object);
|
|
638
638
|
GOBJECT_AVAILABLE_IN_ALL
|
|
639
639
|
gpointer g_value_get_object (const GValue *value);
|
|
640
640
|
GOBJECT_AVAILABLE_IN_ALL
|
|
641
641
|
gpointer g_value_dup_object (const GValue *value);
|
|
642
642
|
GOBJECT_AVAILABLE_IN_ALL
|
|
643
|
-
gulong
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
643
|
+
gulong g_signal_connect_object (gpointer instance,
|
|
644
|
+
const gchar *detailed_signal,
|
|
645
|
+
GCallback c_handler,
|
|
646
|
+
gpointer gobject,
|
|
647
|
+
GConnectFlags connect_flags);
|
|
648
648
|
|
|
649
649
|
/*< protected >*/
|
|
650
650
|
GOBJECT_AVAILABLE_IN_ALL
|
|
651
651
|
void g_object_force_floating (GObject *object);
|
|
652
652
|
GOBJECT_AVAILABLE_IN_ALL
|
|
653
|
-
void g_object_run_dispose
|
|
653
|
+
void g_object_run_dispose (GObject *object);
|
|
654
654
|
|
|
655
655
|
|
|
656
656
|
GOBJECT_AVAILABLE_IN_ALL
|
|
657
657
|
void g_value_take_object (GValue *value,
|
|
658
|
-
|
|
658
|
+
gpointer v_object);
|
|
659
659
|
GOBJECT_DEPRECATED_FOR(g_value_take_object)
|
|
660
660
|
void g_value_set_object_take_ownership (GValue *value,
|
|
661
661
|
gpointer v_object);
|
|
662
662
|
|
|
663
663
|
GOBJECT_DEPRECATED
|
|
664
|
-
gsize
|
|
665
|
-
|
|
664
|
+
gsize g_object_compat_control (gsize what,
|
|
665
|
+
gpointer data);
|
|
666
666
|
|
|
667
667
|
/* --- implementation macros --- */
|
|
668
668
|
#define G_OBJECT_WARN_INVALID_PSPEC(object, pname, property_id, pspec) \
|
|
@@ -37,8 +37,8 @@ G_BEGIN_DECLS
|
|
|
37
37
|
typedef struct _GObjectNotifyContext GObjectNotifyContext;
|
|
38
38
|
typedef struct _GObjectNotifyQueue GObjectNotifyQueue;
|
|
39
39
|
typedef void (*GObjectNotifyQueueDispatcher) (GObject *object,
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
guint n_pspecs,
|
|
41
|
+
GParamSpec **pspecs);
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
/* --- structures --- */
|
|
@@ -69,8 +69,8 @@ g_object_notify_queue_free (gpointer data)
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
static inline GObjectNotifyQueue*
|
|
72
|
-
g_object_notify_queue_freeze (GObject
|
|
73
|
-
|
|
72
|
+
g_object_notify_queue_freeze (GObject *object,
|
|
73
|
+
GObjectNotifyContext *context)
|
|
74
74
|
{
|
|
75
75
|
GObjectNotifyQueue *nqueue;
|
|
76
76
|
|
|
@@ -81,7 +81,7 @@ g_object_notify_queue_freeze (GObject *object,
|
|
|
81
81
|
nqueue = g_slice_new0 (GObjectNotifyQueue);
|
|
82
82
|
nqueue->context = context;
|
|
83
83
|
g_datalist_id_set_data_full (&object->qdata, context->quark_notify_queue,
|
|
84
|
-
|
|
84
|
+
nqueue, g_object_notify_queue_free);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
if (nqueue->freeze_count >= 65535)
|
|
@@ -98,7 +98,7 @@ g_object_notify_queue_freeze (GObject *object,
|
|
|
98
98
|
|
|
99
99
|
static inline void
|
|
100
100
|
g_object_notify_queue_thaw (GObject *object,
|
|
101
|
-
|
|
101
|
+
GObjectNotifyQueue *nqueue)
|
|
102
102
|
{
|
|
103
103
|
GObjectNotifyContext *context = nqueue->context;
|
|
104
104
|
GParamSpec *pspecs_mem[16], **pspecs, **free_me = NULL;
|
|
@@ -114,7 +114,7 @@ g_object_notify_queue_thaw (GObject *object,
|
|
|
114
114
|
if (G_UNLIKELY(nqueue->freeze_count == 0)) {
|
|
115
115
|
G_UNLOCK(notify_lock);
|
|
116
116
|
g_critical ("%s: property-changed notification for %s(%p) is not frozen",
|
|
117
|
-
|
|
117
|
+
G_STRFUNC, G_OBJECT_TYPE_NAME (object), object);
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
120
120
|
|
|
@@ -141,7 +141,7 @@ g_object_notify_queue_thaw (GObject *object,
|
|
|
141
141
|
|
|
142
142
|
static inline void
|
|
143
143
|
g_object_notify_queue_clear (GObject *object G_GNUC_UNUSED,
|
|
144
|
-
|
|
144
|
+
GObjectNotifyQueue *nqueue)
|
|
145
145
|
{
|
|
146
146
|
g_return_if_fail (nqueue->freeze_count > 0);
|
|
147
147
|
|
|
@@ -156,8 +156,8 @@ g_object_notify_queue_clear (GObject *object G_GNUC_UNUSED,
|
|
|
156
156
|
|
|
157
157
|
static inline void
|
|
158
158
|
g_object_notify_queue_add (GObject *object G_GNUC_UNUSED,
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
GObjectNotifyQueue *nqueue,
|
|
160
|
+
GParamSpec *pspec)
|
|
161
161
|
{
|
|
162
162
|
if (pspec->flags & G_PARAM_READABLE)
|
|
163
163
|
{
|
|
@@ -169,8 +169,8 @@ g_object_notify_queue_add (GObject *object G_GNUC_UNUSED,
|
|
|
169
169
|
|
|
170
170
|
redirect = g_param_spec_get_redirect_target (pspec);
|
|
171
171
|
if (redirect)
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
pspec = redirect;
|
|
173
|
+
|
|
174
174
|
/* we do the deduping in _thaw */
|
|
175
175
|
if (g_slist_find (nqueue->pspecs, pspec) == NULL)
|
|
176
176
|
{
|