@img/sharp-libvips-dev 0.0.3 → 1.0.1
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.
- package/include/aom/aom_encoder.h +3 -3
- package/include/aom/aomcx.h +17 -8
- package/include/fontconfig/fontconfig.h +5 -3
- package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +0 -5
- package/include/gio-unix-2.0/gio/gunixinputstream.h +0 -5
- package/include/gio-unix-2.0/gio/gunixoutputstream.h +0 -5
- package/include/glib-2.0/gio/gappinfo.h +0 -7
- package/include/glib-2.0/gio/gapplicationcommandline.h +12 -1
- package/include/glib-2.0/gio/gasyncinitable.h +0 -7
- package/include/glib-2.0/gio/gasyncresult.h +0 -6
- package/include/glib-2.0/gio/gbufferedinputstream.h +0 -5
- package/include/glib-2.0/gio/gbufferedoutputstream.h +0 -5
- package/include/glib-2.0/gio/gbytesicon.h +0 -5
- package/include/glib-2.0/gio/gcancellable.h +0 -5
- package/include/glib-2.0/gio/gconverter.h +0 -7
- package/include/glib-2.0/gio/gconverterinputstream.h +0 -6
- package/include/glib-2.0/gio/gconverteroutputstream.h +0 -6
- package/include/glib-2.0/gio/gdatagrambased.h +0 -7
- package/include/glib-2.0/gio/gdatainputstream.h +0 -6
- package/include/glib-2.0/gio/gdataoutputstream.h +0 -6
- package/include/glib-2.0/gio/gdbusinterface.h +0 -8
- package/include/glib-2.0/gio/gdbusinterfaceskeleton.h +0 -8
- package/include/glib-2.0/gio/gdbusmessage.h +2 -1
- package/include/glib-2.0/gio/gdbusobjectmanagerclient.h +0 -8
- package/include/glib-2.0/gio/gdbusobjectmanagerserver.h +0 -8
- package/include/glib-2.0/gio/gdbusobjectproxy.h +0 -8
- package/include/glib-2.0/gio/gdbusobjectskeleton.h +0 -8
- package/include/glib-2.0/gio/gdbusproxy.h +0 -8
- package/include/glib-2.0/gio/gdebugcontroller.h +0 -8
- package/include/glib-2.0/gio/gdebugcontrollerdbus.h +0 -7
- package/include/glib-2.0/gio/gdtlsserverconnection.h +0 -8
- package/include/glib-2.0/gio/gemblem.h +0 -5
- package/include/glib-2.0/gio/gemblemedicon.h +0 -5
- package/include/glib-2.0/gio/gfile.h +0 -10
- package/include/glib-2.0/gio/gfileenumerator.h +0 -5
- package/include/glib-2.0/gio/gfileicon.h +0 -5
- package/include/glib-2.0/gio/gfileinfo.h +0 -5
- package/include/glib-2.0/gio/gfileinputstream.h +0 -8
- package/include/glib-2.0/gio/gfileiostream.h +0 -8
- package/include/glib-2.0/gio/gfilemonitor.h +0 -5
- package/include/glib-2.0/gio/gfilenamecompleter.h +0 -5
- package/include/glib-2.0/gio/gfileoutputstream.h +0 -8
- package/include/glib-2.0/gio/gfilterinputstream.h +0 -5
- package/include/glib-2.0/gio/gfilteroutputstream.h +0 -5
- package/include/glib-2.0/gio/gicon.h +0 -5
- package/include/glib-2.0/gio/ginitable.h +0 -7
- package/include/glib-2.0/gio/ginputstream.h +0 -5
- package/include/glib-2.0/gio/gio-autocleanups.h +4 -0
- package/include/glib-2.0/gio/gio-visibility.h +34 -0
- package/include/glib-2.0/gio/gioenums.h +6 -1
- package/include/glib-2.0/gio/giomodule.h +0 -5
- package/include/glib-2.0/gio/giostream.h +0 -5
- package/include/glib-2.0/gio/giotypes.h +5 -107
- package/include/glib-2.0/gio/gloadableicon.h +0 -6
- package/include/glib-2.0/gio/gmemoryinputstream.h +0 -5
- package/include/glib-2.0/gio/gmemoryoutputstream.h +0 -5
- package/include/glib-2.0/gio/gmountoperation.h +0 -6
- package/include/glib-2.0/gio/gnetworking.h +4 -0
- package/include/glib-2.0/gio/goutputstream.h +0 -9
- package/include/glib-2.0/gio/gpollableinputstream.h +0 -7
- package/include/glib-2.0/gio/gpollableoutputstream.h +0 -7
- package/include/glib-2.0/gio/gproxy.h +0 -7
- package/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -8
- package/include/glib-2.0/gio/gseekable.h +0 -5
- package/include/glib-2.0/gio/gsettingsbackend.h +0 -5
- package/include/glib-2.0/gio/gsimpleactiongroup.h +0 -7
- package/include/glib-2.0/gio/gsimpleasyncresult.h +0 -5
- package/include/glib-2.0/gio/gsimpleproxyresolver.h +0 -5
- package/include/glib-2.0/gio/gsocket.h +13 -0
- package/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -6
- package/include/glib-2.0/gio/gsocketconnectable.h +0 -5
- package/include/glib-2.0/gio/gtask.h +12 -0
- package/include/glib-2.0/gio/gthemedicon.h +0 -5
- package/include/glib-2.0/gio/gtlsserverconnection.h +0 -8
- package/include/glib-2.0/gio/gunixcredentialsmessage.h +0 -8
- package/include/glib-2.0/gio/gvfs.h +0 -5
- package/include/glib-2.0/gio/gvolume.h +2 -2
- package/include/glib-2.0/gio/gvolumemonitor.h +0 -5
- package/include/glib-2.0/girepository/gi-visibility.h +986 -0
- package/include/glib-2.0/girepository/giarginfo.h +83 -0
- package/include/glib-2.0/girepository/gibaseinfo.h +103 -0
- package/include/glib-2.0/girepository/gicallableinfo.h +109 -0
- package/include/glib-2.0/girepository/gicallbackinfo.h +45 -0
- package/include/glib-2.0/girepository/giconstantinfo.h +57 -0
- package/include/glib-2.0/girepository/gienuminfo.h +83 -0
- package/include/glib-2.0/girepository/gifieldinfo.h +69 -0
- package/include/glib-2.0/girepository/gifunctioninfo.h +102 -0
- package/include/glib-2.0/girepository/giinterfaceinfo.h +105 -0
- package/include/glib-2.0/girepository/giobjectinfo.h +215 -0
- package/include/glib-2.0/girepository/gipropertyinfo.h +62 -0
- package/include/glib-2.0/girepository/giregisteredtypeinfo.h +64 -0
- package/include/glib-2.0/girepository/girepository.h +256 -0
- package/include/glib-2.0/girepository/girffi.h +128 -0
- package/include/glib-2.0/girepository/gisignalinfo.h +57 -0
- package/include/glib-2.0/girepository/gistructinfo.h +87 -0
- package/include/glib-2.0/girepository/gitypeinfo.h +131 -0
- package/include/glib-2.0/girepository/gitypelib.h +65 -0
- package/include/glib-2.0/girepository/gitypes.h +473 -0
- package/include/glib-2.0/girepository/giunioninfo.h +89 -0
- package/include/glib-2.0/girepository/giunresolvedinfo.h +45 -0
- package/include/glib-2.0/girepository/givfuncinfo.h +73 -0
- package/include/glib-2.0/glib/deprecated/gcompletion.h +1 -1
- package/include/glib-2.0/glib/deprecated/grel.h +0 -23
- package/include/glib-2.0/glib/deprecated/gthread.h +1 -1
- package/include/glib-2.0/glib/gatomic.h +20 -20
- package/include/glib-2.0/glib/gbookmarkfile.h +39 -1
- package/include/glib-2.0/glib/gchecksum.h +0 -10
- package/include/glib-2.0/glib/gdate.h +0 -9
- package/include/glib-2.0/glib/gdatetime.h +33 -1
- package/include/glib-2.0/glib/gdir.h +5 -0
- package/include/glib-2.0/glib/ghmac.h +0 -9
- package/include/glib-2.0/glib/glib-autocleanups.h +4 -0
- package/include/glib-2.0/glib/glib-visibility.h +34 -0
- package/include/glib-2.0/glib/gmacros.h +1 -0
- package/include/glib-2.0/glib/gmessages.h +3 -0
- package/include/glib-2.0/glib/gpathbuf.h +0 -7
- package/include/glib-2.0/glib/gstdio.h +1 -1
- package/include/glib-2.0/glib/gstrvbuilder.h +4 -8
- package/include/glib-2.0/glib/gtestutils.h +5 -0
- package/include/glib-2.0/glib/gthread.h +25 -0
- package/include/glib-2.0/glib/gunicode.h +12 -2
- package/include/glib-2.0/glib/gvarianttype.h +1 -10
- package/include/glib-2.0/glib/gversionmacros.h +9 -0
- package/include/glib-2.0/glib/gwin32.h +4 -4
- package/include/glib-2.0/glib-unix.h +208 -0
- package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gobject/gbinding.h +0 -8
- package/include/glib-2.0/gobject/gbindinggroup.h +0 -8
- package/include/glib-2.0/gobject/gclosure.h +1 -9
- package/include/glib-2.0/gobject/glib-types.h +33 -0
- package/include/glib-2.0/gobject/gobject-autocleanups.h +4 -0
- package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobject.h +1 -16
- package/include/glib-2.0/gobject/gparam.h +3 -12
- package/include/glib-2.0/gobject/gsignal.h +1 -1
- package/include/glib-2.0/gobject/gsignalgroup.h +0 -8
- package/include/glib-2.0/gobject/gtype.h +53 -20
- package/include/glib-2.0/gobject/gtypemodule.h +0 -7
- package/include/glib-2.0/gobject/gtypeplugin.h +0 -6
- package/include/glib-2.0/gobject/gvaluearray.h +0 -7
- package/include/glib-2.0/gobject/gvaluecollector.h +1 -11
- package/include/glib-2.0/gobject/gvaluetypes.h +2 -0
- package/include/harfbuzz/hb-aat-layout.h +2 -2
- package/include/harfbuzz/hb-deprecated.h +10 -1
- package/include/harfbuzz/hb-subset.h +6 -0
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/lcms2.h +46 -7
- package/include/lcms2_plugin.h +4 -4
- package/include/libheif/heif_version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/libxml2/libxml/HTMLparser.h +23 -0
- package/include/libxml2/libxml/SAX.h +0 -2
- package/include/libxml2/libxml/SAX2.h +0 -2
- package/include/libxml2/libxml/c14n.h +0 -2
- package/include/libxml2/libxml/dict.h +1 -0
- package/include/libxml2/libxml/encoding.h +16 -14
- package/include/libxml2/libxml/entities.h +4 -0
- package/include/libxml2/libxml/globals.h +15 -503
- package/include/libxml2/libxml/hash.h +57 -61
- package/include/libxml2/libxml/nanoftp.h +2 -2
- package/include/libxml2/libxml/parser.h +128 -18
- package/include/libxml2/libxml/parserInternals.h +1 -0
- package/include/libxml2/libxml/relaxng.h +2 -1
- package/include/libxml2/libxml/schemasInternals.h +1 -0
- package/include/libxml2/libxml/schematron.h +1 -0
- package/include/libxml2/libxml/threads.h +4 -11
- package/include/libxml2/libxml/tree.h +68 -20
- package/include/libxml2/libxml/uri.h +2 -1
- package/include/libxml2/libxml/valid.h +2 -0
- package/include/libxml2/libxml/xmlIO.h +65 -12
- package/include/libxml2/libxml/xmlerror.h +37 -8
- package/include/libxml2/libxml/xmlmemory.h +37 -40
- package/include/libxml2/libxml/xmlreader.h +6 -0
- package/include/libxml2/libxml/xmlregexp.h +2 -9
- package/include/libxml2/libxml/xmlsave.h +9 -0
- package/include/libxml2/libxml/xmlschemas.h +3 -0
- package/include/libxml2/libxml/xmlversion.h +28 -43
- package/include/libxml2/libxml/xpath.h +1 -1
- package/include/libxml2/libxml/xpathInternals.h +2 -1
- package/include/libxml2/libxml/xpointer.h +5 -4
- package/include/pixman-1/pixman-version.h +3 -3
- package/include/pixman-1/pixman.h +9 -2
- package/include/vips/version.h +4 -4
- package/include/zconf.h +3 -0
- package/include/zlib.h +3 -3
- package/package.json +1 -1
- package/versions.json +11 -11
|
@@ -0,0 +1,105 @@
|
|
|
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
|
+
/**
|
|
36
|
+
* GI_IS_INTERFACE_INFO:
|
|
37
|
+
* @info: an info structure
|
|
38
|
+
*
|
|
39
|
+
* Checks if @info is a [class@GIRepository.InterfaceInfo].
|
|
40
|
+
*
|
|
41
|
+
* Since: 2.80
|
|
42
|
+
*/
|
|
43
|
+
#define GI_IS_INTERFACE_INFO(info) \
|
|
44
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_INTERFACE)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
GI_AVAILABLE_IN_ALL
|
|
48
|
+
guint gi_interface_info_get_n_prerequisites (GIInterfaceInfo *info);
|
|
49
|
+
|
|
50
|
+
GI_AVAILABLE_IN_ALL
|
|
51
|
+
GIBaseInfo * gi_interface_info_get_prerequisite (GIInterfaceInfo *info,
|
|
52
|
+
guint n);
|
|
53
|
+
|
|
54
|
+
GI_AVAILABLE_IN_ALL
|
|
55
|
+
guint gi_interface_info_get_n_properties (GIInterfaceInfo *info);
|
|
56
|
+
|
|
57
|
+
GI_AVAILABLE_IN_ALL
|
|
58
|
+
GIPropertyInfo * gi_interface_info_get_property (GIInterfaceInfo *info,
|
|
59
|
+
guint n);
|
|
60
|
+
|
|
61
|
+
GI_AVAILABLE_IN_ALL
|
|
62
|
+
guint gi_interface_info_get_n_methods (GIInterfaceInfo *info);
|
|
63
|
+
|
|
64
|
+
GI_AVAILABLE_IN_ALL
|
|
65
|
+
GIFunctionInfo * gi_interface_info_get_method (GIInterfaceInfo *info,
|
|
66
|
+
guint n);
|
|
67
|
+
|
|
68
|
+
GI_AVAILABLE_IN_ALL
|
|
69
|
+
GIFunctionInfo * gi_interface_info_find_method (GIInterfaceInfo *info,
|
|
70
|
+
const gchar *name);
|
|
71
|
+
|
|
72
|
+
GI_AVAILABLE_IN_ALL
|
|
73
|
+
guint gi_interface_info_get_n_signals (GIInterfaceInfo *info);
|
|
74
|
+
|
|
75
|
+
GI_AVAILABLE_IN_ALL
|
|
76
|
+
GISignalInfo * gi_interface_info_get_signal (GIInterfaceInfo *info,
|
|
77
|
+
guint n);
|
|
78
|
+
|
|
79
|
+
GI_AVAILABLE_IN_ALL
|
|
80
|
+
GISignalInfo * gi_interface_info_find_signal (GIInterfaceInfo *info,
|
|
81
|
+
const gchar *name);
|
|
82
|
+
|
|
83
|
+
GI_AVAILABLE_IN_ALL
|
|
84
|
+
guint gi_interface_info_get_n_vfuncs (GIInterfaceInfo *info);
|
|
85
|
+
|
|
86
|
+
GI_AVAILABLE_IN_ALL
|
|
87
|
+
GIVFuncInfo * gi_interface_info_get_vfunc (GIInterfaceInfo *info,
|
|
88
|
+
guint n);
|
|
89
|
+
|
|
90
|
+
GI_AVAILABLE_IN_ALL
|
|
91
|
+
GIVFuncInfo * gi_interface_info_find_vfunc (GIInterfaceInfo *info,
|
|
92
|
+
const gchar *name);
|
|
93
|
+
|
|
94
|
+
GI_AVAILABLE_IN_ALL
|
|
95
|
+
guint gi_interface_info_get_n_constants (GIInterfaceInfo *info);
|
|
96
|
+
|
|
97
|
+
GI_AVAILABLE_IN_ALL
|
|
98
|
+
GIConstantInfo * gi_interface_info_get_constant (GIInterfaceInfo *info,
|
|
99
|
+
guint n);
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
GI_AVAILABLE_IN_ALL
|
|
103
|
+
GIStructInfo * gi_interface_info_get_iface_struct (GIInterfaceInfo *info);
|
|
104
|
+
|
|
105
|
+
G_END_DECLS
|
|
@@ -0,0 +1,215 @@
|
|
|
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
|
+
/**
|
|
79
|
+
* GI_IS_OBJECT_INFO:
|
|
80
|
+
* @info: an info structure
|
|
81
|
+
*
|
|
82
|
+
* Checks if @info is a [class@GIRepository.ObjectInfo].
|
|
83
|
+
*
|
|
84
|
+
* Since: 2.80
|
|
85
|
+
*/
|
|
86
|
+
#define GI_IS_OBJECT_INFO(info) \
|
|
87
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_OBJECT)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
GI_AVAILABLE_IN_ALL
|
|
91
|
+
const gchar * gi_object_info_get_type_name (GIObjectInfo *info);
|
|
92
|
+
|
|
93
|
+
GI_AVAILABLE_IN_ALL
|
|
94
|
+
const gchar * gi_object_info_get_type_init_function_name (GIObjectInfo *info);
|
|
95
|
+
|
|
96
|
+
GI_AVAILABLE_IN_ALL
|
|
97
|
+
gboolean gi_object_info_get_abstract (GIObjectInfo *info);
|
|
98
|
+
|
|
99
|
+
GI_AVAILABLE_IN_ALL
|
|
100
|
+
gboolean gi_object_info_get_final (GIObjectInfo *info);
|
|
101
|
+
|
|
102
|
+
GI_AVAILABLE_IN_ALL
|
|
103
|
+
gboolean gi_object_info_get_fundamental (GIObjectInfo *info);
|
|
104
|
+
|
|
105
|
+
GI_AVAILABLE_IN_ALL
|
|
106
|
+
GIObjectInfo * gi_object_info_get_parent (GIObjectInfo *info);
|
|
107
|
+
|
|
108
|
+
GI_AVAILABLE_IN_ALL
|
|
109
|
+
guint gi_object_info_get_n_interfaces (GIObjectInfo *info);
|
|
110
|
+
|
|
111
|
+
GI_AVAILABLE_IN_ALL
|
|
112
|
+
GIInterfaceInfo * gi_object_info_get_interface (GIObjectInfo *info,
|
|
113
|
+
guint n);
|
|
114
|
+
|
|
115
|
+
GI_AVAILABLE_IN_ALL
|
|
116
|
+
guint gi_object_info_get_n_fields (GIObjectInfo *info);
|
|
117
|
+
|
|
118
|
+
GI_AVAILABLE_IN_ALL
|
|
119
|
+
GIFieldInfo * gi_object_info_get_field (GIObjectInfo *info,
|
|
120
|
+
guint n);
|
|
121
|
+
|
|
122
|
+
GI_AVAILABLE_IN_ALL
|
|
123
|
+
guint gi_object_info_get_n_properties (GIObjectInfo *info);
|
|
124
|
+
|
|
125
|
+
GI_AVAILABLE_IN_ALL
|
|
126
|
+
GIPropertyInfo * gi_object_info_get_property (GIObjectInfo *info,
|
|
127
|
+
guint n);
|
|
128
|
+
|
|
129
|
+
GI_AVAILABLE_IN_ALL
|
|
130
|
+
guint gi_object_info_get_n_methods (GIObjectInfo *info);
|
|
131
|
+
|
|
132
|
+
GI_AVAILABLE_IN_ALL
|
|
133
|
+
GIFunctionInfo * gi_object_info_get_method (GIObjectInfo *info,
|
|
134
|
+
guint n);
|
|
135
|
+
|
|
136
|
+
GI_AVAILABLE_IN_ALL
|
|
137
|
+
GIFunctionInfo * gi_object_info_find_method (GIObjectInfo *info,
|
|
138
|
+
const gchar *name);
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
GI_AVAILABLE_IN_ALL
|
|
142
|
+
GIFunctionInfo * gi_object_info_find_method_using_interfaces (GIObjectInfo *info,
|
|
143
|
+
const gchar *name,
|
|
144
|
+
GIObjectInfo **implementor);
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
GI_AVAILABLE_IN_ALL
|
|
148
|
+
guint gi_object_info_get_n_signals (GIObjectInfo *info);
|
|
149
|
+
|
|
150
|
+
GI_AVAILABLE_IN_ALL
|
|
151
|
+
GISignalInfo * gi_object_info_get_signal (GIObjectInfo *info,
|
|
152
|
+
guint n);
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
GI_AVAILABLE_IN_ALL
|
|
156
|
+
GISignalInfo * gi_object_info_find_signal (GIObjectInfo *info,
|
|
157
|
+
const gchar *name);
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
GI_AVAILABLE_IN_ALL
|
|
161
|
+
guint gi_object_info_get_n_vfuncs (GIObjectInfo *info);
|
|
162
|
+
|
|
163
|
+
GI_AVAILABLE_IN_ALL
|
|
164
|
+
GIVFuncInfo * gi_object_info_get_vfunc (GIObjectInfo *info,
|
|
165
|
+
guint n);
|
|
166
|
+
|
|
167
|
+
GI_AVAILABLE_IN_ALL
|
|
168
|
+
GIVFuncInfo * gi_object_info_find_vfunc (GIObjectInfo *info,
|
|
169
|
+
const gchar *name);
|
|
170
|
+
|
|
171
|
+
GI_AVAILABLE_IN_ALL
|
|
172
|
+
GIVFuncInfo * gi_object_info_find_vfunc_using_interfaces (GIObjectInfo *info,
|
|
173
|
+
const gchar *name,
|
|
174
|
+
GIObjectInfo **implementor);
|
|
175
|
+
|
|
176
|
+
GI_AVAILABLE_IN_ALL
|
|
177
|
+
guint gi_object_info_get_n_constants (GIObjectInfo *info);
|
|
178
|
+
|
|
179
|
+
GI_AVAILABLE_IN_ALL
|
|
180
|
+
GIConstantInfo * gi_object_info_get_constant (GIObjectInfo *info,
|
|
181
|
+
guint n);
|
|
182
|
+
|
|
183
|
+
GI_AVAILABLE_IN_ALL
|
|
184
|
+
GIStructInfo * gi_object_info_get_class_struct (GIObjectInfo *info);
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
GI_AVAILABLE_IN_ALL
|
|
188
|
+
const char * gi_object_info_get_ref_function_name (GIObjectInfo *info);
|
|
189
|
+
|
|
190
|
+
GI_AVAILABLE_IN_ALL
|
|
191
|
+
GIObjectInfoRefFunction gi_object_info_get_ref_function_pointer (GIObjectInfo *info);
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
GI_AVAILABLE_IN_ALL
|
|
195
|
+
const char * gi_object_info_get_unref_function_name (GIObjectInfo *info);
|
|
196
|
+
|
|
197
|
+
GI_AVAILABLE_IN_ALL
|
|
198
|
+
GIObjectInfoUnrefFunction gi_object_info_get_unref_function_pointer (GIObjectInfo *info);
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
GI_AVAILABLE_IN_ALL
|
|
202
|
+
const char * gi_object_info_get_set_value_function_name (GIObjectInfo *info);
|
|
203
|
+
|
|
204
|
+
GI_AVAILABLE_IN_ALL
|
|
205
|
+
GIObjectInfoSetValueFunction gi_object_info_get_set_value_function_pointer (GIObjectInfo *info);
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
GI_AVAILABLE_IN_ALL
|
|
209
|
+
const char * gi_object_info_get_get_value_function_name (GIObjectInfo *info);
|
|
210
|
+
|
|
211
|
+
GI_AVAILABLE_IN_ALL
|
|
212
|
+
GIObjectInfoGetValueFunction gi_object_info_get_get_value_function_pointer (GIObjectInfo *info);
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
G_END_DECLS
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
/**
|
|
36
|
+
* GI_IS_PROPERTY_INFO:
|
|
37
|
+
* @info: an info structure
|
|
38
|
+
*
|
|
39
|
+
* Checks if @info is a [class@GIRepository.PropertyInfo].
|
|
40
|
+
*
|
|
41
|
+
* Since: 2.80
|
|
42
|
+
*/
|
|
43
|
+
#define GI_IS_PROPERTY_INFO(info) \
|
|
44
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_PROPERTY)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
GI_AVAILABLE_IN_ALL
|
|
48
|
+
GParamFlags gi_property_info_get_flags (GIPropertyInfo *info);
|
|
49
|
+
|
|
50
|
+
GI_AVAILABLE_IN_ALL
|
|
51
|
+
GITypeInfo *gi_property_info_get_type_info (GIPropertyInfo *info);
|
|
52
|
+
|
|
53
|
+
GI_AVAILABLE_IN_ALL
|
|
54
|
+
GITransfer gi_property_info_get_ownership_transfer (GIPropertyInfo *info);
|
|
55
|
+
|
|
56
|
+
GI_AVAILABLE_IN_ALL
|
|
57
|
+
GIFunctionInfo *gi_property_info_get_setter (GIPropertyInfo *info);
|
|
58
|
+
|
|
59
|
+
GI_AVAILABLE_IN_ALL
|
|
60
|
+
GIFunctionInfo *gi_property_info_get_getter (GIPropertyInfo *info);
|
|
61
|
+
|
|
62
|
+
G_END_DECLS
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
/**
|
|
37
|
+
* GI_IS_REGISTERED_TYPE_INFO:
|
|
38
|
+
* @info: an info structure
|
|
39
|
+
*
|
|
40
|
+
* Checks if @info is a [class@GIRepository.RegisteredTypeInfo] or derived from
|
|
41
|
+
* it.
|
|
42
|
+
*
|
|
43
|
+
* Since: 2.80
|
|
44
|
+
*/
|
|
45
|
+
#define GI_IS_REGISTERED_TYPE_INFO(info) \
|
|
46
|
+
((gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_BOXED) || \
|
|
47
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_ENUM) || \
|
|
48
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_FLAGS) || \
|
|
49
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_INTERFACE) || \
|
|
50
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_OBJECT) || \
|
|
51
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_STRUCT) || \
|
|
52
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_UNION) || \
|
|
53
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_BOXED))
|
|
54
|
+
|
|
55
|
+
GI_AVAILABLE_IN_ALL
|
|
56
|
+
const gchar * gi_registered_type_info_get_type_name (GIRegisteredTypeInfo *info);
|
|
57
|
+
|
|
58
|
+
GI_AVAILABLE_IN_ALL
|
|
59
|
+
const gchar * gi_registered_type_info_get_type_init_function_name (GIRegisteredTypeInfo *info);
|
|
60
|
+
|
|
61
|
+
GI_AVAILABLE_IN_ALL
|
|
62
|
+
GType gi_registered_type_info_get_g_type (GIRegisteredTypeInfo *info);
|
|
63
|
+
|
|
64
|
+
G_END_DECLS
|
|
@@ -0,0 +1,256 @@
|
|
|
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/gifunctioninfo.h>
|
|
42
|
+
#include <girepository/giinterfaceinfo.h>
|
|
43
|
+
#include <girepository/giobjectinfo.h>
|
|
44
|
+
#include <girepository/gipropertyinfo.h>
|
|
45
|
+
#include <girepository/giregisteredtypeinfo.h>
|
|
46
|
+
#include <girepository/gisignalinfo.h>
|
|
47
|
+
#include <girepository/gistructinfo.h>
|
|
48
|
+
#include <girepository/gitypeinfo.h>
|
|
49
|
+
#include <girepository/gitypelib.h>
|
|
50
|
+
#include <girepository/gitypes.h>
|
|
51
|
+
#include <girepository/giunioninfo.h>
|
|
52
|
+
#include <girepository/giunresolvedinfo.h>
|
|
53
|
+
#include <girepository/givfuncinfo.h>
|
|
54
|
+
|
|
55
|
+
G_BEGIN_DECLS
|
|
56
|
+
|
|
57
|
+
#define GI_TYPE_REPOSITORY (gi_repository_get_type ())
|
|
58
|
+
#define GI_REPOSITORY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GI_TYPE_REPOSITORY, GIRepository))
|
|
59
|
+
#define GI_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GI_TYPE_REPOSITORY, GIRepositoryClass))
|
|
60
|
+
#define GI_IS_REPOSITORY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GI_TYPE_REPOSITORY))
|
|
61
|
+
#define GI_IS_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GI_TYPE_REPOSITORY))
|
|
62
|
+
#define GI_REPOSITORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GI_TYPE_REPOSITORY, GIRepositoryClass))
|
|
63
|
+
|
|
64
|
+
typedef struct _GIRepository GIRepository;
|
|
65
|
+
typedef struct _GIRepositoryClass GIRepositoryClass;
|
|
66
|
+
typedef struct _GIRepositoryPrivate GIRepositoryPrivate;
|
|
67
|
+
|
|
68
|
+
struct _GIRepository
|
|
69
|
+
{
|
|
70
|
+
/*< private >*/
|
|
71
|
+
GObject parent;
|
|
72
|
+
GIRepositoryPrivate *priv;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
struct _GIRepositoryClass
|
|
76
|
+
{
|
|
77
|
+
/*< private >*/
|
|
78
|
+
GObjectClass parent;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* GIRepositoryLoadFlags:
|
|
83
|
+
* @GI_REPOSITORY_LOAD_FLAG_LAZY: Lazily load the typelib.
|
|
84
|
+
*
|
|
85
|
+
* Flags that control how a typelib is loaded.
|
|
86
|
+
*
|
|
87
|
+
* Since: 2.80
|
|
88
|
+
*/
|
|
89
|
+
typedef enum
|
|
90
|
+
{
|
|
91
|
+
GI_REPOSITORY_LOAD_FLAG_LAZY = 1 << 0
|
|
92
|
+
} GIRepositoryLoadFlags;
|
|
93
|
+
|
|
94
|
+
/* Repository */
|
|
95
|
+
|
|
96
|
+
GI_AVAILABLE_IN_ALL
|
|
97
|
+
GType gi_repository_get_type (void) G_GNUC_CONST;
|
|
98
|
+
|
|
99
|
+
GI_AVAILABLE_IN_ALL
|
|
100
|
+
GIRepository *gi_repository_get_default (void);
|
|
101
|
+
|
|
102
|
+
GI_AVAILABLE_IN_ALL
|
|
103
|
+
GIRepository *gi_repository_new (void);
|
|
104
|
+
|
|
105
|
+
GI_AVAILABLE_IN_ALL
|
|
106
|
+
void gi_repository_prepend_search_path (const char *directory);
|
|
107
|
+
|
|
108
|
+
GI_AVAILABLE_IN_ALL
|
|
109
|
+
void gi_repository_prepend_library_path (const char *directory);
|
|
110
|
+
|
|
111
|
+
GI_AVAILABLE_IN_ALL
|
|
112
|
+
const char * const * gi_repository_get_search_path (size_t *n_paths_out);
|
|
113
|
+
|
|
114
|
+
GI_AVAILABLE_IN_ALL
|
|
115
|
+
const char * gi_repository_load_typelib (GIRepository *repository,
|
|
116
|
+
GITypelib *typelib,
|
|
117
|
+
GIRepositoryLoadFlags flags,
|
|
118
|
+
GError **error);
|
|
119
|
+
|
|
120
|
+
GI_AVAILABLE_IN_ALL
|
|
121
|
+
gboolean gi_repository_is_registered (GIRepository *repository,
|
|
122
|
+
const gchar *namespace_,
|
|
123
|
+
const gchar *version);
|
|
124
|
+
|
|
125
|
+
GI_AVAILABLE_IN_ALL
|
|
126
|
+
GIBaseInfo * gi_repository_find_by_name (GIRepository *repository,
|
|
127
|
+
const gchar *namespace_,
|
|
128
|
+
const gchar *name);
|
|
129
|
+
|
|
130
|
+
GI_AVAILABLE_IN_ALL
|
|
131
|
+
char ** gi_repository_enumerate_versions (GIRepository *repository,
|
|
132
|
+
const gchar *namespace_,
|
|
133
|
+
size_t *n_versions_out);
|
|
134
|
+
|
|
135
|
+
GI_AVAILABLE_IN_ALL
|
|
136
|
+
GITypelib * gi_repository_require (GIRepository *repository,
|
|
137
|
+
const gchar *namespace_,
|
|
138
|
+
const gchar *version,
|
|
139
|
+
GIRepositoryLoadFlags flags,
|
|
140
|
+
GError **error);
|
|
141
|
+
|
|
142
|
+
GI_AVAILABLE_IN_ALL
|
|
143
|
+
GITypelib * gi_repository_require_private (GIRepository *repository,
|
|
144
|
+
const gchar *typelib_dir,
|
|
145
|
+
const gchar *namespace_,
|
|
146
|
+
const gchar *version,
|
|
147
|
+
GIRepositoryLoadFlags flags,
|
|
148
|
+
GError **error);
|
|
149
|
+
|
|
150
|
+
GI_AVAILABLE_IN_ALL
|
|
151
|
+
gchar ** gi_repository_get_immediate_dependencies (GIRepository *repository,
|
|
152
|
+
const gchar *namespace_);
|
|
153
|
+
|
|
154
|
+
GI_AVAILABLE_IN_ALL
|
|
155
|
+
gchar ** gi_repository_get_dependencies (GIRepository *repository,
|
|
156
|
+
const gchar *namespace_);
|
|
157
|
+
|
|
158
|
+
GI_AVAILABLE_IN_ALL
|
|
159
|
+
gchar ** gi_repository_get_loaded_namespaces (GIRepository *repository);
|
|
160
|
+
|
|
161
|
+
GI_AVAILABLE_IN_ALL
|
|
162
|
+
GIBaseInfo * gi_repository_find_by_gtype (GIRepository *repository,
|
|
163
|
+
GType gtype);
|
|
164
|
+
|
|
165
|
+
GI_AVAILABLE_IN_ALL
|
|
166
|
+
void gi_repository_get_object_gtype_interfaces (GIRepository *repository,
|
|
167
|
+
GType gtype,
|
|
168
|
+
gsize *n_interfaces_out,
|
|
169
|
+
GIInterfaceInfo ***interfaces_out);
|
|
170
|
+
|
|
171
|
+
GI_AVAILABLE_IN_ALL
|
|
172
|
+
guint gi_repository_get_n_infos (GIRepository *repository,
|
|
173
|
+
const gchar *namespace_);
|
|
174
|
+
|
|
175
|
+
GI_AVAILABLE_IN_ALL
|
|
176
|
+
GIBaseInfo * gi_repository_get_info (GIRepository *repository,
|
|
177
|
+
const gchar *namespace_,
|
|
178
|
+
guint idx);
|
|
179
|
+
|
|
180
|
+
GI_AVAILABLE_IN_ALL
|
|
181
|
+
GIEnumInfo * gi_repository_find_by_error_domain (GIRepository *repository,
|
|
182
|
+
GQuark domain);
|
|
183
|
+
|
|
184
|
+
GI_AVAILABLE_IN_ALL
|
|
185
|
+
const gchar * gi_repository_get_typelib_path (GIRepository *repository,
|
|
186
|
+
const gchar *namespace_);
|
|
187
|
+
GI_AVAILABLE_IN_ALL
|
|
188
|
+
const gchar * gi_repository_get_shared_library (GIRepository *repository,
|
|
189
|
+
const gchar *namespace_);
|
|
190
|
+
GI_AVAILABLE_IN_ALL
|
|
191
|
+
const gchar * gi_repository_get_c_prefix (GIRepository *repository,
|
|
192
|
+
const gchar *namespace_);
|
|
193
|
+
GI_AVAILABLE_IN_ALL
|
|
194
|
+
const gchar * gi_repository_get_version (GIRepository *repository,
|
|
195
|
+
const gchar *namespace_);
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
GI_AVAILABLE_IN_ALL
|
|
199
|
+
GOptionGroup * gi_repository_get_option_group (void);
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
GI_AVAILABLE_IN_ALL
|
|
203
|
+
gboolean gi_repository_dump (const char *input_filename,
|
|
204
|
+
const char *output_filename,
|
|
205
|
+
GError **error);
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* GIRepositoryError:
|
|
209
|
+
* @GI_REPOSITORY_ERROR_TYPELIB_NOT_FOUND: the typelib could not be found.
|
|
210
|
+
* @GI_REPOSITORY_ERROR_NAMESPACE_MISMATCH: the namespace does not match the
|
|
211
|
+
* requested namespace.
|
|
212
|
+
* @GI_REPOSITORY_ERROR_NAMESPACE_VERSION_CONFLICT: the version of the
|
|
213
|
+
* typelib does not match the requested version.
|
|
214
|
+
* @GI_REPOSITORY_ERROR_LIBRARY_NOT_FOUND: the library used by the typelib
|
|
215
|
+
* could not be found.
|
|
216
|
+
*
|
|
217
|
+
* An error code used with `GI_REPOSITORY_ERROR` in a [type@GLib.Error]
|
|
218
|
+
* returned from a [class@GIRepository.Repository] routine.
|
|
219
|
+
*
|
|
220
|
+
* Since: 2.80
|
|
221
|
+
*/
|
|
222
|
+
typedef enum
|
|
223
|
+
{
|
|
224
|
+
GI_REPOSITORY_ERROR_TYPELIB_NOT_FOUND,
|
|
225
|
+
GI_REPOSITORY_ERROR_NAMESPACE_MISMATCH,
|
|
226
|
+
GI_REPOSITORY_ERROR_NAMESPACE_VERSION_CONFLICT,
|
|
227
|
+
GI_REPOSITORY_ERROR_LIBRARY_NOT_FOUND
|
|
228
|
+
} GIRepositoryError;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* GI_REPOSITORY_ERROR:
|
|
232
|
+
*
|
|
233
|
+
* Error domain for [class@GIRepository.Repository].
|
|
234
|
+
*
|
|
235
|
+
* Errors in this domain will be from the [enum@GIRepository.Error] enumeration.
|
|
236
|
+
* See [type@GLib.Error] for more information on error domains.
|
|
237
|
+
*
|
|
238
|
+
* Since: 2.80
|
|
239
|
+
*/
|
|
240
|
+
#define GI_REPOSITORY_ERROR (gi_repository_error_quark ())
|
|
241
|
+
|
|
242
|
+
GI_AVAILABLE_IN_ALL
|
|
243
|
+
GQuark gi_repository_error_quark (void);
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
/* Global utility functions */
|
|
247
|
+
|
|
248
|
+
GI_AVAILABLE_IN_ALL
|
|
249
|
+
void gi_cclosure_marshal_generic (GClosure *closure,
|
|
250
|
+
GValue *return_gvalue,
|
|
251
|
+
guint n_param_values,
|
|
252
|
+
const GValue *param_values,
|
|
253
|
+
gpointer invocation_hint,
|
|
254
|
+
gpointer marshal_data);
|
|
255
|
+
|
|
256
|
+
G_END_DECLS
|