@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,56 @@
1
+ /*
2
+ * Copyright 2024 GNOME Foundation, Inc.
3
+ *
4
+ * SPDX-License-Identifier: LGPL-2.1-or-later
5
+ *
6
+ * This library is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU Lesser General Public
8
+ * License as published by the Free Software Foundation; either
9
+ * version 2.1 of the License, or (at your option) any later version.
10
+ *
11
+ * This library is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
+ * Lesser General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General
17
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
18
+ *
19
+ * Author: Philip Withnall <pwithnall@gnome.org>
20
+ */
21
+
22
+ #if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
23
+ #error "Only <girepository.h> can be included directly."
24
+ #endif
25
+
26
+ #ifndef __GI_SCANNER__
27
+
28
+ /* GIRepository already has its cleanups defined by G_DECLARE_FINAL_TYPE */
29
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GITypelib, gi_typelib_unref)
30
+
31
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIBaseInfo, gi_base_info_unref)
32
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIArgInfo, gi_base_info_unref)
33
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GICallableInfo, gi_base_info_unref)
34
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GICallbackInfo, gi_base_info_unref)
35
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIConstantInfo, gi_base_info_unref)
36
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIEnumInfo, gi_base_info_unref)
37
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIFieldInfo, gi_base_info_unref)
38
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIFlagsInfo, gi_base_info_unref)
39
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIFunctionInfo, gi_base_info_unref)
40
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIInterfaceInfo, gi_base_info_unref)
41
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIObjectInfo, gi_base_info_unref)
42
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIPropertyInfo, gi_base_info_unref)
43
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIRegisteredTypeInfo, gi_base_info_unref)
44
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GISignalInfo, gi_base_info_unref)
45
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIStructInfo, gi_base_info_unref)
46
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GITypeInfo, gi_base_info_unref)
47
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIUnionInfo, gi_base_info_unref)
48
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIUnresolvedInfo, gi_base_info_unref)
49
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIValueInfo, gi_base_info_unref)
50
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIVFuncInfo, gi_base_info_unref)
51
+
52
+ /* These types can additionally be stack allocated and cleared */
53
+ G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (GIArgInfo, gi_base_info_clear)
54
+ G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (GITypeInfo, gi_base_info_clear)
55
+
56
+ #endif /* __GI_SCANNER__ */
@@ -0,0 +1,247 @@
1
+ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2
+ * GObject introspection: Repository
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
+ #include <glib-object.h>
28
+ #include <gmodule.h>
29
+
30
+ #include <girepository/gi-visibility.h>
31
+
32
+ #define __GIREPOSITORY_H_INSIDE__
33
+
34
+ #include <girepository/giarginfo.h>
35
+ #include <girepository/gibaseinfo.h>
36
+ #include <girepository/gicallableinfo.h>
37
+ #include <girepository/gicallbackinfo.h>
38
+ #include <girepository/giconstantinfo.h>
39
+ #include <girepository/gienuminfo.h>
40
+ #include <girepository/gifieldinfo.h>
41
+ #include <girepository/giflagsinfo.h>
42
+ #include <girepository/gifunctioninfo.h>
43
+ #include <girepository/giinterfaceinfo.h>
44
+ #include <girepository/giobjectinfo.h>
45
+ #include <girepository/gipropertyinfo.h>
46
+ #include <girepository/giregisteredtypeinfo.h>
47
+ #include <girepository/gisignalinfo.h>
48
+ #include <girepository/gistructinfo.h>
49
+ #include <girepository/gitypeinfo.h>
50
+ #include <girepository/gitypelib.h>
51
+ #include <girepository/gitypes.h>
52
+ #include <girepository/giunioninfo.h>
53
+ #include <girepository/giunresolvedinfo.h>
54
+ #include <girepository/givalueinfo.h>
55
+ #include <girepository/givfuncinfo.h>
56
+
57
+ G_BEGIN_DECLS
58
+
59
+ #define GI_TYPE_REPOSITORY (gi_repository_get_type ())
60
+ GI_AVAILABLE_IN_ALL
61
+ G_DECLARE_FINAL_TYPE (GIRepository, gi_repository, GI, REPOSITORY, GObject)
62
+
63
+ /**
64
+ * GIRepositoryLoadFlags:
65
+ * @GI_REPOSITORY_LOAD_FLAG_NONE: No flags set.
66
+ * @GI_REPOSITORY_LOAD_FLAG_LAZY: Lazily load the typelib.
67
+ *
68
+ * Flags that control how a typelib is loaded.
69
+ *
70
+ * Since: 2.80
71
+ */
72
+ typedef enum
73
+ {
74
+ GI_REPOSITORY_LOAD_FLAG_NONE = 0,
75
+ GI_REPOSITORY_LOAD_FLAG_LAZY = 1 << 0
76
+ } GIRepositoryLoadFlags;
77
+
78
+ /* Repository */
79
+
80
+ GI_AVAILABLE_IN_ALL
81
+ GIRepository *gi_repository_new (void);
82
+
83
+ GI_AVAILABLE_IN_ALL
84
+ void gi_repository_prepend_search_path (GIRepository *repository,
85
+ const char *directory);
86
+
87
+ GI_AVAILABLE_IN_ALL
88
+ void gi_repository_prepend_library_path (GIRepository *repository,
89
+ const char *directory);
90
+
91
+ GI_AVAILABLE_IN_ALL
92
+ const char * const * gi_repository_get_search_path (GIRepository *repository,
93
+ size_t *n_paths_out);
94
+
95
+ GI_AVAILABLE_IN_ALL
96
+ const char * const *gi_repository_get_library_path (GIRepository *repository,
97
+ size_t *n_paths_out);
98
+
99
+ GI_AVAILABLE_IN_ALL
100
+ const char * gi_repository_load_typelib (GIRepository *repository,
101
+ GITypelib *typelib,
102
+ GIRepositoryLoadFlags flags,
103
+ GError **error);
104
+
105
+ GI_AVAILABLE_IN_ALL
106
+ gboolean gi_repository_is_registered (GIRepository *repository,
107
+ const char *namespace_,
108
+ const char *version);
109
+
110
+ GI_AVAILABLE_IN_ALL
111
+ GIBaseInfo * gi_repository_find_by_name (GIRepository *repository,
112
+ const char *namespace_,
113
+ const char *name);
114
+
115
+ GI_AVAILABLE_IN_ALL
116
+ char ** gi_repository_enumerate_versions (GIRepository *repository,
117
+ const char *namespace_,
118
+ size_t *n_versions_out);
119
+
120
+ GI_AVAILABLE_IN_ALL
121
+ GITypelib * gi_repository_require (GIRepository *repository,
122
+ const char *namespace_,
123
+ const char *version,
124
+ GIRepositoryLoadFlags flags,
125
+ GError **error);
126
+
127
+ GI_AVAILABLE_IN_ALL
128
+ GITypelib * gi_repository_require_private (GIRepository *repository,
129
+ const char *typelib_dir,
130
+ const char *namespace_,
131
+ const char *version,
132
+ GIRepositoryLoadFlags flags,
133
+ GError **error);
134
+
135
+ GI_AVAILABLE_IN_ALL
136
+ char ** gi_repository_get_immediate_dependencies (GIRepository *repository,
137
+ const char *namespace_,
138
+ size_t *n_dependencies_out);
139
+
140
+ GI_AVAILABLE_IN_ALL
141
+ char ** gi_repository_get_dependencies (GIRepository *repository,
142
+ const char *namespace_,
143
+ size_t *n_dependencies_out);
144
+
145
+ GI_AVAILABLE_IN_ALL
146
+ char ** gi_repository_get_loaded_namespaces (GIRepository *repository,
147
+ size_t *n_namespaces_out);
148
+
149
+ GI_AVAILABLE_IN_ALL
150
+ GIBaseInfo * gi_repository_find_by_gtype (GIRepository *repository,
151
+ GType gtype);
152
+
153
+ GI_AVAILABLE_IN_ALL
154
+ void gi_repository_get_object_gtype_interfaces (GIRepository *repository,
155
+ GType gtype,
156
+ size_t *n_interfaces_out,
157
+ GIInterfaceInfo ***interfaces_out);
158
+
159
+ GI_AVAILABLE_IN_ALL
160
+ unsigned int gi_repository_get_n_infos (GIRepository *repository,
161
+ const char *namespace_);
162
+
163
+ GI_AVAILABLE_IN_ALL
164
+ GIBaseInfo * gi_repository_get_info (GIRepository *repository,
165
+ const char *namespace_,
166
+ unsigned int idx);
167
+
168
+ GI_AVAILABLE_IN_ALL
169
+ GIEnumInfo * gi_repository_find_by_error_domain (GIRepository *repository,
170
+ GQuark domain);
171
+
172
+ GI_AVAILABLE_IN_ALL
173
+ const char * gi_repository_get_typelib_path (GIRepository *repository,
174
+ const char *namespace_);
175
+ GI_AVAILABLE_IN_ALL
176
+ const char * const *gi_repository_get_shared_libraries (GIRepository *repository,
177
+ const char *namespace_,
178
+ size_t *out_n_elements);
179
+ GI_AVAILABLE_IN_ALL
180
+ const char * gi_repository_get_c_prefix (GIRepository *repository,
181
+ const char *namespace_);
182
+ GI_AVAILABLE_IN_ALL
183
+ const char * gi_repository_get_version (GIRepository *repository,
184
+ const char *namespace_);
185
+
186
+
187
+ GI_AVAILABLE_IN_ALL
188
+ GOptionGroup * gi_repository_get_option_group (void);
189
+
190
+
191
+ GI_AVAILABLE_IN_ALL
192
+ gboolean gi_repository_dump (const char *input_filename,
193
+ const char *output_filename,
194
+ GError **error);
195
+
196
+ /**
197
+ * GIRepositoryError:
198
+ * @GI_REPOSITORY_ERROR_TYPELIB_NOT_FOUND: the typelib could not be found.
199
+ * @GI_REPOSITORY_ERROR_NAMESPACE_MISMATCH: the namespace does not match the
200
+ * requested namespace.
201
+ * @GI_REPOSITORY_ERROR_NAMESPACE_VERSION_CONFLICT: the version of the
202
+ * typelib does not match the requested version.
203
+ * @GI_REPOSITORY_ERROR_LIBRARY_NOT_FOUND: the library used by the typelib
204
+ * could not be found.
205
+ *
206
+ * An error code used with `GI_REPOSITORY_ERROR` in a [type@GLib.Error]
207
+ * returned from a [class@GIRepository.Repository] routine.
208
+ *
209
+ * Since: 2.80
210
+ */
211
+ typedef enum
212
+ {
213
+ GI_REPOSITORY_ERROR_TYPELIB_NOT_FOUND,
214
+ GI_REPOSITORY_ERROR_NAMESPACE_MISMATCH,
215
+ GI_REPOSITORY_ERROR_NAMESPACE_VERSION_CONFLICT,
216
+ GI_REPOSITORY_ERROR_LIBRARY_NOT_FOUND
217
+ } GIRepositoryError;
218
+
219
+ /**
220
+ * GI_REPOSITORY_ERROR:
221
+ *
222
+ * Error domain for [class@GIRepository.Repository].
223
+ *
224
+ * Errors in this domain will be from the [enum@GIRepository.Error] enumeration.
225
+ * See [type@GLib.Error] for more information on error domains.
226
+ *
227
+ * Since: 2.80
228
+ */
229
+ #define GI_REPOSITORY_ERROR (gi_repository_error_quark ())
230
+
231
+ GI_AVAILABLE_IN_ALL
232
+ GQuark gi_repository_error_quark (void);
233
+
234
+
235
+ /* Global utility functions */
236
+
237
+ GI_AVAILABLE_IN_ALL
238
+ void gi_cclosure_marshal_generic (GClosure *closure,
239
+ GValue *return_gvalue,
240
+ unsigned int n_param_values,
241
+ const GValue *param_values,
242
+ void *invocation_hint,
243
+ void *marshal_data);
244
+
245
+ #include <girepository/girepository-autocleanups.h>
246
+
247
+ G_END_DECLS
@@ -0,0 +1,129 @@
1
+ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2
+ * GObject introspection: Helper functions for ffi integration
3
+ *
4
+ * Copyright (C) 2008 Red Hat, 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 <ffi.h>
31
+ #include "girepository.h"
32
+
33
+ G_BEGIN_DECLS
34
+
35
+ /**
36
+ * GIFFIClosureCallback:
37
+ * @cif: the `ffi_cif` passed to
38
+ * [method@GIRepository.CallableInfo.create_closure]
39
+ * @ret: (out caller-allocates): a pointer to the memory used for the function’s
40
+ * return value
41
+ * @args: a vector of pointers to memory holding the arguments to the function
42
+ * @user_data: the user data passed to
43
+ * [method@GIRepository.CallableInfo.create_closure]
44
+ *
45
+ * The function which will be called when a closure created with
46
+ * [method@GIRepository.CallableInfo.create_closure] is invoked.
47
+ *
48
+ * The value of @ret is undefined if the function returns `void`.
49
+ *
50
+ * Since: 2.80
51
+ */
52
+ typedef void (*GIFFIClosureCallback) (ffi_cif *cif,
53
+ void *ret,
54
+ void **args,
55
+ void *user_data);
56
+
57
+ /**
58
+ * GIFunctionInvoker:
59
+ * @cif: the cif
60
+ * @native_address: the native address
61
+ *
62
+ * Structure containing the data necessary to invoke a callable function.
63
+ *
64
+ * Since: 2.80
65
+ */
66
+ typedef struct {
67
+ ffi_cif cif;
68
+ void *native_address;
69
+ /*< private >*/
70
+ void *padding[3];
71
+ } GIFunctionInvoker;
72
+
73
+ /**
74
+ * GIFFIReturnValue:
75
+ *
76
+ * The type of a return value from a callable invocation closure.
77
+ *
78
+ * Since: 2.80
79
+ */
80
+ typedef GIArgument GIFFIReturnValue;
81
+
82
+ GI_AVAILABLE_IN_ALL
83
+ ffi_type * gi_type_tag_get_ffi_type (GITypeTag type_tag, gboolean is_pointer);
84
+
85
+ GI_AVAILABLE_IN_ALL
86
+ ffi_type * gi_type_info_get_ffi_type (GITypeInfo *info);
87
+
88
+ GI_AVAILABLE_IN_ALL
89
+ void gi_type_info_extract_ffi_return_value (GITypeInfo *return_info,
90
+ GIFFIReturnValue *ffi_value,
91
+ GIArgument *arg);
92
+
93
+ GI_AVAILABLE_IN_ALL
94
+ void gi_type_tag_extract_ffi_return_value (GITypeTag return_tag,
95
+ GType interface_type,
96
+ GIFFIReturnValue *ffi_value,
97
+ GIArgument *arg);
98
+
99
+ GI_AVAILABLE_IN_ALL
100
+ gboolean gi_function_info_prep_invoker (GIFunctionInfo *info,
101
+ GIFunctionInvoker *invoker,
102
+ GError **error);
103
+
104
+ GI_AVAILABLE_IN_ALL
105
+ gboolean gi_function_invoker_new_for_address (void *addr,
106
+ GICallableInfo *info,
107
+ GIFunctionInvoker *invoker,
108
+ GError **error);
109
+
110
+ GI_AVAILABLE_IN_ALL
111
+ void gi_function_invoker_clear (GIFunctionInvoker *invoker);
112
+
113
+ G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (GIFunctionInvoker, gi_function_invoker_clear)
114
+
115
+ GI_AVAILABLE_IN_ALL
116
+ ffi_closure * gi_callable_info_create_closure (GICallableInfo *callable_info,
117
+ ffi_cif *cif,
118
+ GIFFIClosureCallback callback,
119
+ void *user_data);
120
+
121
+ GI_AVAILABLE_IN_ALL
122
+ void ** gi_callable_info_get_closure_native_address (GICallableInfo *callable_info,
123
+ ffi_closure *closure);
124
+
125
+ GI_AVAILABLE_IN_ALL
126
+ void gi_callable_info_destroy_closure (GICallableInfo *callable_info,
127
+ ffi_closure *closure);
128
+
129
+ G_END_DECLS
@@ -0,0 +1,72 @@
1
+ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2
+ * GObject introspection: Signal
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_SIGNAL_INFO (gi_signal_info_get_type ())
37
+
38
+ /**
39
+ * GI_SIGNAL_INFO:
40
+ * @info: Info object which is subject to casting.
41
+ *
42
+ * Casts a [type@GIRepository.SignalInfo] or derived pointer into a
43
+ * `(GISignalInfo*)` 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_SIGNAL_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_SIGNAL_INFO, GISignalInfo))
51
+
52
+ /**
53
+ * GI_IS_SIGNAL_INFO:
54
+ * @info: an info structure
55
+ *
56
+ * Checks if @info is a [class@GIRepository.SignalInfo] (or a derived type).
57
+ *
58
+ * Since: 2.80
59
+ */
60
+ #define GI_IS_SIGNAL_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_SIGNAL_INFO))
61
+
62
+
63
+ GI_AVAILABLE_IN_ALL
64
+ GSignalFlags gi_signal_info_get_flags (GISignalInfo *info);
65
+
66
+ GI_AVAILABLE_IN_ALL
67
+ GIVFuncInfo * gi_signal_info_get_class_closure (GISignalInfo *info);
68
+
69
+ GI_AVAILABLE_IN_ALL
70
+ gboolean gi_signal_info_true_stops_emit (GISignalInfo *info);
71
+
72
+ G_END_DECLS
@@ -0,0 +1,102 @@
1
+ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2
+ * GObject introspection: Struct
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_STRUCT_INFO (gi_struct_info_get_type ())
36
+
37
+ /**
38
+ * GI_STRUCT_INFO:
39
+ * @info: Info object which is subject to casting.
40
+ *
41
+ * Casts a [type@GIRepository.StructInfo] or derived pointer into a
42
+ * `(GIStructInfo*)` 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_STRUCT_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_STRUCT_INFO, GIStructInfo))
50
+
51
+ /**
52
+ * GI_IS_STRUCT_INFO:
53
+ * @info: an info structure
54
+ *
55
+ * Checks if @info is a [class@GIRepository.StructInfo] (or a derived type).
56
+ *
57
+ * Since: 2.80
58
+ */
59
+ #define GI_IS_STRUCT_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_STRUCT_INFO))
60
+
61
+
62
+ GI_AVAILABLE_IN_ALL
63
+ unsigned int gi_struct_info_get_n_fields (GIStructInfo *info);
64
+
65
+ GI_AVAILABLE_IN_ALL
66
+ GIFieldInfo * gi_struct_info_get_field (GIStructInfo *info,
67
+ unsigned int n);
68
+
69
+ GI_AVAILABLE_IN_ALL
70
+ GIFieldInfo * gi_struct_info_find_field (GIStructInfo *info,
71
+ const char *name);
72
+
73
+ GI_AVAILABLE_IN_ALL
74
+ unsigned int gi_struct_info_get_n_methods (GIStructInfo *info);
75
+
76
+ GI_AVAILABLE_IN_ALL
77
+ GIFunctionInfo * gi_struct_info_get_method (GIStructInfo *info,
78
+ unsigned int n);
79
+
80
+ GI_AVAILABLE_IN_ALL
81
+ GIFunctionInfo * gi_struct_info_find_method (GIStructInfo *info,
82
+ const char *name);
83
+
84
+ GI_AVAILABLE_IN_ALL
85
+ size_t gi_struct_info_get_size (GIStructInfo *info);
86
+
87
+ GI_AVAILABLE_IN_ALL
88
+ size_t gi_struct_info_get_alignment (GIStructInfo *info);
89
+
90
+ GI_AVAILABLE_IN_ALL
91
+ gboolean gi_struct_info_is_gtype_struct (GIStructInfo *info);
92
+
93
+ GI_AVAILABLE_IN_ALL
94
+ gboolean gi_struct_info_is_foreign (GIStructInfo *info);
95
+
96
+ GI_AVAILABLE_IN_ALL
97
+ const char * gi_struct_info_get_copy_function_name (GIStructInfo *info);
98
+
99
+ GI_AVAILABLE_IN_ALL
100
+ const char * gi_struct_info_get_free_function_name (GIStructInfo *info);
101
+
102
+ G_END_DECLS