@img/sharp-libvips-dev 1.0.0 → 1.0.2

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 (230) hide show
  1. package/include/aom/aom_encoder.h +3 -3
  2. package/include/aom/aomcx.h +17 -8
  3. package/include/expat.h +21 -10
  4. package/include/expat_config.h +11 -5
  5. package/include/ffi.h +12 -25
  6. package/include/fontconfig/fontconfig.h +5 -3
  7. package/include/freetype2/freetype/config/ftoption.h +1 -1
  8. package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +3 -7
  9. package/include/gio-unix-2.0/gio/gunixinputstream.h +0 -5
  10. package/include/gio-unix-2.0/gio/gunixoutputstream.h +0 -5
  11. package/include/glib-2.0/gio/gappinfo.h +0 -7
  12. package/include/glib-2.0/gio/gapplication.h +6 -0
  13. package/include/glib-2.0/gio/gapplicationcommandline.h +12 -1
  14. package/include/glib-2.0/gio/gasyncinitable.h +0 -7
  15. package/include/glib-2.0/gio/gasyncresult.h +0 -6
  16. package/include/glib-2.0/gio/gbufferedinputstream.h +0 -5
  17. package/include/glib-2.0/gio/gbufferedoutputstream.h +0 -5
  18. package/include/glib-2.0/gio/gbytesicon.h +0 -5
  19. package/include/glib-2.0/gio/gcancellable.h +0 -5
  20. package/include/glib-2.0/gio/gconverter.h +0 -7
  21. package/include/glib-2.0/gio/gconverterinputstream.h +0 -6
  22. package/include/glib-2.0/gio/gconverteroutputstream.h +0 -6
  23. package/include/glib-2.0/gio/gdatagrambased.h +0 -7
  24. package/include/glib-2.0/gio/gdatainputstream.h +0 -6
  25. package/include/glib-2.0/gio/gdataoutputstream.h +0 -6
  26. package/include/glib-2.0/gio/gdbusinterface.h +0 -8
  27. package/include/glib-2.0/gio/gdbusinterfaceskeleton.h +0 -8
  28. package/include/glib-2.0/gio/gdbusmessage.h +2 -1
  29. package/include/glib-2.0/gio/gdbusobjectmanagerclient.h +0 -8
  30. package/include/glib-2.0/gio/gdbusobjectmanagerserver.h +0 -8
  31. package/include/glib-2.0/gio/gdbusobjectproxy.h +0 -8
  32. package/include/glib-2.0/gio/gdbusobjectskeleton.h +0 -8
  33. package/include/glib-2.0/gio/gdbusproxy.h +0 -8
  34. package/include/glib-2.0/gio/gdebugcontroller.h +0 -8
  35. package/include/glib-2.0/gio/gdebugcontrollerdbus.h +0 -7
  36. package/include/glib-2.0/gio/gdtlsserverconnection.h +0 -8
  37. package/include/glib-2.0/gio/gemblem.h +0 -5
  38. package/include/glib-2.0/gio/gemblemedicon.h +0 -5
  39. package/include/glib-2.0/gio/gfile.h +0 -10
  40. package/include/glib-2.0/gio/gfileenumerator.h +0 -5
  41. package/include/glib-2.0/gio/gfileicon.h +0 -5
  42. package/include/glib-2.0/gio/gfileinfo.h +0 -5
  43. package/include/glib-2.0/gio/gfileinputstream.h +0 -8
  44. package/include/glib-2.0/gio/gfileiostream.h +0 -8
  45. package/include/glib-2.0/gio/gfilemonitor.h +0 -5
  46. package/include/glib-2.0/gio/gfilenamecompleter.h +0 -5
  47. package/include/glib-2.0/gio/gfileoutputstream.h +0 -8
  48. package/include/glib-2.0/gio/gfilterinputstream.h +0 -5
  49. package/include/glib-2.0/gio/gfilteroutputstream.h +0 -5
  50. package/include/glib-2.0/gio/gicon.h +0 -5
  51. package/include/glib-2.0/gio/ginitable.h +0 -7
  52. package/include/glib-2.0/gio/ginputstream.h +0 -5
  53. package/include/glib-2.0/gio/gio-autocleanups.h +4 -0
  54. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  55. package/include/glib-2.0/gio/gioenums.h +6 -1
  56. package/include/glib-2.0/gio/giomodule.h +0 -5
  57. package/include/glib-2.0/gio/giostream.h +0 -5
  58. package/include/glib-2.0/gio/giotypes.h +5 -108
  59. package/include/glib-2.0/gio/gloadableicon.h +0 -6
  60. package/include/glib-2.0/gio/gmemoryinputstream.h +0 -5
  61. package/include/glib-2.0/gio/gmemoryoutputstream.h +0 -5
  62. package/include/glib-2.0/gio/gmountoperation.h +0 -6
  63. package/include/glib-2.0/gio/gnetworking.h +4 -0
  64. package/include/glib-2.0/gio/goutputstream.h +0 -9
  65. package/include/glib-2.0/gio/gpollableinputstream.h +0 -7
  66. package/include/glib-2.0/gio/gpollableoutputstream.h +0 -7
  67. package/include/glib-2.0/gio/gproxy.h +0 -7
  68. package/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -8
  69. package/include/glib-2.0/gio/gseekable.h +0 -5
  70. package/include/glib-2.0/gio/gsettingsbackend.h +0 -5
  71. package/include/glib-2.0/gio/gsimpleactiongroup.h +0 -7
  72. package/include/glib-2.0/gio/gsimpleasyncresult.h +0 -5
  73. package/include/glib-2.0/gio/gsimpleproxyresolver.h +0 -5
  74. package/include/glib-2.0/gio/gsocket.h +13 -0
  75. package/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -6
  76. package/include/glib-2.0/gio/gsocketconnectable.h +0 -5
  77. package/include/glib-2.0/gio/gtask.h +12 -0
  78. package/include/glib-2.0/gio/gthemedicon.h +0 -5
  79. package/include/glib-2.0/gio/gtlsserverconnection.h +0 -8
  80. package/include/glib-2.0/gio/gunixcredentialsmessage.h +0 -8
  81. package/include/glib-2.0/gio/gvfs.h +0 -5
  82. package/include/glib-2.0/gio/gvolume.h +2 -2
  83. package/include/glib-2.0/gio/gvolumemonitor.h +0 -5
  84. package/include/glib-2.0/girepository/gi-visibility.h +986 -0
  85. package/include/glib-2.0/girepository/giarginfo.h +100 -0
  86. package/include/glib-2.0/girepository/gibaseinfo.h +129 -0
  87. package/include/glib-2.0/girepository/gicallableinfo.h +119 -0
  88. package/include/glib-2.0/girepository/gicallbackinfo.h +60 -0
  89. package/include/glib-2.0/girepository/giconstantinfo.h +72 -0
  90. package/include/glib-2.0/girepository/gienuminfo.h +82 -0
  91. package/include/glib-2.0/girepository/gifieldinfo.h +84 -0
  92. package/include/glib-2.0/girepository/giflagsinfo.h +60 -0
  93. package/include/glib-2.0/girepository/gifunctioninfo.h +117 -0
  94. package/include/glib-2.0/girepository/giinterfaceinfo.h +120 -0
  95. package/include/glib-2.0/girepository/giobjectinfo.h +230 -0
  96. package/include/glib-2.0/girepository/gipropertyinfo.h +77 -0
  97. package/include/glib-2.0/girepository/giregisteredtypeinfo.h +75 -0
  98. package/include/glib-2.0/girepository/girepository-autocleanups.h +56 -0
  99. package/include/glib-2.0/girepository/girepository.h +247 -0
  100. package/include/glib-2.0/girepository/girffi.h +129 -0
  101. package/include/glib-2.0/girepository/gisignalinfo.h +72 -0
  102. package/include/glib-2.0/girepository/gistructinfo.h +102 -0
  103. package/include/glib-2.0/girepository/gitypeinfo.h +144 -0
  104. package/include/glib-2.0/girepository/gitypelib.h +61 -0
  105. package/include/glib-2.0/girepository/gitypes.h +421 -0
  106. package/include/glib-2.0/girepository/giunioninfo.h +105 -0
  107. package/include/glib-2.0/girepository/giunresolvedinfo.h +60 -0
  108. package/include/glib-2.0/girepository/givalueinfo.h +65 -0
  109. package/include/glib-2.0/girepository/givfuncinfo.h +88 -0
  110. package/include/glib-2.0/glib/deprecated/gcompletion.h +1 -1
  111. package/include/glib-2.0/glib/deprecated/grel.h +0 -23
  112. package/include/glib-2.0/glib/deprecated/gthread.h +10 -6
  113. package/include/glib-2.0/glib/gatomic.h +20 -20
  114. package/include/glib-2.0/glib/gbitlock.h +31 -0
  115. package/include/glib-2.0/glib/gbookmarkfile.h +39 -1
  116. package/include/glib-2.0/glib/gchecksum.h +0 -10
  117. package/include/glib-2.0/glib/gdate.h +0 -9
  118. package/include/glib-2.0/glib/gdatetime.h +33 -1
  119. package/include/glib-2.0/glib/gdir.h +5 -0
  120. package/include/glib-2.0/glib/ghmac.h +0 -9
  121. package/include/glib-2.0/glib/glib-autocleanups.h +4 -0
  122. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  123. package/include/glib-2.0/glib/gmacros.h +1 -0
  124. package/include/glib-2.0/glib/gmessages.h +11 -0
  125. package/include/glib-2.0/glib/gpathbuf.h +0 -7
  126. package/include/glib-2.0/glib/gslice.h +2 -0
  127. package/include/glib-2.0/glib/gstdio.h +1 -1
  128. package/include/glib-2.0/glib/gstrfuncs.h +24 -18
  129. package/include/glib-2.0/glib/gstrvbuilder.h +4 -8
  130. package/include/glib-2.0/glib/gtestutils.h +5 -0
  131. package/include/glib-2.0/glib/gthread.h +216 -3
  132. package/include/glib-2.0/glib/gunicode.h +12 -2
  133. package/include/glib-2.0/glib/gvarianttype.h +1 -10
  134. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  135. package/include/glib-2.0/glib/gwin32.h +4 -4
  136. package/include/glib-2.0/glib-unix.h +214 -0
  137. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  138. package/include/glib-2.0/gobject/gbinding.h +0 -8
  139. package/include/glib-2.0/gobject/gbindinggroup.h +0 -8
  140. package/include/glib-2.0/gobject/gclosure.h +1 -9
  141. package/include/glib-2.0/gobject/genums.h +6 -6
  142. package/include/glib-2.0/gobject/glib-types.h +44 -0
  143. package/include/glib-2.0/gobject/gobject-autocleanups.h +4 -0
  144. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  145. package/include/glib-2.0/gobject/gobject.h +1 -16
  146. package/include/glib-2.0/gobject/gparam.h +3 -12
  147. package/include/glib-2.0/gobject/gsignal.h +16 -6
  148. package/include/glib-2.0/gobject/gsignalgroup.h +0 -8
  149. package/include/glib-2.0/gobject/gtype.h +53 -20
  150. package/include/glib-2.0/gobject/gtypemodule.h +0 -7
  151. package/include/glib-2.0/gobject/gtypeplugin.h +0 -6
  152. package/include/glib-2.0/gobject/gvaluearray.h +0 -7
  153. package/include/glib-2.0/gobject/gvaluecollector.h +1 -11
  154. package/include/glib-2.0/gobject/gvaluetypes.h +2 -0
  155. package/include/hwy/aligned_allocator.h +171 -6
  156. package/include/hwy/base.h +1765 -543
  157. package/include/hwy/cache_control.h +24 -6
  158. package/include/hwy/detect_compiler_arch.h +23 -2
  159. package/include/hwy/detect_targets.h +56 -13
  160. package/include/hwy/foreach_target.h +24 -0
  161. package/include/hwy/highway.h +20 -3
  162. package/include/hwy/ops/arm_neon-inl.h +1086 -667
  163. package/include/hwy/ops/arm_sve-inl.h +1091 -235
  164. package/include/hwy/ops/emu128-inl.h +271 -196
  165. package/include/hwy/ops/generic_ops-inl.h +2270 -399
  166. package/include/hwy/ops/ppc_vsx-inl.h +1786 -563
  167. package/include/hwy/ops/rvv-inl.h +1043 -311
  168. package/include/hwy/ops/scalar-inl.h +189 -159
  169. package/include/hwy/ops/set_macros-inl.h +66 -6
  170. package/include/hwy/ops/shared-inl.h +175 -56
  171. package/include/hwy/ops/wasm_128-inl.h +153 -136
  172. package/include/hwy/ops/x86_128-inl.h +1647 -646
  173. package/include/hwy/ops/x86_256-inl.h +1003 -370
  174. package/include/hwy/ops/x86_512-inl.h +948 -353
  175. package/include/hwy/per_target.h +4 -0
  176. package/include/hwy/profiler.h +648 -0
  177. package/include/hwy/robust_statistics.h +2 -2
  178. package/include/hwy/targets.h +18 -11
  179. package/include/hwy/timer.h +11 -0
  180. package/include/lcms2.h +46 -7
  181. package/include/lcms2_plugin.h +4 -4
  182. package/include/libheif/heif_version.h +2 -2
  183. package/include/libpng16/png.h +32 -29
  184. package/include/libpng16/pngconf.h +2 -2
  185. package/include/libpng16/pnglibconf.h +7 -2
  186. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  187. package/include/libxml2/libxml/HTMLparser.h +23 -0
  188. package/include/libxml2/libxml/SAX.h +0 -2
  189. package/include/libxml2/libxml/SAX2.h +0 -2
  190. package/include/libxml2/libxml/c14n.h +0 -2
  191. package/include/libxml2/libxml/dict.h +1 -0
  192. package/include/libxml2/libxml/encoding.h +16 -14
  193. package/include/libxml2/libxml/entities.h +4 -0
  194. package/include/libxml2/libxml/globals.h +15 -503
  195. package/include/libxml2/libxml/hash.h +57 -61
  196. package/include/libxml2/libxml/nanoftp.h +2 -2
  197. package/include/libxml2/libxml/parser.h +137 -18
  198. package/include/libxml2/libxml/parserInternals.h +1 -0
  199. package/include/libxml2/libxml/relaxng.h +2 -1
  200. package/include/libxml2/libxml/schemasInternals.h +1 -0
  201. package/include/libxml2/libxml/schematron.h +1 -0
  202. package/include/libxml2/libxml/threads.h +4 -11
  203. package/include/libxml2/libxml/tree.h +68 -20
  204. package/include/libxml2/libxml/uri.h +2 -1
  205. package/include/libxml2/libxml/valid.h +2 -0
  206. package/include/libxml2/libxml/xmlIO.h +65 -13
  207. package/include/libxml2/libxml/xmlerror.h +37 -8
  208. package/include/libxml2/libxml/xmlmemory.h +37 -40
  209. package/include/libxml2/libxml/xmlreader.h +6 -0
  210. package/include/libxml2/libxml/xmlregexp.h +2 -9
  211. package/include/libxml2/libxml/xmlsave.h +9 -0
  212. package/include/libxml2/libxml/xmlschemas.h +3 -0
  213. package/include/libxml2/libxml/xmlversion.h +28 -43
  214. package/include/libxml2/libxml/xpath.h +1 -1
  215. package/include/libxml2/libxml/xpathInternals.h +2 -1
  216. package/include/libxml2/libxml/xpointer.h +5 -4
  217. package/include/pango-1.0/pango/pango-features.h +3 -3
  218. package/include/pango-1.0/pango/pango-fontmap.h +7 -0
  219. package/include/pixman-1/pixman-version.h +3 -3
  220. package/include/pixman-1/pixman.h +9 -2
  221. package/include/png.h +32 -29
  222. package/include/pngconf.h +2 -2
  223. package/include/pnglibconf.h +7 -2
  224. package/include/vips/connection.h +9 -3
  225. package/include/vips/util.h +0 -9
  226. package/include/vips/version.h +4 -4
  227. package/include/zconf.h +3 -0
  228. package/include/zlib.h +3 -3
  229. package/package.json +1 -1
  230. package/versions.json +15 -15
@@ -0,0 +1,60 @@
1
+ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2
+ * GObject introspection: Flags type
3
+ *
4
+ * Copyright 2024 GNOME Foundation, Inc.
5
+ *
6
+ * SPDX-License-Identifier: LGPL-2.1-or-later
7
+ *
8
+ * This library is free software; you can redistribute it and/or
9
+ * modify it under the terms of the GNU Lesser General Public
10
+ * License as published by the Free Software Foundation; either
11
+ * version 2 of the License, or (at your option) any later version.
12
+ *
13
+ * This library is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
+ * Lesser General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Lesser General Public
19
+ * License along with this library; if not, write to the
20
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
+ * Boston, MA 02111-1307, USA.
22
+ */
23
+
24
+ #pragma once
25
+
26
+ #if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
27
+ #error "Only <girepository.h> can be included directly."
28
+ #endif
29
+
30
+ #include <girepository/gitypes.h>
31
+
32
+ G_BEGIN_DECLS
33
+
34
+ #define GI_TYPE_FLAGS_INFO (gi_flags_info_get_type ())
35
+
36
+ /**
37
+ * GI_FLAGS_INFO:
38
+ * @info: Info object which is subject to casting.
39
+ *
40
+ * Casts a [type@GIRepository.FlagsInfo] or derived pointer into a
41
+ * `(GIFlagsInfo*)` pointer.
42
+ *
43
+ * Depending on the current debugging level, this function may invoke
44
+ * certain runtime checks to identify invalid casts.
45
+ *
46
+ * Since: 2.80
47
+ */
48
+ #define GI_FLAGS_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_FLAGS_INFO, GIFlagsInfo))
49
+
50
+ /**
51
+ * GI_IS_FLAGS_INFO:
52
+ * @info: an info structure
53
+ *
54
+ * Checks if @info is a [class@GIRepository.FlagsInfo] (or a derived type).
55
+ *
56
+ * Since: 2.80
57
+ */
58
+ #define GI_IS_FLAGS_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_FLAGS_INFO))
59
+
60
+ G_END_DECLS
@@ -0,0 +1,117 @@
1
+ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2
+ * GObject introspection: Function
3
+ *
4
+ * Copyright (C) 2005 Matthias Clasen
5
+ * Copyright (C) 2008,2009 Red Hat, Inc.
6
+ *
7
+ * SPDX-License-Identifier: LGPL-2.1-or-later
8
+ *
9
+ * This library is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU Lesser General Public
11
+ * License as published by the Free Software Foundation; either
12
+ * version 2 of the License, or (at your option) any later version.
13
+ *
14
+ * This library is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ * Lesser General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU Lesser General Public
20
+ * License along with this library; if not, write to the
21
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22
+ * Boston, MA 02111-1307, USA.
23
+ */
24
+
25
+ #pragma once
26
+
27
+ #if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
28
+ #error "Only <girepository.h> can be included directly."
29
+ #endif
30
+
31
+ #include <girepository/gitypes.h>
32
+
33
+ G_BEGIN_DECLS
34
+
35
+ #define GI_TYPE_FUNCTION_INFO (gi_function_info_get_type ())
36
+
37
+ /**
38
+ * GI_FUNCTION_INFO:
39
+ * @info: Info object which is subject to casting.
40
+ *
41
+ * Casts a [type@GIRepository.FunctionInfo] or derived pointer into a
42
+ * `(GIFunctionInfo*)` pointer.
43
+ *
44
+ * Depending on the current debugging level, this function may invoke
45
+ * certain runtime checks to identify invalid casts.
46
+ *
47
+ * Since: 2.80
48
+ */
49
+ #define GI_FUNCTION_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_FUNCTION_INFO, GIFunctionInfo))
50
+
51
+ /**
52
+ * GI_IS_FUNCTION_INFO:
53
+ * @info: an info structure
54
+ *
55
+ * Checks if @info is a [class@GIRepository.FunctionInfo] (or a derived type).
56
+ *
57
+ * Since: 2.80
58
+ */
59
+ #define GI_IS_FUNCTION_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_FUNCTION_INFO))
60
+
61
+
62
+ GI_AVAILABLE_IN_ALL
63
+ const char * gi_function_info_get_symbol (GIFunctionInfo *info);
64
+
65
+ GI_AVAILABLE_IN_ALL
66
+ GIFunctionInfoFlags gi_function_info_get_flags (GIFunctionInfo *info);
67
+
68
+ GI_AVAILABLE_IN_ALL
69
+ GIPropertyInfo * gi_function_info_get_property (GIFunctionInfo *info);
70
+
71
+ GI_AVAILABLE_IN_ALL
72
+ GIVFuncInfo * gi_function_info_get_vfunc (GIFunctionInfo *info);
73
+
74
+ /**
75
+ * GI_INVOKE_ERROR:
76
+ *
77
+ * Type quark function for [enum@GIRepository.InvokeError].
78
+ *
79
+ * Since: 2.80
80
+ */
81
+ #define GI_INVOKE_ERROR (gi_invoke_error_quark ())
82
+
83
+ GI_AVAILABLE_IN_ALL
84
+ GQuark gi_invoke_error_quark (void);
85
+
86
+ /**
87
+ * GIInvokeError:
88
+ * @GI_INVOKE_ERROR_FAILED: invocation failed, unknown error.
89
+ * @GI_INVOKE_ERROR_SYMBOL_NOT_FOUND: symbol couldn’t be found in any of the
90
+ * libraries associated with the typelib of the function.
91
+ * @GI_INVOKE_ERROR_ARGUMENT_MISMATCH: the arguments provided didn’t match
92
+ * the expected arguments for the function’s type signature.
93
+ *
94
+ * An error occurring while invoking a function via
95
+ * [method@GIRepository.FunctionInfo.invoke].
96
+ *
97
+ * Since: 2.80
98
+ */
99
+ typedef enum
100
+ {
101
+ GI_INVOKE_ERROR_FAILED,
102
+ GI_INVOKE_ERROR_SYMBOL_NOT_FOUND,
103
+ GI_INVOKE_ERROR_ARGUMENT_MISMATCH
104
+ } GIInvokeError;
105
+
106
+
107
+ GI_AVAILABLE_IN_ALL
108
+ gboolean gi_function_info_invoke (GIFunctionInfo *info,
109
+ const GIArgument *in_args,
110
+ size_t n_in_args,
111
+ GIArgument *out_args,
112
+ size_t n_out_args,
113
+ GIArgument *return_value,
114
+ GError **error);
115
+
116
+
117
+ G_END_DECLS
@@ -0,0 +1,120 @@
1
+ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2
+ * GObject introspection: Interface
3
+ *
4
+ * Copyright (C) 2005 Matthias Clasen
5
+ * Copyright (C) 2008,2009 Red Hat, Inc.
6
+ *
7
+ * SPDX-License-Identifier: LGPL-2.1-or-later
8
+ *
9
+ * This library is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU Lesser General Public
11
+ * License as published by the Free Software Foundation; either
12
+ * version 2 of the License, or (at your option) any later version.
13
+ *
14
+ * This library is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ * Lesser General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU Lesser General Public
20
+ * License along with this library; if not, write to the
21
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22
+ * Boston, MA 02111-1307, USA.
23
+ */
24
+
25
+ #pragma once
26
+
27
+ #if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
28
+ #error "Only <girepository.h> can be included directly."
29
+ #endif
30
+
31
+ #include <girepository/gitypes.h>
32
+
33
+ G_BEGIN_DECLS
34
+
35
+ #define GI_TYPE_INTERFACE_INFO (gi_interface_info_get_type ())
36
+
37
+ /**
38
+ * GI_INTERFACE_INFO:
39
+ * @info: Info object which is subject to casting.
40
+ *
41
+ * Casts a [type@GIRepository.InterfaceInfo] or derived pointer into a
42
+ * `(GIInterfaceInfo*)` pointer.
43
+ *
44
+ * Depending on the current debugging level, this function may invoke
45
+ * certain runtime checks to identify invalid casts.
46
+ *
47
+ * Since: 2.80
48
+ */
49
+ #define GI_INTERFACE_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_INTERFACE_INFO, GIInterfaceInfo))
50
+
51
+ /**
52
+ * GI_IS_INTERFACE_INFO:
53
+ * @info: an info structure
54
+ *
55
+ * Checks if @info is a [class@GIRepository.InterfaceInfo] (or a derived type).
56
+ *
57
+ * Since: 2.80
58
+ */
59
+ #define GI_IS_INTERFACE_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_INTERFACE_INFO))
60
+
61
+
62
+ GI_AVAILABLE_IN_ALL
63
+ unsigned int gi_interface_info_get_n_prerequisites (GIInterfaceInfo *info);
64
+
65
+ GI_AVAILABLE_IN_ALL
66
+ GIBaseInfo * gi_interface_info_get_prerequisite (GIInterfaceInfo *info,
67
+ unsigned int n);
68
+
69
+ GI_AVAILABLE_IN_ALL
70
+ unsigned int gi_interface_info_get_n_properties (GIInterfaceInfo *info);
71
+
72
+ GI_AVAILABLE_IN_ALL
73
+ GIPropertyInfo * gi_interface_info_get_property (GIInterfaceInfo *info,
74
+ unsigned int n);
75
+
76
+ GI_AVAILABLE_IN_ALL
77
+ unsigned int gi_interface_info_get_n_methods (GIInterfaceInfo *info);
78
+
79
+ GI_AVAILABLE_IN_ALL
80
+ GIFunctionInfo * gi_interface_info_get_method (GIInterfaceInfo *info,
81
+ unsigned int n);
82
+
83
+ GI_AVAILABLE_IN_ALL
84
+ GIFunctionInfo * gi_interface_info_find_method (GIInterfaceInfo *info,
85
+ const char *name);
86
+
87
+ GI_AVAILABLE_IN_ALL
88
+ unsigned int gi_interface_info_get_n_signals (GIInterfaceInfo *info);
89
+
90
+ GI_AVAILABLE_IN_ALL
91
+ GISignalInfo * gi_interface_info_get_signal (GIInterfaceInfo *info,
92
+ unsigned int n);
93
+
94
+ GI_AVAILABLE_IN_ALL
95
+ GISignalInfo * gi_interface_info_find_signal (GIInterfaceInfo *info,
96
+ const char *name);
97
+
98
+ GI_AVAILABLE_IN_ALL
99
+ unsigned int gi_interface_info_get_n_vfuncs (GIInterfaceInfo *info);
100
+
101
+ GI_AVAILABLE_IN_ALL
102
+ GIVFuncInfo * gi_interface_info_get_vfunc (GIInterfaceInfo *info,
103
+ unsigned int n);
104
+
105
+ GI_AVAILABLE_IN_ALL
106
+ GIVFuncInfo * gi_interface_info_find_vfunc (GIInterfaceInfo *info,
107
+ const char *name);
108
+
109
+ GI_AVAILABLE_IN_ALL
110
+ unsigned int gi_interface_info_get_n_constants (GIInterfaceInfo *info);
111
+
112
+ GI_AVAILABLE_IN_ALL
113
+ GIConstantInfo * gi_interface_info_get_constant (GIInterfaceInfo *info,
114
+ unsigned int n);
115
+
116
+
117
+ GI_AVAILABLE_IN_ALL
118
+ GIStructInfo * gi_interface_info_get_iface_struct (GIInterfaceInfo *info);
119
+
120
+ G_END_DECLS
@@ -0,0 +1,230 @@
1
+ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2
+ * GObject introspection: Object
3
+ *
4
+ * Copyright (C) 2005 Matthias Clasen
5
+ * Copyright (C) 2008,2009 Red Hat, Inc.
6
+ *
7
+ * SPDX-License-Identifier: LGPL-2.1-or-later
8
+ *
9
+ * This library is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU Lesser General Public
11
+ * License as published by the Free Software Foundation; either
12
+ * version 2 of the License, or (at your option) any later version.
13
+ *
14
+ * This library is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ * Lesser General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU Lesser General Public
20
+ * License along with this library; if not, write to the
21
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22
+ * Boston, MA 02111-1307, USA.
23
+ */
24
+
25
+ #pragma once
26
+
27
+ #if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
28
+ #error "Only <girepository.h> can be included directly."
29
+ #endif
30
+
31
+ #include <girepository/gitypes.h>
32
+
33
+ G_BEGIN_DECLS
34
+
35
+ /**
36
+ * GIObjectInfoRefFunction: (skip)
37
+ * @object: object instance pointer
38
+ *
39
+ * Increases the reference count of an object instance.
40
+ *
41
+ * Returns: (transfer full): the object instance
42
+ * Since: 2.80
43
+ */
44
+ typedef void * (*GIObjectInfoRefFunction) (void *object);
45
+
46
+ /**
47
+ * GIObjectInfoUnrefFunction: (skip)
48
+ * @object: (transfer full): object instance pointer
49
+ *
50
+ * Decreases the reference count of an object instance.
51
+ *
52
+ * Since: 2.80
53
+ */
54
+ typedef void (*GIObjectInfoUnrefFunction) (void *object);
55
+
56
+ /**
57
+ * GIObjectInfoSetValueFunction: (skip)
58
+ * @value: a [type@GObject.Value]
59
+ * @object: object instance pointer
60
+ *
61
+ * Update @value and attach the object instance pointer @object to it.
62
+ *
63
+ * Since: 2.80
64
+ */
65
+ typedef void (*GIObjectInfoSetValueFunction) (GValue *value, void *object);
66
+
67
+ /**
68
+ * GIObjectInfoGetValueFunction: (skip)
69
+ * @value: a [type@GObject.Value]
70
+ *
71
+ * Extract an object instance out of @value.
72
+ *
73
+ * Returns: (transfer full): the object instance
74
+ * Since: 2.80
75
+ */
76
+ typedef void * (*GIObjectInfoGetValueFunction) (const GValue *value);
77
+
78
+ #define GI_TYPE_OBJECT_INFO (gi_object_info_get_type ())
79
+
80
+ /**
81
+ * GI_OBJECT_INFO:
82
+ * @info: Info object which is subject to casting.
83
+ *
84
+ * Casts a [type@GIRepository.ObjectInfo] or derived pointer into a
85
+ * `(GIObjectInfo*)` pointer.
86
+ *
87
+ * Depending on the current debugging level, this function may invoke
88
+ * certain runtime checks to identify invalid casts.
89
+ *
90
+ * Since: 2.80
91
+ */
92
+ #define GI_OBJECT_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_OBJECT_INFO, GIObjectInfo))
93
+
94
+ /**
95
+ * GI_IS_OBJECT_INFO:
96
+ * @info: an info structure
97
+ *
98
+ * Checks if @info is a [class@GIRepository.ObjectInfo] (or a derived type).
99
+ *
100
+ * Since: 2.80
101
+ */
102
+ #define GI_IS_OBJECT_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_OBJECT_INFO))
103
+
104
+
105
+ GI_AVAILABLE_IN_ALL
106
+ const char * gi_object_info_get_type_name (GIObjectInfo *info);
107
+
108
+ GI_AVAILABLE_IN_ALL
109
+ const char * gi_object_info_get_type_init_function_name (GIObjectInfo *info);
110
+
111
+ GI_AVAILABLE_IN_ALL
112
+ gboolean gi_object_info_get_abstract (GIObjectInfo *info);
113
+
114
+ GI_AVAILABLE_IN_ALL
115
+ gboolean gi_object_info_get_final (GIObjectInfo *info);
116
+
117
+ GI_AVAILABLE_IN_ALL
118
+ gboolean gi_object_info_get_fundamental (GIObjectInfo *info);
119
+
120
+ GI_AVAILABLE_IN_ALL
121
+ GIObjectInfo * gi_object_info_get_parent (GIObjectInfo *info);
122
+
123
+ GI_AVAILABLE_IN_ALL
124
+ unsigned int gi_object_info_get_n_interfaces (GIObjectInfo *info);
125
+
126
+ GI_AVAILABLE_IN_ALL
127
+ GIInterfaceInfo * gi_object_info_get_interface (GIObjectInfo *info,
128
+ unsigned int n);
129
+
130
+ GI_AVAILABLE_IN_ALL
131
+ unsigned int gi_object_info_get_n_fields (GIObjectInfo *info);
132
+
133
+ GI_AVAILABLE_IN_ALL
134
+ GIFieldInfo * gi_object_info_get_field (GIObjectInfo *info,
135
+ unsigned int n);
136
+
137
+ GI_AVAILABLE_IN_ALL
138
+ unsigned int gi_object_info_get_n_properties (GIObjectInfo *info);
139
+
140
+ GI_AVAILABLE_IN_ALL
141
+ GIPropertyInfo * gi_object_info_get_property (GIObjectInfo *info,
142
+ unsigned int n);
143
+
144
+ GI_AVAILABLE_IN_ALL
145
+ unsigned int gi_object_info_get_n_methods (GIObjectInfo *info);
146
+
147
+ GI_AVAILABLE_IN_ALL
148
+ GIFunctionInfo * gi_object_info_get_method (GIObjectInfo *info,
149
+ unsigned int n);
150
+
151
+ GI_AVAILABLE_IN_ALL
152
+ GIFunctionInfo * gi_object_info_find_method (GIObjectInfo *info,
153
+ const char *name);
154
+
155
+
156
+ GI_AVAILABLE_IN_ALL
157
+ GIFunctionInfo * gi_object_info_find_method_using_interfaces (GIObjectInfo *info,
158
+ const char *name,
159
+ GIBaseInfo **declarer);
160
+
161
+
162
+ GI_AVAILABLE_IN_ALL
163
+ unsigned int gi_object_info_get_n_signals (GIObjectInfo *info);
164
+
165
+ GI_AVAILABLE_IN_ALL
166
+ GISignalInfo * gi_object_info_get_signal (GIObjectInfo *info,
167
+ unsigned int n);
168
+
169
+
170
+ GI_AVAILABLE_IN_ALL
171
+ GISignalInfo * gi_object_info_find_signal (GIObjectInfo *info,
172
+ const char *name);
173
+
174
+
175
+ GI_AVAILABLE_IN_ALL
176
+ unsigned int gi_object_info_get_n_vfuncs (GIObjectInfo *info);
177
+
178
+ GI_AVAILABLE_IN_ALL
179
+ GIVFuncInfo * gi_object_info_get_vfunc (GIObjectInfo *info,
180
+ unsigned int n);
181
+
182
+ GI_AVAILABLE_IN_ALL
183
+ GIVFuncInfo * gi_object_info_find_vfunc (GIObjectInfo *info,
184
+ const char *name);
185
+
186
+ GI_AVAILABLE_IN_ALL
187
+ GIVFuncInfo * gi_object_info_find_vfunc_using_interfaces (GIObjectInfo *info,
188
+ const char *name,
189
+ GIBaseInfo **declarer);
190
+
191
+ GI_AVAILABLE_IN_ALL
192
+ unsigned int gi_object_info_get_n_constants (GIObjectInfo *info);
193
+
194
+ GI_AVAILABLE_IN_ALL
195
+ GIConstantInfo * gi_object_info_get_constant (GIObjectInfo *info,
196
+ unsigned int n);
197
+
198
+ GI_AVAILABLE_IN_ALL
199
+ GIStructInfo * gi_object_info_get_class_struct (GIObjectInfo *info);
200
+
201
+
202
+ GI_AVAILABLE_IN_ALL
203
+ const char * gi_object_info_get_ref_function_name (GIObjectInfo *info);
204
+
205
+ GI_AVAILABLE_IN_ALL
206
+ GIObjectInfoRefFunction gi_object_info_get_ref_function_pointer (GIObjectInfo *info);
207
+
208
+
209
+ GI_AVAILABLE_IN_ALL
210
+ const char * gi_object_info_get_unref_function_name (GIObjectInfo *info);
211
+
212
+ GI_AVAILABLE_IN_ALL
213
+ GIObjectInfoUnrefFunction gi_object_info_get_unref_function_pointer (GIObjectInfo *info);
214
+
215
+
216
+ GI_AVAILABLE_IN_ALL
217
+ const char * gi_object_info_get_set_value_function_name (GIObjectInfo *info);
218
+
219
+ GI_AVAILABLE_IN_ALL
220
+ GIObjectInfoSetValueFunction gi_object_info_get_set_value_function_pointer (GIObjectInfo *info);
221
+
222
+
223
+ GI_AVAILABLE_IN_ALL
224
+ const char * gi_object_info_get_get_value_function_name (GIObjectInfo *info);
225
+
226
+ GI_AVAILABLE_IN_ALL
227
+ GIObjectInfoGetValueFunction gi_object_info_get_get_value_function_pointer (GIObjectInfo *info);
228
+
229
+
230
+ G_END_DECLS
@@ -0,0 +1,77 @@
1
+ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2
+ * GObject introspection: Property
3
+ *
4
+ * Copyright (C) 2005 Matthias Clasen
5
+ * Copyright (C) 2008,2009 Red Hat, Inc.
6
+ *
7
+ * SPDX-License-Identifier: LGPL-2.1-or-later
8
+ *
9
+ * This library is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU Lesser General Public
11
+ * License as published by the Free Software Foundation; either
12
+ * version 2 of the License, or (at your option) any later version.
13
+ *
14
+ * This library is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ * Lesser General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU Lesser General Public
20
+ * License along with this library; if not, write to the
21
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22
+ * Boston, MA 02111-1307, USA.
23
+ */
24
+
25
+ #pragma once
26
+
27
+ #if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
28
+ #error "Only <girepository.h> can be included directly."
29
+ #endif
30
+
31
+ #include <girepository/gitypes.h>
32
+
33
+ G_BEGIN_DECLS
34
+
35
+ #define GI_TYPE_PROPERTY_INFO (gi_property_info_get_type ())
36
+
37
+ /**
38
+ * GI_PROPERTY_INFO:
39
+ * @info: Info object which is subject to casting.
40
+ *
41
+ * Casts a [type@GIRepository.PropertyInfo] or derived pointer into a
42
+ * `(GIPropertyInfo*)` pointer.
43
+ *
44
+ * Depending on the current debugging level, this function may invoke
45
+ * certain runtime checks to identify invalid casts.
46
+ *
47
+ * Since: 2.80
48
+ */
49
+ #define GI_PROPERTY_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_PROPERTY_INFO, GIPropertyInfo))
50
+
51
+ /**
52
+ * GI_IS_PROPERTY_INFO:
53
+ * @info: an info structure
54
+ *
55
+ * Checks if @info is a [class@GIRepository.PropertyInfo] (or a derived type).
56
+ *
57
+ * Since: 2.80
58
+ */
59
+ #define GI_IS_PROPERTY_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_PROPERTY_INFO))
60
+
61
+
62
+ GI_AVAILABLE_IN_ALL
63
+ GParamFlags gi_property_info_get_flags (GIPropertyInfo *info);
64
+
65
+ GI_AVAILABLE_IN_ALL
66
+ GITypeInfo *gi_property_info_get_type_info (GIPropertyInfo *info);
67
+
68
+ GI_AVAILABLE_IN_ALL
69
+ GITransfer gi_property_info_get_ownership_transfer (GIPropertyInfo *info);
70
+
71
+ GI_AVAILABLE_IN_ALL
72
+ GIFunctionInfo *gi_property_info_get_setter (GIPropertyInfo *info);
73
+
74
+ GI_AVAILABLE_IN_ALL
75
+ GIFunctionInfo *gi_property_info_get_getter (GIPropertyInfo *info);
76
+
77
+ G_END_DECLS
@@ -0,0 +1,75 @@
1
+ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2
+ * GObject introspection: Registered Type
3
+ *
4
+ * Copyright (C) 2005 Matthias Clasen
5
+ * Copyright (C) 2008,2009 Red Hat, Inc.
6
+ *
7
+ * SPDX-License-Identifier: LGPL-2.1-or-later
8
+ *
9
+ * This library is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU Lesser General Public
11
+ * License as published by the Free Software Foundation; either
12
+ * version 2 of the License, or (at your option) any later version.
13
+ *
14
+ * This library is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ * Lesser General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU Lesser General Public
20
+ * License along with this library; if not, write to the
21
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22
+ * Boston, MA 02111-1307, USA.
23
+ */
24
+
25
+ #pragma once
26
+
27
+ #if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
28
+ #error "Only <girepository.h> can be included directly."
29
+ #endif
30
+
31
+ #include <glib-object.h>
32
+ #include <girepository/gitypes.h>
33
+
34
+ G_BEGIN_DECLS
35
+
36
+ #define GI_TYPE_REGISTERED_TYPE_INFO (gi_registered_type_info_get_type ())
37
+
38
+ /**
39
+ * GI_REGISTERED_TYPE_INFO:
40
+ * @info: Info object which is subject to casting.
41
+ *
42
+ * Casts a [type@GIRepository.RegisteredTypeInfo] or derived pointer into a
43
+ * `(GIRegisteredTypeInfo*)` pointer.
44
+ *
45
+ * Depending on the current debugging level, this function may invoke
46
+ * certain runtime checks to identify invalid casts.
47
+ *
48
+ * Since: 2.80
49
+ */
50
+ #define GI_REGISTERED_TYPE_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_REGISTERED_TYPE_INFO, GIRegisteredTypeInfo))
51
+
52
+ /**
53
+ * GI_IS_REGISTERED_TYPE_INFO:
54
+ * @info: an info structure
55
+ *
56
+ * Checks if @info is a [class@GIRepository.RegisteredTypeInfo] or derived from
57
+ * it.
58
+ *
59
+ * Since: 2.80
60
+ */
61
+ #define GI_IS_REGISTERED_TYPE_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_REGISTERED_TYPE_INFO))
62
+
63
+ GI_AVAILABLE_IN_ALL
64
+ const char * gi_registered_type_info_get_type_name (GIRegisteredTypeInfo *info);
65
+
66
+ GI_AVAILABLE_IN_ALL
67
+ const char * gi_registered_type_info_get_type_init_function_name (GIRegisteredTypeInfo *info);
68
+
69
+ GI_AVAILABLE_IN_ALL
70
+ GType gi_registered_type_info_get_g_type (GIRegisteredTypeInfo *info);
71
+
72
+ GI_AVAILABLE_IN_ALL
73
+ gboolean gi_registered_type_info_is_boxed (GIRegisteredTypeInfo *info);
74
+
75
+ G_END_DECLS