@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.
Files changed (144) 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/util.h +15 -1
  143. package/package.json +1 -1
  144. package/versions.json +5 -5
@@ -64,7 +64,7 @@ struct _GInputStreamClass
64
64
  gsize count,
65
65
  GCancellable *cancellable,
66
66
  GError **error);
67
- gboolean (* close_fn) (GInputStream *stream,
67
+ gboolean (* close_fn) (GInputStream *stream,
68
68
  GCancellable *cancellable,
69
69
  GError **error);
70
70
 
@@ -111,43 +111,43 @@ GType g_input_stream_get_type (void);
111
111
 
112
112
  GIO_AVAILABLE_IN_ALL
113
113
  gssize g_input_stream_read (GInputStream *stream,
114
- void *buffer,
115
- gsize count,
116
- GCancellable *cancellable,
117
- GError **error);
114
+ void *buffer,
115
+ gsize count,
116
+ GCancellable *cancellable,
117
+ GError **error);
118
118
  GIO_AVAILABLE_IN_ALL
119
119
  gboolean g_input_stream_read_all (GInputStream *stream,
120
- void *buffer,
121
- gsize count,
122
- gsize *bytes_read,
123
- GCancellable *cancellable,
124
- GError **error);
120
+ void *buffer,
121
+ gsize count,
122
+ gsize *bytes_read,
123
+ GCancellable *cancellable,
124
+ GError **error);
125
125
  GIO_AVAILABLE_IN_2_34
126
126
  GBytes *g_input_stream_read_bytes (GInputStream *stream,
127
- gsize count,
128
- GCancellable *cancellable,
129
- GError **error);
127
+ gsize count,
128
+ GCancellable *cancellable,
129
+ GError **error);
130
130
  GIO_AVAILABLE_IN_ALL
131
131
  gssize g_input_stream_skip (GInputStream *stream,
132
- gsize count,
133
- GCancellable *cancellable,
134
- GError **error);
132
+ gsize count,
133
+ GCancellable *cancellable,
134
+ GError **error);
135
135
  GIO_AVAILABLE_IN_ALL
136
136
  gboolean g_input_stream_close (GInputStream *stream,
137
- GCancellable *cancellable,
138
- GError **error);
137
+ GCancellable *cancellable,
138
+ GError **error);
139
139
  GIO_AVAILABLE_IN_ALL
140
140
  void g_input_stream_read_async (GInputStream *stream,
141
- void *buffer,
142
- gsize count,
143
- int io_priority,
144
- GCancellable *cancellable,
145
- GAsyncReadyCallback callback,
146
- gpointer user_data);
141
+ void *buffer,
142
+ gsize count,
143
+ int io_priority,
144
+ GCancellable *cancellable,
145
+ GAsyncReadyCallback callback,
146
+ gpointer user_data);
147
147
  GIO_AVAILABLE_IN_ALL
148
148
  gssize g_input_stream_read_finish (GInputStream *stream,
149
- GAsyncResult *result,
150
- GError **error);
149
+ GAsyncResult *result,
150
+ GError **error);
151
151
 
152
152
  GIO_AVAILABLE_IN_2_44
153
153
  void g_input_stream_read_all_async (GInputStream *stream,
@@ -165,36 +165,36 @@ gboolean g_input_stream_read_all_finish (GInputStream *stream,
165
165
 
166
166
  GIO_AVAILABLE_IN_2_34
167
167
  void g_input_stream_read_bytes_async (GInputStream *stream,
168
- gsize count,
169
- int io_priority,
170
- GCancellable *cancellable,
171
- GAsyncReadyCallback callback,
172
- gpointer user_data);
168
+ gsize count,
169
+ int io_priority,
170
+ GCancellable *cancellable,
171
+ GAsyncReadyCallback callback,
172
+ gpointer user_data);
173
173
  GIO_AVAILABLE_IN_2_34
174
174
  GBytes *g_input_stream_read_bytes_finish (GInputStream *stream,
175
- GAsyncResult *result,
176
- GError **error);
175
+ GAsyncResult *result,
176
+ GError **error);
177
177
  GIO_AVAILABLE_IN_ALL
178
178
  void g_input_stream_skip_async (GInputStream *stream,
179
- gsize count,
180
- int io_priority,
181
- GCancellable *cancellable,
182
- GAsyncReadyCallback callback,
183
- gpointer user_data);
179
+ gsize count,
180
+ int io_priority,
181
+ GCancellable *cancellable,
182
+ GAsyncReadyCallback callback,
183
+ gpointer user_data);
184
184
  GIO_AVAILABLE_IN_ALL
185
185
  gssize g_input_stream_skip_finish (GInputStream *stream,
186
- GAsyncResult *result,
187
- GError **error);
186
+ GAsyncResult *result,
187
+ GError **error);
188
188
  GIO_AVAILABLE_IN_ALL
189
189
  void g_input_stream_close_async (GInputStream *stream,
190
- int io_priority,
191
- GCancellable *cancellable,
192
- GAsyncReadyCallback callback,
193
- gpointer user_data);
190
+ int io_priority,
191
+ GCancellable *cancellable,
192
+ GAsyncReadyCallback callback,
193
+ gpointer user_data);
194
194
  GIO_AVAILABLE_IN_ALL
195
195
  gboolean g_input_stream_close_finish (GInputStream *stream,
196
- GAsyncResult *result,
197
- GError **error);
196
+ GAsyncResult *result,
197
+ GError **error);
198
198
 
199
199
  /* For implementations: */
200
200
 
@@ -204,7 +204,7 @@ GIO_AVAILABLE_IN_ALL
204
204
  gboolean g_input_stream_has_pending (GInputStream *stream);
205
205
  GIO_AVAILABLE_IN_ALL
206
206
  gboolean g_input_stream_set_pending (GInputStream *stream,
207
- GError **error);
207
+ GError **error);
208
208
  GIO_AVAILABLE_IN_ALL
209
209
  void g_input_stream_clear_pending (GInputStream *stream);
210
210
 
@@ -1154,3 +1154,37 @@
1154
1154
  #define GIO_AVAILABLE_ENUMERATOR_IN_2_90
1155
1155
  #define GIO_AVAILABLE_TYPE_IN_2_90
1156
1156
  #endif
1157
+
1158
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_92
1159
+ #define GIO_DEPRECATED_IN_2_92 GIO_DEPRECATED
1160
+ #define GIO_DEPRECATED_IN_2_92_FOR(f) GIO_DEPRECATED_FOR (f)
1161
+ #define GIO_DEPRECATED_MACRO_IN_2_92 GLIB_DEPRECATED_MACRO
1162
+ #define GIO_DEPRECATED_MACRO_IN_2_92_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1163
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_92 GLIB_DEPRECATED_ENUMERATOR
1164
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_92_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1165
+ #define GIO_DEPRECATED_TYPE_IN_2_92 GLIB_DEPRECATED_TYPE
1166
+ #define GIO_DEPRECATED_TYPE_IN_2_92_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1167
+ #else
1168
+ #define GIO_DEPRECATED_IN_2_92 _GIO_EXTERN
1169
+ #define GIO_DEPRECATED_IN_2_92_FOR(f) _GIO_EXTERN
1170
+ #define GIO_DEPRECATED_MACRO_IN_2_92
1171
+ #define GIO_DEPRECATED_MACRO_IN_2_92_FOR(f)
1172
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_92
1173
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_92_FOR(f)
1174
+ #define GIO_DEPRECATED_TYPE_IN_2_92
1175
+ #define GIO_DEPRECATED_TYPE_IN_2_92_FOR(f)
1176
+ #endif
1177
+
1178
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_92
1179
+ #define GIO_AVAILABLE_IN_2_92 GIO_UNAVAILABLE (2, 92)
1180
+ #define GIO_AVAILABLE_STATIC_INLINE_IN_2_92 GLIB_UNAVAILABLE_STATIC_INLINE (2, 92)
1181
+ #define GIO_AVAILABLE_MACRO_IN_2_92 GLIB_UNAVAILABLE_MACRO (2, 92)
1182
+ #define GIO_AVAILABLE_ENUMERATOR_IN_2_92 GLIB_UNAVAILABLE_ENUMERATOR (2, 92)
1183
+ #define GIO_AVAILABLE_TYPE_IN_2_92 GLIB_UNAVAILABLE_TYPE (2, 92)
1184
+ #else
1185
+ #define GIO_AVAILABLE_IN_2_92 _GIO_EXTERN
1186
+ #define GIO_AVAILABLE_STATIC_INLINE_IN_2_92
1187
+ #define GIO_AVAILABLE_MACRO_IN_2_92
1188
+ #define GIO_AVAILABLE_ENUMERATOR_IN_2_92
1189
+ #define GIO_AVAILABLE_TYPE_IN_2_92
1190
+ #endif
@@ -244,11 +244,13 @@ typedef enum {
244
244
  /**
245
245
  * GMountMountFlags:
246
246
  * @G_MOUNT_MOUNT_NONE: No flags set.
247
+ * @G_MOUNT_MOUNT_READ_ONLY: Mount the volume read-only. Since: 2.92
247
248
  *
248
249
  * Flags used when mounting a mount.
249
250
  */
250
251
  typedef enum /*< flags >*/ {
251
- G_MOUNT_MOUNT_NONE = 0
252
+ G_MOUNT_MOUNT_NONE = 0,
253
+ G_MOUNT_MOUNT_READ_ONLY GIO_AVAILABLE_ENUMERATOR_IN_2_92 = (1 << 0)
252
254
  } G_GNUC_FLAG_ENUM GMountMountFlags;
253
255
 
254
256
 
@@ -74,19 +74,19 @@ GIO_AVAILABLE_IN_ALL
74
74
  GIOExtensionPoint *g_io_extension_point_lookup (const char *name);
75
75
  GIO_AVAILABLE_IN_ALL
76
76
  void g_io_extension_point_set_required_type (GIOExtensionPoint *extension_point,
77
- GType type);
77
+ GType type);
78
78
  GIO_AVAILABLE_IN_ALL
79
79
  GType g_io_extension_point_get_required_type (GIOExtensionPoint *extension_point);
80
80
  GIO_AVAILABLE_IN_ALL
81
81
  GList *g_io_extension_point_get_extensions (GIOExtensionPoint *extension_point);
82
82
  GIO_AVAILABLE_IN_ALL
83
83
  GIOExtension * g_io_extension_point_get_extension_by_name (GIOExtensionPoint *extension_point,
84
- const char *name);
84
+ const char *name);
85
85
  GIO_AVAILABLE_IN_ALL
86
86
  GIOExtension * g_io_extension_point_implement (const char *extension_point_name,
87
- GType type,
88
- const char *extension_name,
89
- gint priority);
87
+ GType type,
88
+ const char *extension_name,
89
+ gint priority);
90
90
 
91
91
  GIO_AVAILABLE_IN_ALL
92
92
  GType g_io_extension_get_type (GIOExtension *extension);
@@ -34,22 +34,22 @@ G_BEGIN_DECLS
34
34
 
35
35
  GIO_DEPRECATED_IN_2_36_FOR ("GThreadPool or g_task_run_in_thread")
36
36
  void g_io_scheduler_push_job (GIOSchedulerJobFunc job_func,
37
- gpointer user_data,
38
- GDestroyNotify notify,
39
- gint io_priority,
40
- GCancellable *cancellable);
37
+ gpointer user_data,
38
+ GDestroyNotify notify,
39
+ gint io_priority,
40
+ GCancellable *cancellable);
41
41
  GIO_DEPRECATED_IN_2_36
42
42
  void g_io_scheduler_cancel_all_jobs (void);
43
43
  GIO_DEPRECATED_IN_2_36_FOR (g_main_context_invoke)
44
44
  gboolean g_io_scheduler_job_send_to_mainloop (GIOSchedulerJob *job,
45
- GSourceFunc func,
46
- gpointer user_data,
47
- GDestroyNotify notify);
45
+ GSourceFunc func,
46
+ gpointer user_data,
47
+ GDestroyNotify notify);
48
48
  GIO_DEPRECATED_IN_2_36_FOR (g_main_context_invoke)
49
49
  void g_io_scheduler_job_send_to_mainloop_async (GIOSchedulerJob *job,
50
- GSourceFunc func,
51
- gpointer user_data,
52
- GDestroyNotify notify);
50
+ GSourceFunc func,
51
+ gpointer user_data,
52
+ GDestroyNotify notify);
53
53
 
54
54
  G_END_DECLS
55
55
 
@@ -55,7 +55,7 @@ struct _GIOStreamClass
55
55
  GInputStream * (*get_input_stream) (GIOStream *stream);
56
56
  GOutputStream * (*get_output_stream) (GIOStream *stream);
57
57
 
58
- gboolean (* close_fn) (GIOStream *stream,
58
+ gboolean (* close_fn) (GIOStream *stream,
59
59
  GCancellable *cancellable,
60
60
  GError **error);
61
61
  void (* close_async) (GIOStream *stream,
@@ -90,12 +90,12 @@ GOutputStream *g_io_stream_get_output_stream (GIOStream *stream);
90
90
 
91
91
  GIO_AVAILABLE_IN_ALL
92
92
  void g_io_stream_splice_async (GIOStream *stream1,
93
- GIOStream *stream2,
94
- GIOStreamSpliceFlags flags,
95
- int io_priority,
96
- GCancellable *cancellable,
97
- GAsyncReadyCallback callback,
98
- gpointer user_data);
93
+ GIOStream *stream2,
94
+ GIOStreamSpliceFlags flags,
95
+ int io_priority,
96
+ GCancellable *cancellable,
97
+ GAsyncReadyCallback callback,
98
+ gpointer user_data);
99
99
 
100
100
  GIO_AVAILABLE_IN_ALL
101
101
  gboolean g_io_stream_splice_finish (GAsyncResult *result,
@@ -103,19 +103,19 @@ gboolean g_io_stream_splice_finish (GAsyncResult *result,
103
103
 
104
104
  GIO_AVAILABLE_IN_ALL
105
105
  gboolean g_io_stream_close (GIOStream *stream,
106
- GCancellable *cancellable,
107
- GError **error);
106
+ GCancellable *cancellable,
107
+ GError **error);
108
108
 
109
109
  GIO_AVAILABLE_IN_ALL
110
110
  void g_io_stream_close_async (GIOStream *stream,
111
- int io_priority,
112
- GCancellable *cancellable,
113
- GAsyncReadyCallback callback,
114
- gpointer user_data);
111
+ int io_priority,
112
+ GCancellable *cancellable,
113
+ GAsyncReadyCallback callback,
114
+ gpointer user_data);
115
115
  GIO_AVAILABLE_IN_ALL
116
116
  gboolean g_io_stream_close_finish (GIOStream *stream,
117
- GAsyncResult *result,
118
- GError **error);
117
+ GAsyncResult *result,
118
+ GError **error);
119
119
 
120
120
  GIO_AVAILABLE_IN_ALL
121
121
  gboolean g_io_stream_is_closed (GIOStream *stream);
@@ -123,7 +123,7 @@ GIO_AVAILABLE_IN_ALL
123
123
  gboolean g_io_stream_has_pending (GIOStream *stream);
124
124
  GIO_AVAILABLE_IN_ALL
125
125
  gboolean g_io_stream_set_pending (GIOStream *stream,
126
- GError **error);
126
+ GError **error);
127
127
  GIO_AVAILABLE_IN_ALL
128
128
  void g_io_stream_clear_pending (GIOStream *stream);
129
129
 
@@ -160,9 +160,9 @@ typedef struct _GTlsServerConnection GTlsServerConnection; /* Dummy typ
160
160
  typedef struct _GVfs GVfs; /* Dummy typedef */
161
161
 
162
162
  typedef struct _GProxyResolver GProxyResolver;
163
- typedef struct _GProxy GProxy;
164
- typedef struct _GProxyAddress GProxyAddress;
165
- typedef struct _GProxyAddressEnumerator GProxyAddressEnumerator;
163
+ typedef struct _GProxy GProxy;
164
+ typedef struct _GProxyAddress GProxyAddress;
165
+ typedef struct _GProxyAddressEnumerator GProxyAddressEnumerator;
166
166
 
167
167
  typedef struct _GVolume GVolume; /* Dummy typedef */
168
168
  typedef struct _GVolumeMonitor GVolumeMonitor;
@@ -187,8 +187,8 @@ typedef struct _GVolumeMonitor GVolumeMonitor;
187
187
  * after this callback returns.
188
188
  **/
189
189
  typedef void (*GAsyncReadyCallback) (GObject *source_object,
190
- GAsyncResult *res,
191
- gpointer data);
190
+ GAsyncResult *res,
191
+ gpointer data);
192
192
 
193
193
  /**
194
194
  * GFileProgressCallback:
@@ -282,8 +282,8 @@ typedef void (* GFileMeasureProgressCallback) (gboolean reporting,
282
282
  * [method@Gio.Task.run_in_thread]
283
283
  **/
284
284
  typedef gboolean (*GIOSchedulerJobFunc) (GIOSchedulerJob *job,
285
- GCancellable *cancellable,
286
- gpointer data);
285
+ GCancellable *cancellable,
286
+ gpointer data);
287
287
 
288
288
  /**
289
289
  * GSimpleAsyncThreadFunc:
@@ -312,8 +312,8 @@ typedef void (*GSimpleAsyncThreadFunc) (GSimpleAsyncResult *res,
312
312
  * Since: 2.22
313
313
  */
314
314
  typedef gboolean (*GSocketSourceFunc) (GSocket *socket,
315
- GIOCondition condition,
316
- gpointer data);
315
+ GIOCondition condition,
316
+ gpointer data);
317
317
 
318
318
  /**
319
319
  * GDatagramBasedSourceFunc:
@@ -379,7 +379,8 @@ struct _GInputVector {
379
379
  * the POSIX sockets API (see `man 2 recvmmsg`).
380
380
  *
381
381
  * If @address is non-%NULL then it is set to the source address the message
382
- * was received from, and the caller must free it afterwards.
382
+ * was received from (or %NULL if it is not available), and the caller must
383
+ * free it afterwards.
383
384
  *
384
385
  * If @control_messages is non-%NULL then it is set to an array of control
385
386
  * messages received with the message (if any), and the caller must free it
@@ -493,7 +494,7 @@ typedef struct _GDBusNodeInfo GDBusNodeInfo;
493
494
  * Since: 2.28
494
495
  */
495
496
  typedef gboolean (*GCancellableSourceFunc) (GCancellable *cancellable,
496
- gpointer data);
497
+ gpointer data);
497
498
 
498
499
  /**
499
500
  * GPollableSourceFunc:
@@ -509,7 +510,7 @@ typedef gboolean (*GCancellableSourceFunc) (GCancellable *cancellable,
509
510
  * Since: 2.28
510
511
  */
511
512
  typedef gboolean (*GPollableSourceFunc) (GObject *pollable_stream,
512
- gpointer data);
513
+ gpointer data);
513
514
 
514
515
  typedef struct _GDBusInterface GDBusInterface; /* Dummy typedef */
515
516
  typedef struct _GDBusInterfaceSkeleton GDBusInterfaceSkeleton;
@@ -33,10 +33,10 @@ G_BEGIN_DECLS
33
33
 
34
34
  #define G_TYPE_LOADABLE_ICON (g_loadable_icon_get_type ())
35
35
  #define G_LOADABLE_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_LOADABLE_ICON, GLoadableIcon))
36
- #define G_IS_LOADABLE_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_LOADABLE_ICON))
36
+ #define G_IS_LOADABLE_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_LOADABLE_ICON))
37
37
  #define G_LOADABLE_ICON_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_LOADABLE_ICON, GLoadableIconIface))
38
38
 
39
- typedef struct _GLoadableIconIface GLoadableIconIface;
39
+ typedef struct _GLoadableIconIface GLoadableIconIface;
40
40
 
41
41
  /**
42
42
  * GLoadableIconIface:
@@ -74,21 +74,21 @@ GType g_loadable_icon_get_type (void);
74
74
 
75
75
  GIO_AVAILABLE_IN_ALL
76
76
  GInputStream *g_loadable_icon_load (GLoadableIcon *icon,
77
- int size,
78
- char **type,
79
- GCancellable *cancellable,
80
- GError **error);
77
+ int size,
78
+ char **type,
79
+ GCancellable *cancellable,
80
+ GError **error);
81
81
  GIO_AVAILABLE_IN_ALL
82
82
  void g_loadable_icon_load_async (GLoadableIcon *icon,
83
- int size,
84
- GCancellable *cancellable,
85
- GAsyncReadyCallback callback,
86
- gpointer user_data);
83
+ int size,
84
+ GCancellable *cancellable,
85
+ GAsyncReadyCallback callback,
86
+ gpointer user_data);
87
87
  GIO_AVAILABLE_IN_ALL
88
88
  GInputStream *g_loadable_icon_load_finish (GLoadableIcon *icon,
89
- GAsyncResult *res,
90
- char **type,
91
- GError **error);
89
+ GAsyncResult *res,
90
+ char **type,
91
+ GError **error);
92
92
 
93
93
  G_END_DECLS
94
94
 
@@ -80,7 +80,7 @@ void g_memory_input_stream_add_data (GMemoryInputStream *stream,
80
80
  GDestroyNotify destroy);
81
81
  GIO_AVAILABLE_IN_2_34
82
82
  void g_memory_input_stream_add_bytes (GMemoryInputStream *stream,
83
- GBytes *bytes);
83
+ GBytes *bytes);
84
84
 
85
85
  G_END_DECLS
86
86
 
@@ -55,10 +55,10 @@ struct _GMountOperationClass
55
55
  /* signals: */
56
56
 
57
57
  void (* ask_password) (GMountOperation *op,
58
- const char *message,
59
- const char *default_user,
60
- const char *default_domain,
61
- GAskPasswordFlags flags);
58
+ const char *message,
59
+ const char *default_user,
60
+ const char *default_domain,
61
+ GAskPasswordFlags flags);
62
62
 
63
63
  /**
64
64
  * GMountOperationClass::ask_question:
@@ -70,11 +70,11 @@ struct _GMountOperationClass
70
70
  * Virtual implementation of #GMountOperation::ask-question.
71
71
  */
72
72
  void (* ask_question) (GMountOperation *op,
73
- const char *message,
74
- const char *choices[]);
73
+ const char *message,
74
+ const char *choices[]);
75
75
 
76
76
  void (* reply) (GMountOperation *op,
77
- GMountOperationResult result);
77
+ GMountOperationResult result);
78
78
 
79
79
  void (* aborted) (GMountOperation *op);
80
80
 
@@ -123,35 +123,35 @@ GIO_AVAILABLE_IN_ALL
123
123
  const char * g_mount_operation_get_username (GMountOperation *op);
124
124
  GIO_AVAILABLE_IN_ALL
125
125
  void g_mount_operation_set_username (GMountOperation *op,
126
- const char *username);
126
+ const char *username);
127
127
  GIO_AVAILABLE_IN_ALL
128
128
  const char * g_mount_operation_get_password (GMountOperation *op);
129
129
  GIO_AVAILABLE_IN_ALL
130
130
  void g_mount_operation_set_password (GMountOperation *op,
131
- const char *password);
131
+ const char *password);
132
132
  GIO_AVAILABLE_IN_ALL
133
133
  gboolean g_mount_operation_get_anonymous (GMountOperation *op);
134
134
  GIO_AVAILABLE_IN_ALL
135
135
  void g_mount_operation_set_anonymous (GMountOperation *op,
136
- gboolean anonymous);
136
+ gboolean anonymous);
137
137
  GIO_AVAILABLE_IN_ALL
138
138
  const char * g_mount_operation_get_domain (GMountOperation *op);
139
139
  GIO_AVAILABLE_IN_ALL
140
140
  void g_mount_operation_set_domain (GMountOperation *op,
141
- const char *domain);
141
+ const char *domain);
142
142
  GIO_AVAILABLE_IN_ALL
143
143
  GPasswordSave g_mount_operation_get_password_save (GMountOperation *op);
144
144
  GIO_AVAILABLE_IN_ALL
145
145
  void g_mount_operation_set_password_save (GMountOperation *op,
146
- GPasswordSave save);
146
+ GPasswordSave save);
147
147
  GIO_AVAILABLE_IN_ALL
148
148
  int g_mount_operation_get_choice (GMountOperation *op);
149
149
  GIO_AVAILABLE_IN_ALL
150
150
  void g_mount_operation_set_choice (GMountOperation *op,
151
- int choice);
151
+ int choice);
152
152
  GIO_AVAILABLE_IN_ALL
153
153
  void g_mount_operation_reply (GMountOperation *op,
154
- GMountOperationResult result);
154
+ GMountOperationResult result);
155
155
  GIO_AVAILABLE_IN_2_58
156
156
  gboolean g_mount_operation_get_is_tcrypt_hidden_volume (GMountOperation *op);
157
157
  GIO_AVAILABLE_IN_2_58
@@ -58,17 +58,17 @@ GType g_network_address_get_type (void);
58
58
 
59
59
  GIO_AVAILABLE_IN_ALL
60
60
  GSocketConnectable *g_network_address_new (const gchar *hostname,
61
- guint16 port);
61
+ guint16 port);
62
62
  GIO_AVAILABLE_IN_2_44
63
63
  GSocketConnectable *g_network_address_new_loopback (guint16 port);
64
64
  GIO_AVAILABLE_IN_ALL
65
65
  GSocketConnectable *g_network_address_parse (const gchar *host_and_port,
66
- guint16 default_port,
67
- GError **error);
66
+ guint16 default_port,
67
+ GError **error);
68
68
  GIO_AVAILABLE_IN_ALL
69
69
  GSocketConnectable *g_network_address_parse_uri (const gchar *uri,
70
- guint16 default_port,
71
- GError **error);
70
+ guint16 default_port,
71
+ GError **error);
72
72
  GIO_AVAILABLE_IN_ALL
73
73
  const gchar *g_network_address_get_hostname (GNetworkAddress *addr);
74
74
  GIO_AVAILABLE_IN_ALL
@@ -50,20 +50,20 @@ struct _GNetworkMonitorInterface {
50
50
  GTypeInterface g_iface;
51
51
 
52
52
  void (*network_changed) (GNetworkMonitor *monitor,
53
- gboolean network_available);
53
+ gboolean network_available);
54
54
 
55
55
  gboolean (*can_reach) (GNetworkMonitor *monitor,
56
- GSocketConnectable *connectable,
57
- GCancellable *cancellable,
58
- GError **error);
56
+ GSocketConnectable *connectable,
57
+ GCancellable *cancellable,
58
+ GError **error);
59
59
  void (*can_reach_async) (GNetworkMonitor *monitor,
60
- GSocketConnectable *connectable,
61
- GCancellable *cancellable,
62
- GAsyncReadyCallback callback,
63
- gpointer user_data);
60
+ GSocketConnectable *connectable,
61
+ GCancellable *cancellable,
62
+ GAsyncReadyCallback callback,
63
+ gpointer user_data);
64
64
  gboolean (*can_reach_finish) (GNetworkMonitor *monitor,
65
- GAsyncResult *result,
66
- GError **error);
65
+ GAsyncResult *result,
66
+ GError **error);
67
67
  };
68
68
 
69
69
  GIO_AVAILABLE_IN_2_32
@@ -58,8 +58,8 @@ GType g_network_service_get_type (void);
58
58
 
59
59
  GIO_AVAILABLE_IN_ALL
60
60
  GSocketConnectable *g_network_service_new (const gchar *service,
61
- const gchar *protocol,
62
- const gchar *domain);
61
+ const gchar *protocol,
62
+ const gchar *domain);
63
63
 
64
64
  GIO_AVAILABLE_IN_ALL
65
65
  const gchar *g_network_service_get_service (GNetworkService *srv);