@revizly/sharp-libvips-dev 1.0.60 → 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 (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/util.h +15 -1
  143. package/include/vips/version.h +1 -1
  144. package/package.json +1 -1
  145. package/versions.json +5 -5
@@ -35,6 +35,34 @@
35
35
 
36
36
  VIPS_NAMESPACE_START
37
37
 
38
+ /**
39
+ * Helper class to copy the libvips error buffer into a std::string.
40
+ */
41
+ class VErrorBuffer {
42
+ public:
43
+ VErrorBuffer() : buffer(vips_error_buffer_copy()) {}
44
+
45
+ VErrorBuffer(const VErrorBuffer &) = delete;
46
+ VErrorBuffer &operator=(const VErrorBuffer &) = delete;
47
+
48
+ ~VErrorBuffer() noexcept
49
+ {
50
+ g_free(buffer);
51
+ }
52
+
53
+ operator std::string() const
54
+ {
55
+ return buffer;
56
+ }
57
+
58
+ private:
59
+ char *buffer;
60
+ };
61
+
62
+ VError::VError() : std::runtime_error(VErrorBuffer())
63
+ {
64
+ }
65
+
38
66
  std::ostream &
39
67
  operator<<(std::ostream &file, const VError &err)
40
68
  {
package/include/expat.h CHANGED
@@ -781,21 +781,28 @@ XML_GetIdAttributeIndex(XML_Parser parser);
781
781
  /* Parses some input. Returns XML_STATUS_ERROR if a fatal error is
782
782
  detected. The last call to XML_Parse must have isFinal true; len
783
783
  may be zero for this call (or any other).
784
-
785
- Though the return values for these functions has always been
786
- described as a Boolean value, the implementation, at least for the
787
- 1.95.x series, has always returned exactly one of the XML_Status
788
- values.
789
784
  */
790
785
  XMLPARSEAPI(enum XML_Status)
791
786
  XML_Parse(XML_Parser parser, const char *s, int len, int isFinal);
792
787
 
788
+ // Added in Expat 2.11.0.
789
+ XMLPARSEAPI(enum XML_Status)
790
+ XML_Parse64(XML_Parser parser, const char *s, size_t len, XML_Bool isFinal);
791
+
793
792
  XMLPARSEAPI(void *)
794
793
  XML_GetBuffer(XML_Parser parser, int len);
795
794
 
795
+ // Added in Expat 2.11.0.
796
+ XMLPARSEAPI(void *)
797
+ XML_GetBuffer64(XML_Parser parser, size_t len);
798
+
796
799
  XMLPARSEAPI(enum XML_Status)
797
800
  XML_ParseBuffer(XML_Parser parser, int len, int isFinal);
798
801
 
802
+ // Added in Expat 2.11.0.
803
+ XMLPARSEAPI(enum XML_Status)
804
+ XML_ParseBuffer64(XML_Parser parser, size_t len, XML_Bool isFinal);
805
+
799
806
  /* Stops parsing, causing XML_Parse() or XML_ParseBuffer() to return.
800
807
  Must be called from within a call-back handler, except when aborting
801
808
  (resumable = 0) an already suspended parser. Some call-backs may
@@ -1147,7 +1154,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1147
1154
  See https://semver.org
1148
1155
  */
1149
1156
  # define XML_MAJOR_VERSION 2
1150
- # define XML_MINOR_VERSION 10
1157
+ # define XML_MINOR_VERSION 11
1151
1158
  # define XML_MICRO_VERSION 0
1152
1159
 
1153
1160
  # ifdef __cplusplus
@@ -83,7 +83,7 @@
83
83
  #define PACKAGE_NAME "expat"
84
84
 
85
85
  /* Define to the full name and version of this package. */
86
- #define PACKAGE_STRING "expat 2.10.0"
86
+ #define PACKAGE_STRING "expat 2.11.0"
87
87
 
88
88
  /* Define to the one symbol short name of this package. */
89
89
  #define PACKAGE_TARNAME "expat"
@@ -92,7 +92,7 @@
92
92
  #define PACKAGE_URL ""
93
93
 
94
94
  /* Define to the version of this package. */
95
- #define PACKAGE_VERSION "2.10.0"
95
+ #define PACKAGE_VERSION "2.11.0"
96
96
 
97
97
  /* Define to 1 if all of the C89 standard headers exist (not just the ones
98
98
  required in a freestanding environment). This macro is provided for
@@ -100,7 +100,7 @@
100
100
  #define STDC_HEADERS 1
101
101
 
102
102
  /* Version number of package */
103
- #define VERSION "2.10.0"
103
+ #define VERSION "2.11.0"
104
104
 
105
105
  /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
106
106
  significant byte first (like Motorola and SPARC, unlike Intel). */
package/include/ffi.h CHANGED
@@ -1,5 +1,5 @@
1
1
  /* -----------------------------------------------------------------*-C-*-
2
- libffi 3.8.1
2
+ libffi 3.8.2
3
3
  - Copyright (c) 2011, 2014, 2019, 2021, 2022, 2024, 2025, 2026 Anthony Green
4
4
  - Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc.
5
5
 
@@ -324,8 +324,8 @@ size_t ffi_java_raw_size (ffi_cif *cif) __attribute__((deprecated));
324
324
 
325
325
  /* ---- Version API ------------------------------------------------------ */
326
326
 
327
- #define FFI_VERSION_STRING "3.8.1"
328
- #define FFI_VERSION_NUMBER 30801
327
+ #define FFI_VERSION_STRING "3.8.2"
328
+ #define FFI_VERSION_NUMBER 30802
329
329
 
330
330
  #ifndef LIBFFI_ASM
331
331
  /* Return a version string. */
@@ -62,6 +62,11 @@ GIO_AVAILABLE_IN_2_30
62
62
  const char * g_desktop_app_info_get_categories (GDesktopAppInfo *info);
63
63
  GIO_AVAILABLE_IN_2_30
64
64
  const char * const *g_desktop_app_info_get_keywords (GDesktopAppInfo *info);
65
+ GIO_AVAILABLE_IN_2_92
66
+ const char * const *g_desktop_app_info_get_intents (GDesktopAppInfo *info);
67
+ GIO_AVAILABLE_IN_2_92
68
+ gboolean g_desktop_app_info_has_intent (GDesktopAppInfo *info,
69
+ const char *intent);
65
70
  GIO_AVAILABLE_IN_2_30
66
71
  gboolean g_desktop_app_info_get_nodisplay (GDesktopAppInfo *info);
67
72
  GIO_AVAILABLE_IN_2_30
@@ -110,7 +115,7 @@ gchar * g_desktop_app_info_get_action_name (GDeskto
110
115
 
111
116
  #define G_TYPE_DESKTOP_APP_INFO_LOOKUP (g_desktop_app_info_lookup_get_type ()) GIO_DEPRECATED_MACRO_IN_2_28
112
117
  #define G_DESKTOP_APP_INFO_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP, GDesktopAppInfoLookup)) GIO_DEPRECATED_MACRO_IN_2_28
113
- #define G_IS_DESKTOP_APP_INFO_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP)) GIO_DEPRECATED_MACRO_IN_2_28
118
+ #define G_IS_DESKTOP_APP_INFO_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP)) GIO_DEPRECATED_MACRO_IN_2_28
114
119
  #define G_DESKTOP_APP_INFO_LOOKUP_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP, GDesktopAppInfoLookupIface)) GIO_DEPRECATED_MACRO_IN_2_28
115
120
 
116
121
  /**
@@ -161,39 +166,51 @@ GAppInfo *g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopAppInfoL
161
166
  * for each, providing the process ID.
162
167
  */
163
168
  typedef void (*GDesktopAppLaunchCallback) (GDesktopAppInfo *appinfo,
164
- GPid pid,
165
- gpointer user_data);
169
+ GPid pid,
170
+ gpointer user_data);
166
171
 
167
172
  GIO_AVAILABLE_IN_2_28
168
173
  gboolean g_desktop_app_info_launch_uris_as_manager (GDesktopAppInfo *appinfo,
169
- GList *uris,
170
- GAppLaunchContext *launch_context,
171
- GSpawnFlags spawn_flags,
172
- GSpawnChildSetupFunc user_setup,
173
- gpointer user_setup_data,
174
- GDesktopAppLaunchCallback pid_callback,
175
- gpointer pid_callback_data,
176
- GError **error);
174
+ GList *uris,
175
+ GAppLaunchContext *launch_context,
176
+ GSpawnFlags spawn_flags,
177
+ GSpawnChildSetupFunc user_setup,
178
+ gpointer user_setup_data,
179
+ GDesktopAppLaunchCallback pid_callback,
180
+ gpointer pid_callback_data,
181
+ GError **error);
177
182
 
178
183
  GIO_AVAILABLE_IN_2_58
179
184
  gboolean g_desktop_app_info_launch_uris_as_manager_with_fds (GDesktopAppInfo *appinfo,
180
- GList *uris,
181
- GAppLaunchContext *launch_context,
182
- GSpawnFlags spawn_flags,
183
- GSpawnChildSetupFunc user_setup,
184
- gpointer user_setup_data,
185
- GDesktopAppLaunchCallback pid_callback,
186
- gpointer pid_callback_data,
187
- gint stdin_fd,
188
- gint stdout_fd,
189
- gint stderr_fd,
190
- GError **error);
185
+ GList *uris,
186
+ GAppLaunchContext *launch_context,
187
+ GSpawnFlags spawn_flags,
188
+ GSpawnChildSetupFunc user_setup,
189
+ gpointer user_setup_data,
190
+ GDesktopAppLaunchCallback pid_callback,
191
+ gpointer pid_callback_data,
192
+ gint stdin_fd,
193
+ gint stdout_fd,
194
+ gint stderr_fd,
195
+ GError **error);
191
196
 
192
197
  GIO_AVAILABLE_IN_2_40
193
198
  gchar *** g_desktop_app_info_search (const gchar *search_string);
194
199
 
195
- GIO_AVAILABLE_IN_2_42
200
+ GIO_DEPRECATED_IN_2_92_FOR (g_desktop_app_info_get_for_intent)
196
201
  GList *g_desktop_app_info_get_implementations (const gchar *interface);
202
+ GIO_AVAILABLE_IN_2_92
203
+ GAppInfo **g_desktop_app_info_get_for_intent (const char *interface,
204
+ const char *scope,
205
+ size_t *out_n_results);
206
+ GIO_AVAILABLE_IN_2_92
207
+ GAppInfo *g_desktop_app_info_get_default_for_intent (const char *interface,
208
+ const char *scope);
209
+ GIO_AVAILABLE_IN_2_92
210
+ gboolean g_desktop_app_info_set_as_default_for_intent (GDesktopAppInfo *info,
211
+ const char *interface,
212
+ const char *scope,
213
+ GError **error);
197
214
 
198
215
  G_END_DECLS
199
216
 
@@ -161,7 +161,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountPoint, g_unix_mount_point_free)
161
161
 
162
162
  GIO_AVAILABLE_IN_ALL
163
163
  gint g_unix_mount_point_compare (GUnixMountPoint *mount1,
164
- GUnixMountPoint *mount2);
164
+ GUnixMountPoint *mount2);
165
165
  GIO_AVAILABLE_IN_ALL
166
166
  const char * g_unix_mount_point_get_mount_path (GUnixMountPoint *mount_point);
167
167
  GIO_AVAILABLE_IN_ALL
@@ -211,10 +211,10 @@ GUnixMountEntry **g_unix_mount_entries_get_from_file(const char *table_
211
211
 
212
212
  GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_at)
213
213
  GUnixMountEntry *g_unix_mount_at (const char *mount_path,
214
- guint64 *time_read);
214
+ guint64 *time_read);
215
215
  GIO_AVAILABLE_IN_2_84
216
216
  GUnixMountEntry *g_unix_mount_entry_at (const char *mount_path,
217
- guint64 *time_read);
217
+ guint64 *time_read);
218
218
 
219
219
  GIO_DEPRECATED_IN_2_84_FOR(g_unix_mount_entry_for)
220
220
  GUnixMountEntry *g_unix_mount_for (const char *file_path,
@@ -58,13 +58,13 @@ struct _GAsyncInitableIface
58
58
  /* Virtual Table */
59
59
 
60
60
  void (* init_async) (GAsyncInitable *initable,
61
- int io_priority,
62
- GCancellable *cancellable,
63
- GAsyncReadyCallback callback,
64
- gpointer user_data);
61
+ int io_priority,
62
+ GCancellable *cancellable,
63
+ GAsyncReadyCallback callback,
64
+ gpointer user_data);
65
65
  gboolean (* init_finish) (GAsyncInitable *initable,
66
- GAsyncResult *res,
67
- GError **error);
66
+ GAsyncResult *res,
67
+ GError **error);
68
68
  };
69
69
 
70
70
  GIO_AVAILABLE_IN_ALL
@@ -73,49 +73,49 @@ GType g_async_initable_get_type (void);
73
73
 
74
74
  GIO_AVAILABLE_IN_ALL
75
75
  void g_async_initable_init_async (GAsyncInitable *initable,
76
- int io_priority,
77
- GCancellable *cancellable,
78
- GAsyncReadyCallback callback,
79
- gpointer user_data);
76
+ int io_priority,
77
+ GCancellable *cancellable,
78
+ GAsyncReadyCallback callback,
79
+ gpointer user_data);
80
80
  GIO_AVAILABLE_IN_ALL
81
81
  gboolean g_async_initable_init_finish (GAsyncInitable *initable,
82
- GAsyncResult *res,
83
- GError **error);
82
+ GAsyncResult *res,
83
+ GError **error);
84
84
 
85
85
  GIO_AVAILABLE_IN_ALL
86
86
  void g_async_initable_new_async (GType object_type,
87
- int io_priority,
88
- GCancellable *cancellable,
89
- GAsyncReadyCallback callback,
90
- gpointer user_data,
91
- const gchar *first_property_name,
92
- ...);
87
+ int io_priority,
88
+ GCancellable *cancellable,
89
+ GAsyncReadyCallback callback,
90
+ gpointer user_data,
91
+ const gchar *first_property_name,
92
+ ...);
93
93
 
94
94
  G_GNUC_BEGIN_IGNORE_DEPRECATIONS
95
95
 
96
96
  GIO_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties and g_async_initable_init_async)
97
97
  void g_async_initable_newv_async (GType object_type,
98
- guint n_parameters,
99
- GParameter *parameters,
100
- int io_priority,
101
- GCancellable *cancellable,
102
- GAsyncReadyCallback callback,
103
- gpointer user_data);
98
+ guint n_parameters,
99
+ GParameter *parameters,
100
+ int io_priority,
101
+ GCancellable *cancellable,
102
+ GAsyncReadyCallback callback,
103
+ gpointer user_data);
104
104
 
105
105
  G_GNUC_END_IGNORE_DEPRECATIONS
106
106
 
107
107
  GIO_AVAILABLE_IN_ALL
108
108
  void g_async_initable_new_valist_async (GType object_type,
109
- const gchar *first_property_name,
110
- va_list var_args,
111
- int io_priority,
112
- GCancellable *cancellable,
113
- GAsyncReadyCallback callback,
114
- gpointer user_data);
109
+ const gchar *first_property_name,
110
+ va_list var_args,
111
+ int io_priority,
112
+ GCancellable *cancellable,
113
+ GAsyncReadyCallback callback,
114
+ gpointer user_data);
115
115
  GIO_AVAILABLE_IN_ALL
116
116
  GObject *g_async_initable_new_finish (GAsyncInitable *initable,
117
- GAsyncResult *res,
118
- GError **error);
117
+ GAsyncResult *res,
118
+ GError **error);
119
119
 
120
120
 
121
121
 
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
33
33
 
34
34
  #define G_TYPE_ASYNC_RESULT (g_async_result_get_type ())
35
35
  #define G_ASYNC_RESULT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_ASYNC_RESULT, GAsyncResult))
36
- #define G_IS_ASYNC_RESULT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_ASYNC_RESULT))
36
+ #define G_IS_ASYNC_RESULT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_ASYNC_RESULT))
37
37
  #define G_ASYNC_RESULT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_ASYNC_RESULT, GAsyncResultIface))
38
38
 
39
39
  typedef struct _GAsyncResultIface GAsyncResultIface;
@@ -58,7 +58,7 @@ struct _GAsyncResultIface
58
58
  GObject * (* get_source_object) (GAsyncResult *res);
59
59
 
60
60
  gboolean (* is_tagged) (GAsyncResult *res,
61
- gpointer source_tag);
61
+ gpointer source_tag);
62
62
  };
63
63
 
64
64
  GIO_AVAILABLE_IN_ALL
@@ -71,10 +71,10 @@ GObject *g_async_result_get_source_object (GAsyncResult *res);
71
71
 
72
72
  GIO_AVAILABLE_IN_2_34
73
73
  gboolean g_async_result_legacy_propagate_error (GAsyncResult *res,
74
- GError **error);
74
+ GError **error);
75
75
  GIO_AVAILABLE_IN_2_34
76
76
  gboolean g_async_result_is_tagged (GAsyncResult *res,
77
- gpointer source_tag);
77
+ gpointer source_tag);
78
78
 
79
79
  G_END_DECLS
80
80
 
@@ -54,20 +54,20 @@ struct _GBufferedInputStreamClass
54
54
  GFilterInputStreamClass parent_class;
55
55
 
56
56
  gssize (* fill) (GBufferedInputStream *stream,
57
- gssize count,
58
- GCancellable *cancellable,
59
- GError **error);
57
+ gssize count,
58
+ GCancellable *cancellable,
59
+ GError **error);
60
60
 
61
61
  /* Async ops: (optional in derived classes) */
62
62
  void (* fill_async) (GBufferedInputStream *stream,
63
- gssize count,
64
- int io_priority,
65
- GCancellable *cancellable,
66
- GAsyncReadyCallback callback,
67
- gpointer user_data);
63
+ gssize count,
64
+ int io_priority,
65
+ GCancellable *cancellable,
66
+ GAsyncReadyCallback callback,
67
+ gpointer user_data);
68
68
  gssize (* fill_finish) (GBufferedInputStream *stream,
69
- GAsyncResult *result,
70
- GError **error);
69
+ GAsyncResult *result,
70
+ GError **error);
71
71
 
72
72
  /*< private >*/
73
73
  /* Padding for future expansion */
@@ -85,45 +85,45 @@ GIO_AVAILABLE_IN_ALL
85
85
  GInputStream* g_buffered_input_stream_new (GInputStream *base_stream);
86
86
  GIO_AVAILABLE_IN_ALL
87
87
  GInputStream* g_buffered_input_stream_new_sized (GInputStream *base_stream,
88
- gsize size);
88
+ gsize size);
89
89
 
90
90
  GIO_AVAILABLE_IN_ALL
91
91
  gsize g_buffered_input_stream_get_buffer_size (GBufferedInputStream *stream);
92
92
  GIO_AVAILABLE_IN_ALL
93
93
  void g_buffered_input_stream_set_buffer_size (GBufferedInputStream *stream,
94
- gsize size);
94
+ gsize size);
95
95
  GIO_AVAILABLE_IN_ALL
96
96
  gsize g_buffered_input_stream_get_available (GBufferedInputStream *stream);
97
97
  GIO_AVAILABLE_IN_ALL
98
98
  gsize g_buffered_input_stream_peek (GBufferedInputStream *stream,
99
- void *buffer,
100
- gsize offset,
101
- gsize count);
99
+ void *buffer,
100
+ gsize offset,
101
+ gsize count);
102
102
  GIO_AVAILABLE_IN_ALL
103
103
  const void* g_buffered_input_stream_peek_buffer (GBufferedInputStream *stream,
104
- gsize *count);
104
+ gsize *count);
105
105
 
106
106
  GIO_AVAILABLE_IN_ALL
107
107
  gssize g_buffered_input_stream_fill (GBufferedInputStream *stream,
108
- gssize count,
109
- GCancellable *cancellable,
110
- GError **error);
108
+ gssize count,
109
+ GCancellable *cancellable,
110
+ GError **error);
111
111
  GIO_AVAILABLE_IN_ALL
112
112
  void g_buffered_input_stream_fill_async (GBufferedInputStream *stream,
113
- gssize count,
114
- int io_priority,
115
- GCancellable *cancellable,
116
- GAsyncReadyCallback callback,
117
- gpointer user_data);
113
+ gssize count,
114
+ int io_priority,
115
+ GCancellable *cancellable,
116
+ GAsyncReadyCallback callback,
117
+ gpointer user_data);
118
118
  GIO_AVAILABLE_IN_ALL
119
119
  gssize g_buffered_input_stream_fill_finish (GBufferedInputStream *stream,
120
- GAsyncResult *result,
121
- GError **error);
120
+ GAsyncResult *result,
121
+ GError **error);
122
122
 
123
123
  GIO_AVAILABLE_IN_ALL
124
124
  int g_buffered_input_stream_read_byte (GBufferedInputStream *stream,
125
- GCancellable *cancellable,
126
- GError **error);
125
+ GCancellable *cancellable,
126
+ GError **error);
127
127
 
128
128
  G_END_DECLS
129
129
 
@@ -66,17 +66,17 @@ GIO_AVAILABLE_IN_ALL
66
66
  GOutputStream* g_buffered_output_stream_new (GOutputStream *base_stream);
67
67
  GIO_AVAILABLE_IN_ALL
68
68
  GOutputStream* g_buffered_output_stream_new_sized (GOutputStream *base_stream,
69
- gsize size);
69
+ gsize size);
70
70
  GIO_AVAILABLE_IN_ALL
71
71
  gsize g_buffered_output_stream_get_buffer_size (GBufferedOutputStream *stream);
72
72
  GIO_AVAILABLE_IN_ALL
73
73
  void g_buffered_output_stream_set_buffer_size (GBufferedOutputStream *stream,
74
- gsize size);
74
+ gsize size);
75
75
  GIO_AVAILABLE_IN_ALL
76
76
  gboolean g_buffered_output_stream_get_auto_grow (GBufferedOutputStream *stream);
77
77
  GIO_AVAILABLE_IN_ALL
78
78
  void g_buffered_output_stream_set_auto_grow (GBufferedOutputStream *stream,
79
- gboolean auto_grow);
79
+ gboolean auto_grow);
80
80
 
81
81
  G_END_DECLS
82
82
 
@@ -75,13 +75,13 @@ GIO_AVAILABLE_IN_ALL
75
75
  gboolean g_cancellable_is_cancelled (GCancellable *cancellable);
76
76
  GIO_AVAILABLE_IN_ALL
77
77
  gboolean g_cancellable_set_error_if_cancelled (GCancellable *cancellable,
78
- GError **error);
78
+ GError **error);
79
79
 
80
80
  GIO_AVAILABLE_IN_ALL
81
81
  int g_cancellable_get_fd (GCancellable *cancellable);
82
82
  GIO_AVAILABLE_IN_ALL
83
83
  gboolean g_cancellable_make_pollfd (GCancellable *cancellable,
84
- GPollFD *pollfd);
84
+ GPollFD *pollfd);
85
85
  GIO_AVAILABLE_IN_ALL
86
86
  void g_cancellable_release_fd (GCancellable *cancellable);
87
87
 
@@ -98,12 +98,12 @@ GIO_AVAILABLE_IN_ALL
98
98
  void g_cancellable_reset (GCancellable *cancellable);
99
99
  GIO_AVAILABLE_IN_ALL
100
100
  gulong g_cancellable_connect (GCancellable *cancellable,
101
- GCallback callback,
102
- gpointer data,
103
- GDestroyNotify data_destroy_func);
101
+ GCallback callback,
102
+ gpointer data,
103
+ GDestroyNotify data_destroy_func);
104
104
  GIO_AVAILABLE_IN_ALL
105
105
  void g_cancellable_disconnect (GCancellable *cancellable,
106
- gulong handler_id);
106
+ gulong handler_id);
107
107
 
108
108
 
109
109
  /* This is safe to call from another thread */
@@ -50,11 +50,11 @@ GType g_charset_converter_get_type (void);
50
50
 
51
51
  GIO_AVAILABLE_IN_ALL
52
52
  GCharsetConverter *g_charset_converter_new (const gchar *to_charset,
53
- const gchar *from_charset,
54
- GError **error);
53
+ const gchar *from_charset,
54
+ GError **error);
55
55
  GIO_AVAILABLE_IN_ALL
56
56
  void g_charset_converter_set_use_fallback (GCharsetConverter *converter,
57
- gboolean use_fallback);
57
+ gboolean use_fallback);
58
58
  GIO_AVAILABLE_IN_ALL
59
59
  gboolean g_charset_converter_get_use_fallback (GCharsetConverter *converter);
60
60
  GIO_AVAILABLE_IN_ALL
@@ -57,14 +57,14 @@ struct _GConverterIface
57
57
  /* Virtual Table */
58
58
 
59
59
  GConverterResult (* convert) (GConverter *converter,
60
- const void *inbuf,
61
- gsize inbuf_size,
62
- void *outbuf,
63
- gsize outbuf_size,
64
- GConverterFlags flags,
65
- gsize *bytes_read,
66
- gsize *bytes_written,
67
- GError **error);
60
+ const void *inbuf,
61
+ gsize inbuf_size,
62
+ void *outbuf,
63
+ gsize outbuf_size,
64
+ GConverterFlags flags,
65
+ gsize *bytes_read,
66
+ gsize *bytes_written,
67
+ GError **error);
68
68
  void (* reset) (GConverter *converter);
69
69
  };
70
70
 
@@ -73,14 +73,14 @@ GType g_converter_get_type (void);
73
73
 
74
74
  GIO_AVAILABLE_IN_ALL
75
75
  GConverterResult g_converter_convert (GConverter *converter,
76
- const void *inbuf,
77
- gsize inbuf_size,
78
- void *outbuf,
79
- gsize outbuf_size,
80
- GConverterFlags flags,
81
- gsize *bytes_read,
82
- gsize *bytes_written,
83
- GError **error);
76
+ const void *inbuf,
77
+ gsize inbuf_size,
78
+ void *outbuf,
79
+ gsize outbuf_size,
80
+ GConverterFlags flags,
81
+ gsize *bytes_read,
82
+ gsize *bytes_written,
83
+ GError **error);
84
84
  GIO_AVAILABLE_IN_ALL
85
85
  void g_converter_reset (GConverter *converter);
86
86
 
@@ -112,9 +112,9 @@ char * g_data_input_stream_read_line (GDataInputStrea
112
112
  GError **error);
113
113
  GIO_AVAILABLE_IN_2_30
114
114
  char * g_data_input_stream_read_line_utf8 (GDataInputStream *stream,
115
- gsize *length,
116
- GCancellable *cancellable,
117
- GError **error);
115
+ gsize *length,
116
+ GCancellable *cancellable,
117
+ GError **error);
118
118
  GIO_AVAILABLE_IN_ALL
119
119
  void g_data_input_stream_read_line_async (GDataInputStream *stream,
120
120
  gint io_priority,