@revizly/sharp-libvips-dev 1.0.61 → 1.0.64

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.
Files changed (145) hide show
  1. package/cplusplus/VError.cpp +28 -0
  2. package/include/expat.h +13 -6
  3. package/include/expat_config.h +3 -3
  4. package/include/ffi.h +3 -3
  5. package/include/gio-unix-2.0/gio/gdesktopappinfo.h +40 -23
  6. package/include/gio-unix-2.0/gio/gunixmounts.h +3 -3
  7. package/include/glib-2.0/gio/gasyncinitable.h +32 -32
  8. package/include/glib-2.0/gio/gasyncresult.h +4 -4
  9. package/include/glib-2.0/gio/gbufferedinputstream.h +28 -28
  10. package/include/glib-2.0/gio/gbufferedoutputstream.h +3 -3
  11. package/include/glib-2.0/gio/gcancellable.h +6 -6
  12. package/include/glib-2.0/gio/gcharsetconverter.h +3 -3
  13. package/include/glib-2.0/gio/gconverter.h +16 -16
  14. package/include/glib-2.0/gio/gdatainputstream.h +3 -3
  15. package/include/glib-2.0/gio/gdataoutputstream.h +25 -25
  16. package/include/glib-2.0/gio/gfile.h +369 -369
  17. package/include/glib-2.0/gio/gfileattribute.h +4 -4
  18. package/include/glib-2.0/gio/gfileenumerator.h +18 -18
  19. package/include/glib-2.0/gio/gfileinfo.h +63 -63
  20. package/include/glib-2.0/gio/gfileinputstream.h +11 -11
  21. package/include/glib-2.0/gio/gfileiostream.h +11 -11
  22. package/include/glib-2.0/gio/gfilemonitor.h +1 -1
  23. package/include/glib-2.0/gio/gfileoutputstream.h +8 -8
  24. package/include/glib-2.0/gio/gicon.h +1 -1
  25. package/include/glib-2.0/gio/ginetaddress.h +1 -1
  26. package/include/glib-2.0/gio/ginetaddressmask.h +5 -5
  27. package/include/glib-2.0/gio/ginitable.h +16 -16
  28. package/include/glib-2.0/gio/ginputstream.h +47 -47
  29. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  30. package/include/glib-2.0/gio/gioenums.h +3 -1
  31. package/include/glib-2.0/gio/giomodule.h +5 -5
  32. package/include/glib-2.0/gio/gioscheduler.h +10 -10
  33. package/include/glib-2.0/gio/giostream.h +16 -16
  34. package/include/glib-2.0/gio/giotypes.h +13 -12
  35. package/include/glib-2.0/gio/gloadableicon.h +13 -13
  36. package/include/glib-2.0/gio/gmemoryinputstream.h +1 -1
  37. package/include/glib-2.0/gio/gmountoperation.h +14 -14
  38. package/include/glib-2.0/gio/gnetworkaddress.h +5 -5
  39. package/include/glib-2.0/gio/gnetworkmonitor.h +10 -10
  40. package/include/glib-2.0/gio/gnetworkservice.h +2 -2
  41. package/include/glib-2.0/gio/goutputstream.h +76 -76
  42. package/include/glib-2.0/gio/gpollableinputstream.h +9 -9
  43. package/include/glib-2.0/gio/gpollableoutputstream.h +18 -18
  44. package/include/glib-2.0/gio/gpollableutils.h +18 -18
  45. package/include/glib-2.0/gio/gproxy.h +25 -25
  46. package/include/glib-2.0/gio/gproxyaddress.h +6 -6
  47. package/include/glib-2.0/gio/gproxyresolver.h +25 -25
  48. package/include/glib-2.0/gio/gresource.h +26 -26
  49. package/include/glib-2.0/gio/gseekable.h +16 -16
  50. package/include/glib-2.0/gio/gsimpleasyncresult.h +40 -40
  51. package/include/glib-2.0/gio/gsocket.h +103 -103
  52. package/include/glib-2.0/gio/gsocketaddress.h +2 -2
  53. package/include/glib-2.0/gio/gsocketaddressenumerator.h +14 -14
  54. package/include/glib-2.0/gio/gsocketclient.h +25 -25
  55. package/include/glib-2.0/gio/gsocketconnection.h +16 -16
  56. package/include/glib-2.0/gio/gsocketcontrolmessage.h +8 -8
  57. package/include/glib-2.0/gio/gsocketlistener.h +15 -15
  58. package/include/glib-2.0/gio/gsocketservice.h +1 -1
  59. package/include/glib-2.0/gio/gsrvtarget.h +3 -3
  60. package/include/glib-2.0/gio/gtcpconnection.h +1 -1
  61. package/include/glib-2.0/gio/gtcpwrapperconnection.h +1 -1
  62. package/include/glib-2.0/gio/gtlsbackend.h +1 -1
  63. package/include/glib-2.0/gio/gtlscertificate.h +10 -10
  64. package/include/glib-2.0/gio/gtlsclientconnection.h +5 -5
  65. package/include/glib-2.0/gio/gtlsconnection.h +23 -23
  66. package/include/glib-2.0/gio/gtlsserverconnection.h +2 -2
  67. package/include/glib-2.0/gio/gvfs.h +14 -14
  68. package/include/glib-2.0/gio/gvolume.h +8 -8
  69. package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
  70. package/include/glib-2.0/gio/gzlibcompressor.h +1 -1
  71. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  72. package/include/glib-2.0/glib/deprecated/gmain.h +1 -1
  73. package/include/glib-2.0/glib/deprecated/grel.h +1 -1
  74. package/include/glib-2.0/glib/deprecated/gthread.h +1 -1
  75. package/include/glib-2.0/glib/galloca.h +2 -2
  76. package/include/glib-2.0/glib/garray.h +56 -56
  77. package/include/glib-2.0/glib/gbookmarkfile.h +93 -93
  78. package/include/glib-2.0/glib/gconvert.h +43 -43
  79. package/include/glib-2.0/glib/gdataset.h +14 -14
  80. package/include/glib-2.0/glib/gdate.h +17 -17
  81. package/include/glib-2.0/glib/gdir.h +2 -2
  82. package/include/glib-2.0/glib/gerror.h +1 -1
  83. package/include/glib-2.0/glib/ghook.h +103 -103
  84. package/include/glib-2.0/glib/giochannel.h +90 -90
  85. package/include/glib-2.0/glib/gkeyfile.h +112 -111
  86. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  87. package/include/glib-2.0/glib/glist.h +37 -37
  88. package/include/glib-2.0/glib/gmacros.h +84 -27
  89. package/include/glib-2.0/glib/gmain.h +10 -10
  90. package/include/glib-2.0/glib/gmappedfile.h +4 -4
  91. package/include/glib-2.0/glib/gmarkup.h +2 -2
  92. package/include/glib-2.0/glib/gmem.h +68 -68
  93. package/include/glib-2.0/glib/gmessages.h +14 -14
  94. package/include/glib-2.0/glib/gnode.h +76 -76
  95. package/include/glib-2.0/glib/goption.h +45 -45
  96. package/include/glib-2.0/glib/gpattern.h +6 -6
  97. package/include/glib-2.0/glib/gpoll.h +6 -6
  98. package/include/glib-2.0/glib/gprimes.h +2 -2
  99. package/include/glib-2.0/glib/gprintf.h +10 -10
  100. package/include/glib-2.0/glib/gqsort.h +5 -5
  101. package/include/glib-2.0/glib/gquark.h +9 -5
  102. package/include/glib-2.0/glib/gqueue.h +1 -1
  103. package/include/glib-2.0/glib/grand.h +12 -12
  104. package/include/glib-2.0/glib/gscanner.h +138 -138
  105. package/include/glib-2.0/glib/gslice.h +15 -15
  106. package/include/glib-2.0/glib/gslist.h +34 -34
  107. package/include/glib-2.0/glib/gspawn.h +1 -1
  108. package/include/glib-2.0/glib/gstdio.h +16 -10
  109. package/include/glib-2.0/glib/gstrfuncs.h +63 -63
  110. package/include/glib-2.0/glib/gtestutils.h +2 -2
  111. package/include/glib-2.0/glib/gtimer.h +9 -9
  112. package/include/glib-2.0/glib/gtree.h +3 -3
  113. package/include/glib-2.0/glib/gtypes.h +166 -166
  114. package/include/glib-2.0/glib/gutils.h +35 -33
  115. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  116. package/include/glib-2.0/glib-object.h +1 -1
  117. package/include/glib-2.0/glib.h +1 -1
  118. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  119. package/include/glib-2.0/gmodule.h +12 -12
  120. package/include/glib-2.0/gobject/gclosure.h +82 -82
  121. package/include/glib-2.0/gobject/genums.h +43 -43
  122. package/include/glib-2.0/gobject/gmarshal.h +2 -2
  123. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  124. package/include/glib-2.0/gobject/gobject.h +97 -97
  125. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +12 -12
  126. package/include/glib-2.0/gobject/gparam.h +96 -96
  127. package/include/glib-2.0/gobject/gparamspecs.h +157 -157
  128. package/include/glib-2.0/gobject/gsignal.h +189 -189
  129. package/include/glib-2.0/gobject/gsourceclosure.h +1 -1
  130. package/include/glib-2.0/gobject/gtype.h +139 -139
  131. package/include/glib-2.0/gobject/gtypemodule.h +5 -5
  132. package/include/glib-2.0/gobject/gtypeplugin.h +32 -32
  133. package/include/glib-2.0/gobject/gvalue.h +34 -34
  134. package/include/glib-2.0/gobject/gvaluearray.h +21 -21
  135. package/include/glib-2.0/gobject/gvaluecollector.h +117 -117
  136. package/include/glib-2.0/gobject/gvaluetypes.h +74 -74
  137. package/include/harfbuzz/hb-font.h +22 -0
  138. package/include/harfbuzz/hb-ot-layout.h +11 -0
  139. package/include/harfbuzz/hb-version.h +2 -2
  140. package/include/libimagequant.h +4 -0
  141. package/include/vips/VError8.h +3 -4
  142. package/include/vips/VImage8.h +12 -0
  143. package/include/vips/util.h +15 -1
  144. package/package.json +1 -1
  145. package/versions.json +5 -5
@@ -10,7 +10,7 @@
10
10
  *
11
11
  * This library is distributed in the hope that it will be useful,
12
12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
14
  * Lesser General Public License for more details.
15
15
  *
16
16
  * You should have received a copy of the GNU Lesser General Public
@@ -62,14 +62,14 @@ G_BEGIN_DECLS
62
62
  */
63
63
  typedef enum
64
64
  {
65
- G_MODULE_BIND_LAZY = 1 << 0,
66
- G_MODULE_BIND_LOCAL = 1 << 1,
67
- G_MODULE_BIND_MASK = 0x03
65
+ G_MODULE_BIND_LAZY = 1 << 0,
66
+ G_MODULE_BIND_LOCAL = 1 << 1,
67
+ G_MODULE_BIND_MASK = 0x03
68
68
  } G_GNUC_FLAG_ENUM GModuleFlags;
69
69
 
70
- typedef struct _GModule GModule;
71
- typedef const gchar* (*GModuleCheckInit) (GModule *module);
72
- typedef void (*GModuleUnload) (GModule *module);
70
+ typedef struct _GModule GModule;
71
+ typedef const gchar* (*GModuleCheckInit) (GModule *module);
72
+ typedef void (*GModuleUnload) (GModule *module);
73
73
 
74
74
  #define G_MODULE_ERROR g_module_error_quark () GMODULE_AVAILABLE_MACRO_IN_2_70
75
75
  GMODULE_AVAILABLE_IN_2_70
@@ -93,12 +93,12 @@ GMODULE_AVAILABLE_ENUMERATOR_IN_2_70;
93
93
 
94
94
  /* return TRUE if dynamic module loading is supported */
95
95
  GMODULE_AVAILABLE_IN_ALL
96
- gboolean g_module_supported (void) G_GNUC_CONST;
96
+ gboolean g_module_supported (void) G_GNUC_CONST;
97
97
 
98
98
  /* open a module 'file_name' and return handle, which is NULL on error */
99
99
  GMODULE_AVAILABLE_IN_ALL
100
100
  GModule* g_module_open (const gchar *file_name,
101
- GModuleFlags flags);
101
+ GModuleFlags flags);
102
102
 
103
103
  GMODULE_AVAILABLE_IN_2_70
104
104
  GModule *g_module_open_full (const gchar *file_name,
@@ -120,8 +120,8 @@ const gchar * g_module_error (void);
120
120
  /* retrieve a symbol pointer from 'module', returns TRUE on success */
121
121
  GMODULE_AVAILABLE_IN_ALL
122
122
  gboolean g_module_symbol (GModule *module,
123
- const gchar *symbol_name,
124
- gpointer *symbol);
123
+ const gchar *symbol_name,
124
+ gpointer *symbol);
125
125
 
126
126
  /* retrieve the file name from an existing module */
127
127
  GMODULE_AVAILABLE_IN_ALL
@@ -140,7 +140,7 @@ const gchar * g_module_name (GModule *module);
140
140
  */
141
141
  GMODULE_DEPRECATED_IN_2_76
142
142
  gchar* g_module_build_path (const gchar *directory,
143
- const gchar *module_name);
143
+ const gchar *module_name);
144
144
 
145
145
  G_END_DECLS
146
146
 
@@ -38,7 +38,7 @@ G_BEGIN_DECLS
38
38
  * Returns: %TRUE if a #GClosureMarshal marshaller has not yet been set on
39
39
  * @closure.
40
40
  */
41
- #define G_CLOSURE_NEEDS_MARSHAL(closure) (((GClosure*) (closure))->marshal == NULL)
41
+ #define G_CLOSURE_NEEDS_MARSHAL(closure) (((GClosure*) (closure))->marshal == NULL)
42
42
  /**
43
43
  * G_CLOSURE_N_NOTIFIERS:
44
44
  * @cl: a #GClosure
@@ -52,7 +52,7 @@ G_BEGIN_DECLS
52
52
  *
53
53
  * Returns: number of notifiers
54
54
  */
55
- #define G_CLOSURE_N_NOTIFIERS(cl) (((cl)->n_guards << 1L) + \
55
+ #define G_CLOSURE_N_NOTIFIERS(cl) (((cl)->n_guards << 1L) + \
56
56
  (cl)->n_fnotifiers + (cl)->n_inotifiers)
57
57
  /**
58
58
  * G_CCLOSURE_SWAP_DATA:
@@ -63,19 +63,19 @@ G_BEGIN_DECLS
63
63
  *
64
64
  * Returns: %TRUE if data has to be swapped.
65
65
  */
66
- #define G_CCLOSURE_SWAP_DATA(cclosure) (((GClosure*) (cclosure))->derivative_flag)
66
+ #define G_CCLOSURE_SWAP_DATA(cclosure) (((GClosure*) (cclosure))->derivative_flag)
67
67
  /**
68
68
  * G_CALLBACK:
69
69
  * @f: a function pointer.
70
70
  *
71
71
  * Cast a function pointer to a #GCallback.
72
72
  */
73
- #define G_CALLBACK(f) ((GCallback) (f))
73
+ #define G_CALLBACK(f) ((GCallback) (f))
74
74
 
75
75
 
76
76
  /* -- typedefs --- */
77
- typedef struct _GClosure GClosure;
78
- typedef struct _GClosureNotifyData GClosureNotifyData;
77
+ typedef struct _GClosure GClosure;
78
+ typedef struct _GClosureNotifyData GClosureNotifyData;
79
79
 
80
80
  /**
81
81
  * GCallback:
@@ -98,8 +98,8 @@ typedef void (*GCallback) (void);
98
98
  * The type used for the various notification callbacks which can be registered
99
99
  * on closures.
100
100
  */
101
- typedef void (*GClosureNotify) (gpointer data,
102
- GClosure *closure);
101
+ typedef void (*GClosureNotify) (gpointer data,
102
+ GClosure *closure);
103
103
  /**
104
104
  * GClosureMarshal:
105
105
  * @closure: the #GClosure to which the marshaller belongs
@@ -118,12 +118,12 @@ typedef void (*GClosureNotify) (gpointer data,
118
118
  *
119
119
  * The type used for marshaller functions.
120
120
  */
121
- typedef void (*GClosureMarshal) (GClosure *closure,
122
- GValue *return_value,
123
- guint n_param_values,
124
- const GValue *param_values,
125
- gpointer invocation_hint,
126
- gpointer marshal_data);
121
+ typedef void (*GClosureMarshal) (GClosure *closure,
122
+ GValue *return_value,
123
+ guint n_param_values,
124
+ const GValue *param_values,
125
+ gpointer invocation_hint,
126
+ gpointer marshal_data);
127
127
 
128
128
  /**
129
129
  * GVaClosureMarshal:
@@ -146,12 +146,12 @@ typedef void (*GClosureMarshal) (GClosure *closure,
146
146
  * marshalling the signal argument into GValues.
147
147
  */
148
148
  typedef void (* GVaClosureMarshal) (GClosure *closure,
149
- GValue *return_value,
150
- gpointer instance,
151
- va_list args,
152
- gpointer marshal_data,
153
- int n_params,
154
- GType *param_types);
149
+ GValue *return_value,
150
+ gpointer instance,
151
+ va_list args,
152
+ gpointer marshal_data,
153
+ int n_params,
154
+ GType *param_types);
155
155
 
156
156
  /**
157
157
  * GCClosure:
@@ -160,7 +160,7 @@ typedef void (* GVaClosureMarshal) (GClosure *closure,
160
160
  *
161
161
  * A #GCClosure is a specialization of #GClosure for C function callbacks.
162
162
  */
163
- typedef struct _GCClosure GCClosure;
163
+ typedef struct _GCClosure GCClosure;
164
164
 
165
165
 
166
166
  /* --- structures --- */
@@ -188,15 +188,15 @@ struct _GClosure
188
188
  guint in_marshal : 1; /* (atomic) */
189
189
  guint is_invalid : 1; /* (atomic) */
190
190
 
191
- /*< private >*/ void (*marshal) (GClosure *closure,
192
- GValue /*out*/ *return_value,
193
- guint n_param_values,
194
- const GValue *param_values,
195
- gpointer invocation_hint,
196
- gpointer marshal_data);
197
- /*< protected >*/ gpointer data;
191
+ /*< private >*/ void (*marshal) (GClosure *closure,
192
+ GValue /*out*/ *return_value,
193
+ guint n_param_values,
194
+ const GValue *param_values,
195
+ gpointer invocation_hint,
196
+ gpointer marshal_data);
197
+ /*< protected >*/ gpointer data;
198
198
 
199
- /*< private >*/ GClosureNotifyData *notifiers;
199
+ /*< private >*/ GClosureNotifyData *notifiers;
200
200
 
201
201
  /* invariants/constraints:
202
202
  * - ->marshal and ->data are _invalid_ as soon as ->is_invalid==TRUE
@@ -213,79 +213,79 @@ struct _GClosure
213
213
  */
214
214
  struct _GCClosure
215
215
  {
216
- GClosure closure;
217
- gpointer callback;
216
+ GClosure closure;
217
+ gpointer callback;
218
218
  };
219
219
 
220
220
 
221
221
  /* --- prototypes --- */
222
222
  GOBJECT_AVAILABLE_IN_ALL
223
- GClosure* g_cclosure_new (GCallback callback_func,
224
- gpointer user_data,
225
- GClosureNotify destroy_data);
223
+ GClosure* g_cclosure_new (GCallback callback_func,
224
+ gpointer user_data,
225
+ GClosureNotify destroy_data);
226
226
  GOBJECT_AVAILABLE_IN_ALL
227
- GClosure* g_cclosure_new_swap (GCallback callback_func,
228
- gpointer user_data,
229
- GClosureNotify destroy_data);
227
+ GClosure* g_cclosure_new_swap (GCallback callback_func,
228
+ gpointer user_data,
229
+ GClosureNotify destroy_data);
230
230
  GOBJECT_AVAILABLE_IN_ALL
231
- GClosure* g_signal_type_cclosure_new (GType itype,
232
- guint struct_offset);
231
+ GClosure* g_signal_type_cclosure_new (GType itype,
232
+ guint struct_offset);
233
233
 
234
234
 
235
235
  /* --- prototypes --- */
236
236
  GOBJECT_AVAILABLE_IN_ALL
237
- GClosure* g_closure_ref (GClosure *closure);
237
+ GClosure* g_closure_ref (GClosure *closure);
238
238
  GOBJECT_AVAILABLE_IN_ALL
239
- void g_closure_sink (GClosure *closure);
239
+ void g_closure_sink (GClosure *closure);
240
240
  GOBJECT_AVAILABLE_IN_ALL
241
- void g_closure_unref (GClosure *closure);
241
+ void g_closure_unref (GClosure *closure);
242
242
  /* intimidating */
243
243
  GOBJECT_AVAILABLE_IN_ALL
244
- GClosure* g_closure_new_simple (guint sizeof_closure,
245
- gpointer data);
244
+ GClosure* g_closure_new_simple (guint sizeof_closure,
245
+ gpointer data);
246
246
  GOBJECT_AVAILABLE_IN_ALL
247
- void g_closure_add_finalize_notifier (GClosure *closure,
248
- gpointer notify_data,
249
- GClosureNotify notify_func);
247
+ void g_closure_add_finalize_notifier (GClosure *closure,
248
+ gpointer notify_data,
249
+ GClosureNotify notify_func);
250
250
  GOBJECT_AVAILABLE_IN_ALL
251
- void g_closure_remove_finalize_notifier (GClosure *closure,
252
- gpointer notify_data,
253
- GClosureNotify notify_func);
251
+ void g_closure_remove_finalize_notifier (GClosure *closure,
252
+ gpointer notify_data,
253
+ GClosureNotify notify_func);
254
254
  GOBJECT_AVAILABLE_IN_ALL
255
- void g_closure_add_invalidate_notifier (GClosure *closure,
256
- gpointer notify_data,
257
- GClosureNotify notify_func);
255
+ void g_closure_add_invalidate_notifier (GClosure *closure,
256
+ gpointer notify_data,
257
+ GClosureNotify notify_func);
258
258
  GOBJECT_AVAILABLE_IN_ALL
259
- void g_closure_remove_invalidate_notifier (GClosure *closure,
260
- gpointer notify_data,
261
- GClosureNotify notify_func);
259
+ void g_closure_remove_invalidate_notifier (GClosure *closure,
260
+ gpointer notify_data,
261
+ GClosureNotify notify_func);
262
262
  GOBJECT_AVAILABLE_IN_ALL
263
- void g_closure_add_marshal_guards (GClosure *closure,
264
- gpointer pre_marshal_data,
265
- GClosureNotify pre_marshal_notify,
266
- gpointer post_marshal_data,
267
- GClosureNotify post_marshal_notify);
263
+ void g_closure_add_marshal_guards (GClosure *closure,
264
+ gpointer pre_marshal_data,
265
+ GClosureNotify pre_marshal_notify,
266
+ gpointer post_marshal_data,
267
+ GClosureNotify post_marshal_notify);
268
268
  GOBJECT_AVAILABLE_IN_ALL
269
- void g_closure_set_marshal (GClosure *closure,
270
- GClosureMarshal marshal);
269
+ void g_closure_set_marshal (GClosure *closure,
270
+ GClosureMarshal marshal);
271
271
  GOBJECT_AVAILABLE_IN_ALL
272
- void g_closure_set_meta_marshal (GClosure *closure,
273
- gpointer marshal_data,
274
- GClosureMarshal meta_marshal);
272
+ void g_closure_set_meta_marshal (GClosure *closure,
273
+ gpointer marshal_data,
274
+ GClosureMarshal meta_marshal);
275
275
  GOBJECT_AVAILABLE_IN_ALL
276
- void g_closure_invalidate (GClosure *closure);
276
+ void g_closure_invalidate (GClosure *closure);
277
277
  GOBJECT_AVAILABLE_IN_ALL
278
- void g_closure_invoke (GClosure *closure,
279
- GValue /*out*/ *return_value,
280
- guint n_param_values,
281
- const GValue *param_values,
282
- gpointer invocation_hint);
278
+ void g_closure_invoke (GClosure *closure,
279
+ GValue /*out*/ *return_value,
280
+ guint n_param_values,
281
+ const GValue *param_values,
282
+ gpointer invocation_hint);
283
283
 
284
284
  /* FIXME:
285
- OK: data_object::destroy -> closure_invalidate();
286
- MIS: closure_invalidate() -> disconnect(closure);
287
- MIS: disconnect(closure) -> (unlink) closure_unref();
288
- OK: closure_finalize() -> g_free (data_string);
285
+ OK: data_object::destroy -> closure_invalidate();
286
+ MIS: closure_invalidate() -> disconnect(closure);
287
+ MIS: disconnect(closure) -> (unlink) closure_unref();
288
+ OK: closure_finalize() -> g_free (data_string);
289
289
 
290
290
  random remarks:
291
291
  - need marshaller repo with decent aliasing to base types
@@ -302,12 +302,12 @@ void g_cclosure_marshal_generic (GClosure *closure,
302
302
 
303
303
  GOBJECT_AVAILABLE_IN_ALL
304
304
  void g_cclosure_marshal_generic_va (GClosure *closure,
305
- GValue *return_value,
306
- gpointer instance,
307
- va_list args_list,
308
- gpointer marshal_data,
309
- int n_params,
310
- GType *param_types);
305
+ GValue *return_value,
306
+ gpointer instance,
307
+ va_list args_list,
308
+ gpointer marshal_data,
309
+ int n_params,
310
+ GType *param_types);
311
311
 
312
312
 
313
313
  G_END_DECLS
@@ -10,7 +10,7 @@
10
10
  *
11
11
  * This library is distributed in the hope that it will be useful,
12
12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
14
  * Lesser General Public License for more details.
15
15
  *
16
16
  * You should have received a copy of the GNU Lesser General
@@ -36,14 +36,14 @@ G_BEGIN_DECLS
36
36
  *
37
37
  * Returns: %TRUE if @type "is a" %G_TYPE_ENUM.
38
38
  */
39
- #define G_TYPE_IS_ENUM(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_ENUM)
39
+ #define G_TYPE_IS_ENUM(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_ENUM)
40
40
  /**
41
41
  * G_ENUM_CLASS:
42
42
  * @class: a valid #GEnumClass
43
43
  *
44
44
  * Casts a derived #GEnumClass structure into a #GEnumClass structure.
45
45
  */
46
- #define G_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_ENUM, GEnumClass))
46
+ #define G_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_ENUM, GEnumClass))
47
47
  /**
48
48
  * G_IS_ENUM_CLASS:
49
49
  * @class: a #GEnumClass
@@ -51,7 +51,7 @@ G_BEGIN_DECLS
51
51
  * Checks whether @class "is a" valid #GEnumClass structure of type %G_TYPE_ENUM
52
52
  * or derived.
53
53
  */
54
- #define G_IS_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_ENUM))
54
+ #define G_IS_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_ENUM))
55
55
  /**
56
56
  * G_ENUM_CLASS_TYPE:
57
57
  * @class: a #GEnumClass
@@ -80,14 +80,14 @@ G_BEGIN_DECLS
80
80
  *
81
81
  * Returns: %TRUE if @type "is a" %G_TYPE_FLAGS.
82
82
  */
83
- #define G_TYPE_IS_FLAGS(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_FLAGS)
83
+ #define G_TYPE_IS_FLAGS(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_FLAGS)
84
84
  /**
85
85
  * G_FLAGS_CLASS:
86
86
  * @class: a valid #GFlagsClass
87
87
  *
88
88
  * Casts a derived #GFlagsClass structure into a #GFlagsClass structure.
89
89
  */
90
- #define G_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_FLAGS, GFlagsClass))
90
+ #define G_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_FLAGS, GFlagsClass))
91
91
  /**
92
92
  * G_IS_FLAGS_CLASS:
93
93
  * @class: a #GFlagsClass
@@ -154,14 +154,14 @@ typedef struct _GFlagsValue GFlagsValue;
154
154
  * The class of an enumeration type holds information about its
155
155
  * possible values.
156
156
  */
157
- struct _GEnumClass
157
+ struct _GEnumClass
158
158
  {
159
159
  GTypeClass g_type_class;
160
160
 
161
161
  /*< public >*/
162
- gint minimum;
163
- gint maximum;
164
- guint n_values;
162
+ gint minimum;
163
+ gint maximum;
164
+ guint n_values;
165
165
  GEnumValue *values;
166
166
  };
167
167
  /**
@@ -175,13 +175,13 @@ struct _GEnumClass
175
175
  * The class of a flags type holds information about its
176
176
  * possible values.
177
177
  */
178
- struct _GFlagsClass
178
+ struct _GFlagsClass
179
179
  {
180
180
  GTypeClass g_type_class;
181
181
 
182
182
  /*< public >*/
183
- guint mask;
184
- guint n_values;
183
+ guint mask;
184
+ guint n_values;
185
185
  GFlagsValue *values;
186
186
  };
187
187
  /**
@@ -195,7 +195,7 @@ struct _GFlagsClass
195
195
  */
196
196
  struct _GEnumValue
197
197
  {
198
- gint value;
198
+ gint value;
199
199
  const gchar *value_name;
200
200
  const gchar *value_nick;
201
201
  };
@@ -210,7 +210,7 @@ struct _GEnumValue
210
210
  */
211
211
  struct _GFlagsValue
212
212
  {
213
- guint value;
213
+ guint value;
214
214
  const gchar *value_name;
215
215
  const gchar *value_nick;
216
216
  };
@@ -218,23 +218,23 @@ struct _GFlagsValue
218
218
 
219
219
  /* --- prototypes --- */
220
220
  GOBJECT_AVAILABLE_IN_ALL
221
- GEnumValue* g_enum_get_value (GEnumClass *enum_class,
222
- gint value);
221
+ GEnumValue* g_enum_get_value (GEnumClass *enum_class,
222
+ gint value);
223
223
  GOBJECT_AVAILABLE_IN_ALL
224
- GEnumValue* g_enum_get_value_by_name (GEnumClass *enum_class,
225
- const gchar *name);
224
+ GEnumValue* g_enum_get_value_by_name (GEnumClass *enum_class,
225
+ const gchar *name);
226
226
  GOBJECT_AVAILABLE_IN_ALL
227
- GEnumValue* g_enum_get_value_by_nick (GEnumClass *enum_class,
228
- const gchar *nick);
227
+ GEnumValue* g_enum_get_value_by_nick (GEnumClass *enum_class,
228
+ const gchar *nick);
229
229
  GOBJECT_AVAILABLE_IN_ALL
230
- GFlagsValue* g_flags_get_first_value (GFlagsClass *flags_class,
231
- guint value);
230
+ GFlagsValue* g_flags_get_first_value (GFlagsClass *flags_class,
231
+ guint value);
232
232
  GOBJECT_AVAILABLE_IN_ALL
233
- GFlagsValue* g_flags_get_value_by_name (GFlagsClass *flags_class,
234
- const gchar *name);
233
+ GFlagsValue* g_flags_get_value_by_name (GFlagsClass *flags_class,
234
+ const gchar *name);
235
235
  GOBJECT_AVAILABLE_IN_ALL
236
- GFlagsValue* g_flags_get_value_by_nick (GFlagsClass *flags_class,
237
- const gchar *nick);
236
+ GFlagsValue* g_flags_get_value_by_nick (GFlagsClass *flags_class,
237
+ const gchar *nick);
238
238
  GOBJECT_AVAILABLE_IN_2_54
239
239
  gchar *g_enum_to_string (GType g_enum_type,
240
240
  gint value);
@@ -242,15 +242,15 @@ GOBJECT_AVAILABLE_IN_2_54
242
242
  gchar *g_flags_to_string (GType flags_type,
243
243
  guint value);
244
244
  GOBJECT_AVAILABLE_IN_ALL
245
- void g_value_set_enum (GValue *value,
246
- gint v_enum);
245
+ void g_value_set_enum (GValue *value,
246
+ gint v_enum);
247
247
  GOBJECT_AVAILABLE_IN_ALL
248
- gint g_value_get_enum (const GValue *value);
248
+ gint g_value_get_enum (const GValue *value);
249
249
  GOBJECT_AVAILABLE_IN_ALL
250
- void g_value_set_flags (GValue *value,
251
- guint v_flags);
250
+ void g_value_set_flags (GValue *value,
251
+ guint v_flags);
252
252
  GOBJECT_AVAILABLE_IN_ALL
253
- guint g_value_get_flags (const GValue *value);
253
+ guint g_value_get_flags (const GValue *value);
254
254
 
255
255
 
256
256
 
@@ -259,22 +259,22 @@ guint g_value_get_flags (const GValue *value);
259
259
  * values that is taken over!
260
260
  */
261
261
  GOBJECT_AVAILABLE_IN_ALL
262
- GType g_enum_register_static (const gchar *name,
263
- const GEnumValue *const_static_values);
262
+ GType g_enum_register_static (const gchar *name,
263
+ const GEnumValue *const_static_values);
264
264
  GOBJECT_AVAILABLE_IN_ALL
265
- GType g_flags_register_static (const gchar *name,
266
- const GFlagsValue *const_static_values);
265
+ GType g_flags_register_static (const gchar *name,
266
+ const GFlagsValue *const_static_values);
267
267
  /* functions to complete the type information
268
268
  * for enums/flags implemented by plugins
269
269
  */
270
270
  GOBJECT_AVAILABLE_IN_ALL
271
- void g_enum_complete_type_info (GType g_enum_type,
272
- GTypeInfo *info,
273
- const GEnumValue *const_values);
271
+ void g_enum_complete_type_info (GType g_enum_type,
272
+ GTypeInfo *info,
273
+ const GEnumValue *const_values);
274
274
  GOBJECT_AVAILABLE_IN_ALL
275
- void g_flags_complete_type_info (GType g_flags_type,
276
- GTypeInfo *info,
277
- const GFlagsValue *const_values);
275
+ void g_flags_complete_type_info (GType g_flags_type,
276
+ GTypeInfo *info,
277
+ const GFlagsValue *const_values);
278
278
 
279
279
  /* {{{ Macros */
280
280
 
@@ -375,7 +375,7 @@ void g_cclosure_marshal_BOOLEAN__FLAGSv (GClosure *closure,
375
375
  *
376
376
  * An old alias for g_cclosure_marshal_BOOLEAN__FLAGS().
377
377
  */
378
- #define g_cclosure_marshal_BOOL__FLAGS g_cclosure_marshal_BOOLEAN__FLAGS
378
+ #define g_cclosure_marshal_BOOL__FLAGS g_cclosure_marshal_BOOLEAN__FLAGS
379
379
 
380
380
  /* STRING:OBJECT,POINTER */
381
381
  GOBJECT_AVAILABLE_IN_ALL
@@ -427,7 +427,7 @@ void g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv (GClosure *closure,
427
427
  *
428
428
  * An old alias for g_cclosure_marshal_BOOLEAN__BOXED_BOXED().
429
429
  */
430
- #define g_cclosure_marshal_BOOL__BOXED_BOXED g_cclosure_marshal_BOOLEAN__BOXED_BOXED
430
+ #define g_cclosure_marshal_BOOL__BOXED_BOXED g_cclosure_marshal_BOOLEAN__BOXED_BOXED
431
431
 
432
432
  G_END_DECLS
433
433
 
@@ -1154,3 +1154,37 @@
1154
1154
  #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_90
1155
1155
  #define GOBJECT_AVAILABLE_TYPE_IN_2_90
1156
1156
  #endif
1157
+
1158
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_92
1159
+ #define GOBJECT_DEPRECATED_IN_2_92 GOBJECT_DEPRECATED
1160
+ #define GOBJECT_DEPRECATED_IN_2_92_FOR(f) GOBJECT_DEPRECATED_FOR (f)
1161
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_92 GLIB_DEPRECATED_MACRO
1162
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_92_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1163
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_92 GLIB_DEPRECATED_ENUMERATOR
1164
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_92_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1165
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_92 GLIB_DEPRECATED_TYPE
1166
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_92_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1167
+ #else
1168
+ #define GOBJECT_DEPRECATED_IN_2_92 _GOBJECT_EXTERN
1169
+ #define GOBJECT_DEPRECATED_IN_2_92_FOR(f) _GOBJECT_EXTERN
1170
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_92
1171
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_92_FOR(f)
1172
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_92
1173
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_92_FOR(f)
1174
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_92
1175
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_92_FOR(f)
1176
+ #endif
1177
+
1178
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_92
1179
+ #define GOBJECT_AVAILABLE_IN_2_92 GOBJECT_UNAVAILABLE (2, 92)
1180
+ #define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_92 GLIB_UNAVAILABLE_STATIC_INLINE (2, 92)
1181
+ #define GOBJECT_AVAILABLE_MACRO_IN_2_92 GLIB_UNAVAILABLE_MACRO (2, 92)
1182
+ #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_92 GLIB_UNAVAILABLE_ENUMERATOR (2, 92)
1183
+ #define GOBJECT_AVAILABLE_TYPE_IN_2_92 GLIB_UNAVAILABLE_TYPE (2, 92)
1184
+ #else
1185
+ #define GOBJECT_AVAILABLE_IN_2_92 _GOBJECT_EXTERN
1186
+ #define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_92
1187
+ #define GOBJECT_AVAILABLE_MACRO_IN_2_92
1188
+ #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_92
1189
+ #define GOBJECT_AVAILABLE_TYPE_IN_2_92
1190
+ #endif