@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,83 @@
|
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
2
|
+
* GObject introspection: Argument
|
|
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_ARG_INFO:
|
|
37
|
+
* @info: an info structure
|
|
38
|
+
*
|
|
39
|
+
* Checks if @info is a [class@GIRepository.ArgInfo].
|
|
40
|
+
*
|
|
41
|
+
* Since: 2.80
|
|
42
|
+
*/
|
|
43
|
+
#define GI_IS_ARG_INFO(info) \
|
|
44
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_ARG)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
GI_AVAILABLE_IN_ALL
|
|
48
|
+
GIDirection gi_arg_info_get_direction (GIArgInfo *info);
|
|
49
|
+
|
|
50
|
+
GI_AVAILABLE_IN_ALL
|
|
51
|
+
gboolean gi_arg_info_is_return_value (GIArgInfo *info);
|
|
52
|
+
|
|
53
|
+
GI_AVAILABLE_IN_ALL
|
|
54
|
+
gboolean gi_arg_info_is_optional (GIArgInfo *info);
|
|
55
|
+
|
|
56
|
+
GI_AVAILABLE_IN_ALL
|
|
57
|
+
gboolean gi_arg_info_is_caller_allocates (GIArgInfo *info);
|
|
58
|
+
|
|
59
|
+
GI_AVAILABLE_IN_ALL
|
|
60
|
+
gboolean gi_arg_info_may_be_null (GIArgInfo *info);
|
|
61
|
+
|
|
62
|
+
GI_AVAILABLE_IN_ALL
|
|
63
|
+
gboolean gi_arg_info_is_skip (GIArgInfo *info);
|
|
64
|
+
|
|
65
|
+
GI_AVAILABLE_IN_ALL
|
|
66
|
+
GITransfer gi_arg_info_get_ownership_transfer (GIArgInfo *info);
|
|
67
|
+
|
|
68
|
+
GI_AVAILABLE_IN_ALL
|
|
69
|
+
GIScopeType gi_arg_info_get_scope (GIArgInfo *info);
|
|
70
|
+
|
|
71
|
+
GI_AVAILABLE_IN_ALL
|
|
72
|
+
gint gi_arg_info_get_closure_index (GIArgInfo *info);
|
|
73
|
+
|
|
74
|
+
GI_AVAILABLE_IN_ALL
|
|
75
|
+
gint gi_arg_info_get_destroy_index (GIArgInfo *info);
|
|
76
|
+
|
|
77
|
+
GI_AVAILABLE_IN_ALL
|
|
78
|
+
GITypeInfo * gi_arg_info_get_type_info (GIArgInfo *info);
|
|
79
|
+
|
|
80
|
+
GI_AVAILABLE_IN_ALL
|
|
81
|
+
void gi_arg_info_load_type (GIArgInfo *info,
|
|
82
|
+
GITypeInfo *type);
|
|
83
|
+
G_END_DECLS
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
2
|
+
* GObject introspection: GIBaseInfo
|
|
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/gitypelib.h>
|
|
33
|
+
#include <girepository/gitypes.h>
|
|
34
|
+
|
|
35
|
+
G_BEGIN_DECLS
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* GIAttributeIter:
|
|
39
|
+
*
|
|
40
|
+
* An opaque structure used to iterate over attributes
|
|
41
|
+
* in a [class@GIRepository.BaseInfo] struct.
|
|
42
|
+
*
|
|
43
|
+
* Since: 2.80
|
|
44
|
+
*/
|
|
45
|
+
typedef struct {
|
|
46
|
+
/*< private >*/
|
|
47
|
+
gpointer data;
|
|
48
|
+
gpointer data2;
|
|
49
|
+
gpointer data3;
|
|
50
|
+
gpointer data4;
|
|
51
|
+
} GIAttributeIter;
|
|
52
|
+
|
|
53
|
+
#define GI_TYPE_BASE_INFO (gi_base_info_get_type ())
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
GI_AVAILABLE_IN_ALL
|
|
57
|
+
GType gi_base_info_get_type (void) G_GNUC_CONST;
|
|
58
|
+
|
|
59
|
+
GI_AVAILABLE_IN_ALL
|
|
60
|
+
GIBaseInfo * gi_base_info_ref (GIBaseInfo *info);
|
|
61
|
+
|
|
62
|
+
GI_AVAILABLE_IN_ALL
|
|
63
|
+
void gi_base_info_unref (GIBaseInfo *info);
|
|
64
|
+
|
|
65
|
+
GI_AVAILABLE_IN_ALL
|
|
66
|
+
GIInfoType gi_base_info_get_info_type (GIBaseInfo *info);
|
|
67
|
+
|
|
68
|
+
GI_AVAILABLE_IN_ALL
|
|
69
|
+
const gchar * gi_base_info_get_name (GIBaseInfo *info);
|
|
70
|
+
|
|
71
|
+
GI_AVAILABLE_IN_ALL
|
|
72
|
+
const gchar * gi_base_info_get_namespace (GIBaseInfo *info);
|
|
73
|
+
|
|
74
|
+
GI_AVAILABLE_IN_ALL
|
|
75
|
+
gboolean gi_base_info_is_deprecated (GIBaseInfo *info);
|
|
76
|
+
|
|
77
|
+
GI_AVAILABLE_IN_ALL
|
|
78
|
+
const gchar * gi_base_info_get_attribute (GIBaseInfo *info,
|
|
79
|
+
const gchar *name);
|
|
80
|
+
|
|
81
|
+
GI_AVAILABLE_IN_ALL
|
|
82
|
+
gboolean gi_base_info_iterate_attributes (GIBaseInfo *info,
|
|
83
|
+
GIAttributeIter *iterator,
|
|
84
|
+
const char **name,
|
|
85
|
+
const char **value);
|
|
86
|
+
|
|
87
|
+
GI_AVAILABLE_IN_ALL
|
|
88
|
+
GIBaseInfo * gi_base_info_get_container (GIBaseInfo *info);
|
|
89
|
+
|
|
90
|
+
GI_AVAILABLE_IN_ALL
|
|
91
|
+
GITypelib * gi_base_info_get_typelib (GIBaseInfo *info);
|
|
92
|
+
|
|
93
|
+
GI_AVAILABLE_IN_ALL
|
|
94
|
+
gboolean gi_base_info_equal (GIBaseInfo *info1,
|
|
95
|
+
GIBaseInfo *info2);
|
|
96
|
+
|
|
97
|
+
GI_AVAILABLE_IN_ALL
|
|
98
|
+
GIBaseInfo * gi_info_new (GIInfoType type,
|
|
99
|
+
GIBaseInfo *container,
|
|
100
|
+
GITypelib *typelib,
|
|
101
|
+
guint32 offset);
|
|
102
|
+
|
|
103
|
+
G_END_DECLS
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
2
|
+
* GObject introspection: Callable
|
|
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_CALLABLE_INFO:
|
|
37
|
+
* @info: an info structure
|
|
38
|
+
*
|
|
39
|
+
* Checks if @info is a [class@GIRepository.CallableInfo] or derived from it.
|
|
40
|
+
*
|
|
41
|
+
* Since: 2.80
|
|
42
|
+
*/
|
|
43
|
+
#define GI_IS_CALLABLE_INFO(info) \
|
|
44
|
+
((gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_FUNCTION) || \
|
|
45
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_CALLBACK) || \
|
|
46
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_SIGNAL) || \
|
|
47
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_VFUNC))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
GI_AVAILABLE_IN_ALL
|
|
51
|
+
gboolean gi_callable_info_is_method (GICallableInfo *info);
|
|
52
|
+
|
|
53
|
+
GI_AVAILABLE_IN_ALL
|
|
54
|
+
gboolean gi_callable_info_can_throw_gerror (GICallableInfo *info);
|
|
55
|
+
|
|
56
|
+
GI_AVAILABLE_IN_ALL
|
|
57
|
+
GITypeInfo * gi_callable_info_get_return_type (GICallableInfo *info);
|
|
58
|
+
|
|
59
|
+
GI_AVAILABLE_IN_ALL
|
|
60
|
+
void gi_callable_info_load_return_type (GICallableInfo *info,
|
|
61
|
+
GITypeInfo *type);
|
|
62
|
+
|
|
63
|
+
GI_AVAILABLE_IN_ALL
|
|
64
|
+
const gchar * gi_callable_info_get_return_attribute (GICallableInfo *info,
|
|
65
|
+
const gchar *name);
|
|
66
|
+
|
|
67
|
+
GI_AVAILABLE_IN_ALL
|
|
68
|
+
gboolean gi_callable_info_iterate_return_attributes (GICallableInfo *info,
|
|
69
|
+
GIAttributeIter *iterator,
|
|
70
|
+
const char **name,
|
|
71
|
+
const char **value);
|
|
72
|
+
|
|
73
|
+
GI_AVAILABLE_IN_ALL
|
|
74
|
+
GITransfer gi_callable_info_get_caller_owns (GICallableInfo *info);
|
|
75
|
+
|
|
76
|
+
GI_AVAILABLE_IN_ALL
|
|
77
|
+
gboolean gi_callable_info_may_return_null (GICallableInfo *info);
|
|
78
|
+
|
|
79
|
+
GI_AVAILABLE_IN_ALL
|
|
80
|
+
gboolean gi_callable_info_skip_return (GICallableInfo *info);
|
|
81
|
+
|
|
82
|
+
GI_AVAILABLE_IN_ALL
|
|
83
|
+
guint gi_callable_info_get_n_args (GICallableInfo *info);
|
|
84
|
+
|
|
85
|
+
GI_AVAILABLE_IN_ALL
|
|
86
|
+
GIArgInfo * gi_callable_info_get_arg (GICallableInfo *info,
|
|
87
|
+
guint n);
|
|
88
|
+
|
|
89
|
+
GI_AVAILABLE_IN_ALL
|
|
90
|
+
void gi_callable_info_load_arg (GICallableInfo *info,
|
|
91
|
+
guint n,
|
|
92
|
+
GIArgInfo *arg);
|
|
93
|
+
|
|
94
|
+
GI_AVAILABLE_IN_ALL
|
|
95
|
+
gboolean gi_callable_info_invoke (GICallableInfo *info,
|
|
96
|
+
gpointer function,
|
|
97
|
+
const GIArgument *in_args,
|
|
98
|
+
gsize n_in_args,
|
|
99
|
+
const GIArgument *out_args,
|
|
100
|
+
gsize n_out_args,
|
|
101
|
+
GIArgument *return_value,
|
|
102
|
+
gboolean is_method,
|
|
103
|
+
gboolean throws,
|
|
104
|
+
GError **error);
|
|
105
|
+
|
|
106
|
+
GI_AVAILABLE_IN_ALL
|
|
107
|
+
GITransfer gi_callable_info_get_instance_ownership_transfer (GICallableInfo *info);
|
|
108
|
+
|
|
109
|
+
G_END_DECLS
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
2
|
+
* GObject introspection: Callable
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2023 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
|
+
/**
|
|
35
|
+
* GI_IS_CALLBACK_INFO:
|
|
36
|
+
* @info: an info structure
|
|
37
|
+
*
|
|
38
|
+
* Checks if @info is a [class@GIRepository.CallbackInfo] or derived from it.
|
|
39
|
+
*
|
|
40
|
+
* Since: 2.80
|
|
41
|
+
*/
|
|
42
|
+
#define GI_IS_CALLBACK_INFO(info) \
|
|
43
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_CALLBACK)
|
|
44
|
+
|
|
45
|
+
G_END_DECLS
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
2
|
+
* GObject introspection: Constant
|
|
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_CONSTANT_INFO:
|
|
37
|
+
* @info: an info structure
|
|
38
|
+
*
|
|
39
|
+
* Checks if @info is a [class@GIRepository.ConstantInfo].
|
|
40
|
+
*
|
|
41
|
+
* Since: 2.80
|
|
42
|
+
*/
|
|
43
|
+
#define GI_IS_CONSTANT_INFO(info) \
|
|
44
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_CONSTANT)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
GI_AVAILABLE_IN_ALL
|
|
48
|
+
GITypeInfo * gi_constant_info_get_type_info (GIConstantInfo *info);
|
|
49
|
+
|
|
50
|
+
GI_AVAILABLE_IN_ALL
|
|
51
|
+
void gi_constant_info_free_value (GIConstantInfo *info,
|
|
52
|
+
GIArgument *value);
|
|
53
|
+
|
|
54
|
+
GI_AVAILABLE_IN_ALL
|
|
55
|
+
gsize gi_constant_info_get_value (GIConstantInfo *info,
|
|
56
|
+
GIArgument *value);
|
|
57
|
+
G_END_DECLS
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
2
|
+
* GObject introspection: Enum and Enum values
|
|
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_ENUM_INFO:
|
|
37
|
+
* @info: an info structure
|
|
38
|
+
*
|
|
39
|
+
* Checks if @info is a [class@GIRepository.EnumInfo].
|
|
40
|
+
*
|
|
41
|
+
* Since: 2.80
|
|
42
|
+
*/
|
|
43
|
+
#define GI_IS_ENUM_INFO(info) \
|
|
44
|
+
((gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_ENUM) || \
|
|
45
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_FLAGS))
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* GI_IS_VALUE_INFO:
|
|
49
|
+
* @info: an info structure
|
|
50
|
+
*
|
|
51
|
+
* Checks if @info is a [class@GIRepository.ValueInfo].
|
|
52
|
+
*
|
|
53
|
+
* Since: 2.80
|
|
54
|
+
*/
|
|
55
|
+
#define GI_IS_VALUE_INFO(info) \
|
|
56
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_VALUE)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
GI_AVAILABLE_IN_ALL
|
|
60
|
+
guint gi_enum_info_get_n_values (GIEnumInfo *info);
|
|
61
|
+
|
|
62
|
+
GI_AVAILABLE_IN_ALL
|
|
63
|
+
GIValueInfo * gi_enum_info_get_value (GIEnumInfo *info,
|
|
64
|
+
guint n);
|
|
65
|
+
|
|
66
|
+
GI_AVAILABLE_IN_ALL
|
|
67
|
+
guint gi_enum_info_get_n_methods (GIEnumInfo *info);
|
|
68
|
+
|
|
69
|
+
GI_AVAILABLE_IN_ALL
|
|
70
|
+
GIFunctionInfo * gi_enum_info_get_method (GIEnumInfo *info,
|
|
71
|
+
guint n);
|
|
72
|
+
|
|
73
|
+
GI_AVAILABLE_IN_ALL
|
|
74
|
+
GITypeTag gi_enum_info_get_storage_type (GIEnumInfo *info);
|
|
75
|
+
|
|
76
|
+
GI_AVAILABLE_IN_ALL
|
|
77
|
+
const gchar * gi_enum_info_get_error_domain (GIEnumInfo *info);
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
GI_AVAILABLE_IN_ALL
|
|
81
|
+
gint64 gi_value_info_get_value (GIValueInfo *info);
|
|
82
|
+
|
|
83
|
+
G_END_DECLS
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
2
|
+
* GObject introspection: Field and Field values
|
|
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_FIELD_INFO:
|
|
37
|
+
* @info: an info structure
|
|
38
|
+
*
|
|
39
|
+
* Checks if @info is a [class@GIRepository.FieldInfo].
|
|
40
|
+
*
|
|
41
|
+
* Since: 2.80
|
|
42
|
+
*/
|
|
43
|
+
#define GI_IS_FIELD_INFO(info) \
|
|
44
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_FIELD)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
GI_AVAILABLE_IN_ALL
|
|
48
|
+
GIFieldInfoFlags gi_field_info_get_flags (GIFieldInfo *info);
|
|
49
|
+
|
|
50
|
+
GI_AVAILABLE_IN_ALL
|
|
51
|
+
gsize gi_field_info_get_size (GIFieldInfo *info);
|
|
52
|
+
|
|
53
|
+
GI_AVAILABLE_IN_ALL
|
|
54
|
+
gsize gi_field_info_get_offset (GIFieldInfo *info);
|
|
55
|
+
|
|
56
|
+
GI_AVAILABLE_IN_ALL
|
|
57
|
+
GITypeInfo * gi_field_info_get_type_info (GIFieldInfo *info);
|
|
58
|
+
|
|
59
|
+
GI_AVAILABLE_IN_ALL
|
|
60
|
+
gboolean gi_field_info_get_field (GIFieldInfo *field_info,
|
|
61
|
+
gpointer mem,
|
|
62
|
+
GIArgument *value);
|
|
63
|
+
|
|
64
|
+
GI_AVAILABLE_IN_ALL
|
|
65
|
+
gboolean gi_field_info_set_field (GIFieldInfo *field_info,
|
|
66
|
+
gpointer mem,
|
|
67
|
+
const GIArgument *value);
|
|
68
|
+
|
|
69
|
+
G_END_DECLS
|
|
@@ -0,0 +1,102 @@
|
|
|
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
|
+
/**
|
|
36
|
+
* GI_IS_FUNCTION_INFO:
|
|
37
|
+
* @info: an info structure
|
|
38
|
+
*
|
|
39
|
+
* Checks if @info is a [class@GIRepository.FunctionInfo].
|
|
40
|
+
*
|
|
41
|
+
* Since: 2.80
|
|
42
|
+
*/
|
|
43
|
+
#define GI_IS_FUNCTION_INFO(info) \
|
|
44
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_FUNCTION)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
GI_AVAILABLE_IN_ALL
|
|
48
|
+
const gchar * gi_function_info_get_symbol (GIFunctionInfo *info);
|
|
49
|
+
|
|
50
|
+
GI_AVAILABLE_IN_ALL
|
|
51
|
+
GIFunctionInfoFlags gi_function_info_get_flags (GIFunctionInfo *info);
|
|
52
|
+
|
|
53
|
+
GI_AVAILABLE_IN_ALL
|
|
54
|
+
GIPropertyInfo * gi_function_info_get_property (GIFunctionInfo *info);
|
|
55
|
+
|
|
56
|
+
GI_AVAILABLE_IN_ALL
|
|
57
|
+
GIVFuncInfo * gi_function_info_get_vfunc (GIFunctionInfo *info);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* GI_INVOKE_ERROR:
|
|
61
|
+
*
|
|
62
|
+
* Type quark function for [enum@GIRepository.InvokeError].
|
|
63
|
+
*
|
|
64
|
+
* Since: 2.80
|
|
65
|
+
*/
|
|
66
|
+
#define GI_INVOKE_ERROR (gi_invoke_error_quark ())
|
|
67
|
+
|
|
68
|
+
GI_AVAILABLE_IN_ALL
|
|
69
|
+
GQuark gi_invoke_error_quark (void);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* GIInvokeError:
|
|
73
|
+
* @GI_INVOKE_ERROR_FAILED: invocation failed, unknown error.
|
|
74
|
+
* @GI_INVOKE_ERROR_SYMBOL_NOT_FOUND: symbol couldn’t be found in any of the
|
|
75
|
+
* libraries associated with the typelib of the function.
|
|
76
|
+
* @GI_INVOKE_ERROR_ARGUMENT_MISMATCH: the arguments provided didn’t match
|
|
77
|
+
* the expected arguments for the function’s type signature.
|
|
78
|
+
*
|
|
79
|
+
* An error occurring while invoking a function via
|
|
80
|
+
* [method@GIRepository.FunctionInfo.invoke].
|
|
81
|
+
*
|
|
82
|
+
* Since: 2.80
|
|
83
|
+
*/
|
|
84
|
+
typedef enum
|
|
85
|
+
{
|
|
86
|
+
GI_INVOKE_ERROR_FAILED,
|
|
87
|
+
GI_INVOKE_ERROR_SYMBOL_NOT_FOUND,
|
|
88
|
+
GI_INVOKE_ERROR_ARGUMENT_MISMATCH
|
|
89
|
+
} GIInvokeError;
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
GI_AVAILABLE_IN_ALL
|
|
93
|
+
gboolean gi_function_info_invoke (GIFunctionInfo *info,
|
|
94
|
+
const GIArgument *in_args,
|
|
95
|
+
gsize n_in_args,
|
|
96
|
+
const GIArgument *out_args,
|
|
97
|
+
gsize n_out_args,
|
|
98
|
+
GIArgument *return_value,
|
|
99
|
+
GError **error);
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
G_END_DECLS
|