@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.
- package/include/aom/aom_encoder.h +3 -3
- package/include/aom/aomcx.h +17 -8
- package/include/expat.h +21 -10
- package/include/expat_config.h +11 -5
- package/include/ffi.h +12 -25
- package/include/fontconfig/fontconfig.h +5 -3
- package/include/freetype2/freetype/config/ftoption.h +1 -1
- package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +3 -7
- 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/gapplication.h +6 -0
- 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 -108
- 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 +100 -0
- package/include/glib-2.0/girepository/gibaseinfo.h +129 -0
- package/include/glib-2.0/girepository/gicallableinfo.h +119 -0
- package/include/glib-2.0/girepository/gicallbackinfo.h +60 -0
- package/include/glib-2.0/girepository/giconstantinfo.h +72 -0
- package/include/glib-2.0/girepository/gienuminfo.h +82 -0
- package/include/glib-2.0/girepository/gifieldinfo.h +84 -0
- package/include/glib-2.0/girepository/giflagsinfo.h +60 -0
- package/include/glib-2.0/girepository/gifunctioninfo.h +117 -0
- package/include/glib-2.0/girepository/giinterfaceinfo.h +120 -0
- package/include/glib-2.0/girepository/giobjectinfo.h +230 -0
- package/include/glib-2.0/girepository/gipropertyinfo.h +77 -0
- package/include/glib-2.0/girepository/giregisteredtypeinfo.h +75 -0
- package/include/glib-2.0/girepository/girepository-autocleanups.h +56 -0
- package/include/glib-2.0/girepository/girepository.h +247 -0
- package/include/glib-2.0/girepository/girffi.h +129 -0
- package/include/glib-2.0/girepository/gisignalinfo.h +72 -0
- package/include/glib-2.0/girepository/gistructinfo.h +102 -0
- package/include/glib-2.0/girepository/gitypeinfo.h +144 -0
- package/include/glib-2.0/girepository/gitypelib.h +61 -0
- package/include/glib-2.0/girepository/gitypes.h +421 -0
- package/include/glib-2.0/girepository/giunioninfo.h +105 -0
- package/include/glib-2.0/girepository/giunresolvedinfo.h +60 -0
- package/include/glib-2.0/girepository/givalueinfo.h +65 -0
- package/include/glib-2.0/girepository/givfuncinfo.h +88 -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 +10 -6
- package/include/glib-2.0/glib/gatomic.h +20 -20
- package/include/glib-2.0/glib/gbitlock.h +31 -0
- 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 +11 -0
- package/include/glib-2.0/glib/gpathbuf.h +0 -7
- package/include/glib-2.0/glib/gslice.h +2 -0
- package/include/glib-2.0/glib/gstdio.h +1 -1
- package/include/glib-2.0/glib/gstrfuncs.h +24 -18
- 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 +216 -3
- 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 +214 -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/genums.h +6 -6
- package/include/glib-2.0/gobject/glib-types.h +44 -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 +16 -6
- 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/hwy/aligned_allocator.h +171 -6
- package/include/hwy/base.h +1765 -543
- package/include/hwy/cache_control.h +24 -6
- package/include/hwy/detect_compiler_arch.h +23 -2
- package/include/hwy/detect_targets.h +56 -13
- package/include/hwy/foreach_target.h +24 -0
- package/include/hwy/highway.h +20 -3
- package/include/hwy/ops/arm_neon-inl.h +1086 -667
- package/include/hwy/ops/arm_sve-inl.h +1091 -235
- package/include/hwy/ops/emu128-inl.h +271 -196
- package/include/hwy/ops/generic_ops-inl.h +2270 -399
- package/include/hwy/ops/ppc_vsx-inl.h +1786 -563
- package/include/hwy/ops/rvv-inl.h +1043 -311
- package/include/hwy/ops/scalar-inl.h +189 -159
- package/include/hwy/ops/set_macros-inl.h +66 -6
- package/include/hwy/ops/shared-inl.h +175 -56
- package/include/hwy/ops/wasm_128-inl.h +153 -136
- package/include/hwy/ops/x86_128-inl.h +1647 -646
- package/include/hwy/ops/x86_256-inl.h +1003 -370
- package/include/hwy/ops/x86_512-inl.h +948 -353
- package/include/hwy/per_target.h +4 -0
- package/include/hwy/profiler.h +648 -0
- package/include/hwy/robust_statistics.h +2 -2
- package/include/hwy/targets.h +18 -11
- package/include/hwy/timer.h +11 -0
- package/include/lcms2.h +46 -7
- package/include/lcms2_plugin.h +4 -4
- package/include/libheif/heif_version.h +2 -2
- package/include/libpng16/png.h +32 -29
- package/include/libpng16/pngconf.h +2 -2
- package/include/libpng16/pnglibconf.h +7 -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 +137 -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 -13
- 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/pango-1.0/pango/pango-features.h +3 -3
- package/include/pango-1.0/pango/pango-fontmap.h +7 -0
- package/include/pixman-1/pixman-version.h +3 -3
- package/include/pixman-1/pixman.h +9 -2
- package/include/png.h +32 -29
- package/include/pngconf.h +2 -2
- package/include/pnglibconf.h +7 -2
- package/include/vips/connection.h +9 -3
- package/include/vips/util.h +0 -9
- 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 +15 -15
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
#define GI_TYPE_ARG_INFO (gi_arg_info_get_type ())
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* GI_ARG_INFO:
|
|
39
|
+
* @info: Info object which is subject to casting.
|
|
40
|
+
*
|
|
41
|
+
* Casts a [type@GIRepository.ArgInfo] or derived pointer into a
|
|
42
|
+
* `(GIArgInfo*)` 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_ARG_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_ARG_INFO, GIArgInfo))
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* GI_IS_ARG_INFO:
|
|
53
|
+
* @info: an info structure
|
|
54
|
+
*
|
|
55
|
+
* Checks if @info is a [class@GIRepository.ArgInfo] (or a derived type).
|
|
56
|
+
*
|
|
57
|
+
* Since: 2.80
|
|
58
|
+
*/
|
|
59
|
+
#define GI_IS_ARG_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_ARG_INFO))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
GI_AVAILABLE_IN_ALL
|
|
63
|
+
GIDirection gi_arg_info_get_direction (GIArgInfo *info);
|
|
64
|
+
|
|
65
|
+
GI_AVAILABLE_IN_ALL
|
|
66
|
+
gboolean gi_arg_info_is_return_value (GIArgInfo *info);
|
|
67
|
+
|
|
68
|
+
GI_AVAILABLE_IN_ALL
|
|
69
|
+
gboolean gi_arg_info_is_optional (GIArgInfo *info);
|
|
70
|
+
|
|
71
|
+
GI_AVAILABLE_IN_ALL
|
|
72
|
+
gboolean gi_arg_info_is_caller_allocates (GIArgInfo *info);
|
|
73
|
+
|
|
74
|
+
GI_AVAILABLE_IN_ALL
|
|
75
|
+
gboolean gi_arg_info_may_be_null (GIArgInfo *info);
|
|
76
|
+
|
|
77
|
+
GI_AVAILABLE_IN_ALL
|
|
78
|
+
gboolean gi_arg_info_is_skip (GIArgInfo *info);
|
|
79
|
+
|
|
80
|
+
GI_AVAILABLE_IN_ALL
|
|
81
|
+
GITransfer gi_arg_info_get_ownership_transfer (GIArgInfo *info);
|
|
82
|
+
|
|
83
|
+
GI_AVAILABLE_IN_ALL
|
|
84
|
+
GIScopeType gi_arg_info_get_scope (GIArgInfo *info);
|
|
85
|
+
|
|
86
|
+
GI_AVAILABLE_IN_ALL
|
|
87
|
+
gboolean gi_arg_info_get_closure_index (GIArgInfo *info,
|
|
88
|
+
unsigned int *out_closure_index);
|
|
89
|
+
|
|
90
|
+
GI_AVAILABLE_IN_ALL
|
|
91
|
+
gboolean gi_arg_info_get_destroy_index (GIArgInfo *info,
|
|
92
|
+
unsigned int *out_destroy_index);
|
|
93
|
+
|
|
94
|
+
GI_AVAILABLE_IN_ALL
|
|
95
|
+
GITypeInfo * gi_arg_info_get_type_info (GIArgInfo *info);
|
|
96
|
+
|
|
97
|
+
GI_AVAILABLE_IN_ALL
|
|
98
|
+
void gi_arg_info_load_type_info (GIArgInfo *info,
|
|
99
|
+
GITypeInfo *type);
|
|
100
|
+
G_END_DECLS
|
|
@@ -0,0 +1,129 @@
|
|
|
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
|
+
void *data;
|
|
48
|
+
void *_dummy[4];
|
|
49
|
+
} GIAttributeIter;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* GI_ATTRIBUTE_ITER_INIT:
|
|
53
|
+
*
|
|
54
|
+
* Initialise a stack-allocated [type@GIRepository.AttributeIter] to a value
|
|
55
|
+
* suitable for passing to the first call to an ‘iterate’ function.
|
|
56
|
+
*
|
|
57
|
+
* Since: 2.80
|
|
58
|
+
*/
|
|
59
|
+
#define GI_ATTRIBUTE_ITER_INIT { NULL, { NULL, } }
|
|
60
|
+
|
|
61
|
+
#define GI_TYPE_BASE_INFO (gi_base_info_get_type ())
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* GI_BASE_INFO:
|
|
65
|
+
* @info: Info object which is subject to casting.
|
|
66
|
+
*
|
|
67
|
+
* Casts a [type@GIRepository.BaseInfo] or derived pointer into a
|
|
68
|
+
* `(GIBaseInfo*)` pointer.
|
|
69
|
+
*
|
|
70
|
+
* Depending on the current debugging level, this function may invoke
|
|
71
|
+
* certain runtime checks to identify invalid casts.
|
|
72
|
+
*
|
|
73
|
+
* Since: 2.80
|
|
74
|
+
*/
|
|
75
|
+
#define GI_BASE_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_BASE_INFO, GIBaseInfo))
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* GI_IS_BASE_INFO:
|
|
79
|
+
* @info: Instance to check for being a `GI_TYPE_BASE_INFO`.
|
|
80
|
+
*
|
|
81
|
+
* Checks whether a valid [type@GObject.TypeInstance] pointer is of type
|
|
82
|
+
* `GI_TYPE_BASE_INFO` (or a derived type).
|
|
83
|
+
*
|
|
84
|
+
* Since: 2.80
|
|
85
|
+
*/
|
|
86
|
+
#define GI_IS_BASE_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_BASE_INFO))
|
|
87
|
+
|
|
88
|
+
GI_AVAILABLE_IN_ALL
|
|
89
|
+
GType gi_base_info_get_type (void) G_GNUC_CONST;
|
|
90
|
+
|
|
91
|
+
GI_AVAILABLE_IN_ALL
|
|
92
|
+
GIBaseInfo * gi_base_info_ref (void *info);
|
|
93
|
+
|
|
94
|
+
GI_AVAILABLE_IN_ALL
|
|
95
|
+
void gi_base_info_unref (void *info);
|
|
96
|
+
|
|
97
|
+
GI_AVAILABLE_IN_ALL
|
|
98
|
+
void gi_base_info_clear (void *info);
|
|
99
|
+
|
|
100
|
+
GI_AVAILABLE_IN_ALL
|
|
101
|
+
const char * gi_base_info_get_name (GIBaseInfo *info);
|
|
102
|
+
|
|
103
|
+
GI_AVAILABLE_IN_ALL
|
|
104
|
+
const char * gi_base_info_get_namespace (GIBaseInfo *info);
|
|
105
|
+
|
|
106
|
+
GI_AVAILABLE_IN_ALL
|
|
107
|
+
gboolean gi_base_info_is_deprecated (GIBaseInfo *info);
|
|
108
|
+
|
|
109
|
+
GI_AVAILABLE_IN_ALL
|
|
110
|
+
const char * gi_base_info_get_attribute (GIBaseInfo *info,
|
|
111
|
+
const char *name);
|
|
112
|
+
|
|
113
|
+
GI_AVAILABLE_IN_ALL
|
|
114
|
+
gboolean gi_base_info_iterate_attributes (GIBaseInfo *info,
|
|
115
|
+
GIAttributeIter *iterator,
|
|
116
|
+
const char **name,
|
|
117
|
+
const char **value);
|
|
118
|
+
|
|
119
|
+
GI_AVAILABLE_IN_ALL
|
|
120
|
+
GIBaseInfo * gi_base_info_get_container (GIBaseInfo *info);
|
|
121
|
+
|
|
122
|
+
GI_AVAILABLE_IN_ALL
|
|
123
|
+
GITypelib * gi_base_info_get_typelib (GIBaseInfo *info);
|
|
124
|
+
|
|
125
|
+
GI_AVAILABLE_IN_ALL
|
|
126
|
+
gboolean gi_base_info_equal (GIBaseInfo *info1,
|
|
127
|
+
GIBaseInfo *info2);
|
|
128
|
+
|
|
129
|
+
G_END_DECLS
|
|
@@ -0,0 +1,119 @@
|
|
|
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
|
+
#define GI_TYPE_CALLABLE_INFO (gi_callable_info_get_type ())
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* GI_CALLABLE_INFO:
|
|
39
|
+
* @info: Info object which is subject to casting.
|
|
40
|
+
*
|
|
41
|
+
* Casts a [type@GIRepository.CallableInfo] or derived pointer into a
|
|
42
|
+
* `(GICallableInfo*)` 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_CALLABLE_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_CALLABLE_INFO, GICallableInfo))
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* GI_IS_CALLABLE_INFO:
|
|
53
|
+
* @info: an info structure
|
|
54
|
+
*
|
|
55
|
+
* Checks if @info is a [class@GIRepository.CallableInfo] or derived from it.
|
|
56
|
+
*
|
|
57
|
+
* Since: 2.80
|
|
58
|
+
*/
|
|
59
|
+
#define GI_IS_CALLABLE_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_CALLABLE_INFO))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
GI_AVAILABLE_IN_ALL
|
|
63
|
+
gboolean gi_callable_info_is_method (GICallableInfo *info);
|
|
64
|
+
|
|
65
|
+
GI_AVAILABLE_IN_ALL
|
|
66
|
+
gboolean gi_callable_info_can_throw_gerror (GICallableInfo *info);
|
|
67
|
+
|
|
68
|
+
GI_AVAILABLE_IN_ALL
|
|
69
|
+
GITypeInfo * gi_callable_info_get_return_type (GICallableInfo *info);
|
|
70
|
+
|
|
71
|
+
GI_AVAILABLE_IN_ALL
|
|
72
|
+
void gi_callable_info_load_return_type (GICallableInfo *info,
|
|
73
|
+
GITypeInfo *type);
|
|
74
|
+
|
|
75
|
+
GI_AVAILABLE_IN_ALL
|
|
76
|
+
const char * gi_callable_info_get_return_attribute (GICallableInfo *info,
|
|
77
|
+
const char *name);
|
|
78
|
+
|
|
79
|
+
GI_AVAILABLE_IN_ALL
|
|
80
|
+
gboolean gi_callable_info_iterate_return_attributes (GICallableInfo *info,
|
|
81
|
+
GIAttributeIter *iterator,
|
|
82
|
+
const char **name,
|
|
83
|
+
const char **value);
|
|
84
|
+
|
|
85
|
+
GI_AVAILABLE_IN_ALL
|
|
86
|
+
GITransfer gi_callable_info_get_caller_owns (GICallableInfo *info);
|
|
87
|
+
|
|
88
|
+
GI_AVAILABLE_IN_ALL
|
|
89
|
+
gboolean gi_callable_info_may_return_null (GICallableInfo *info);
|
|
90
|
+
|
|
91
|
+
GI_AVAILABLE_IN_ALL
|
|
92
|
+
gboolean gi_callable_info_skip_return (GICallableInfo *info);
|
|
93
|
+
|
|
94
|
+
GI_AVAILABLE_IN_ALL
|
|
95
|
+
unsigned int gi_callable_info_get_n_args (GICallableInfo *info);
|
|
96
|
+
|
|
97
|
+
GI_AVAILABLE_IN_ALL
|
|
98
|
+
GIArgInfo * gi_callable_info_get_arg (GICallableInfo *info,
|
|
99
|
+
unsigned int n);
|
|
100
|
+
|
|
101
|
+
GI_AVAILABLE_IN_ALL
|
|
102
|
+
void gi_callable_info_load_arg (GICallableInfo *info,
|
|
103
|
+
unsigned int n,
|
|
104
|
+
GIArgInfo *arg);
|
|
105
|
+
|
|
106
|
+
GI_AVAILABLE_IN_ALL
|
|
107
|
+
gboolean gi_callable_info_invoke (GICallableInfo *info,
|
|
108
|
+
void *function,
|
|
109
|
+
const GIArgument *in_args,
|
|
110
|
+
size_t n_in_args,
|
|
111
|
+
GIArgument *out_args,
|
|
112
|
+
size_t n_out_args,
|
|
113
|
+
GIArgument *return_value,
|
|
114
|
+
GError **error);
|
|
115
|
+
|
|
116
|
+
GI_AVAILABLE_IN_ALL
|
|
117
|
+
GITransfer gi_callable_info_get_instance_ownership_transfer (GICallableInfo *info);
|
|
118
|
+
|
|
119
|
+
G_END_DECLS
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
#define GI_TYPE_CALLBACK_INFO (gi_callback_info_get_type ())
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* GI_CALLBACK_INFO:
|
|
38
|
+
* @info: Info object which is subject to casting.
|
|
39
|
+
*
|
|
40
|
+
* Casts a [type@GIRepository.CallbackInfo] or derived pointer into a
|
|
41
|
+
* `(GICallbackInfo*)` pointer.
|
|
42
|
+
*
|
|
43
|
+
* Depending on the current debugging level, this function may invoke
|
|
44
|
+
* certain runtime checks to identify invalid casts.
|
|
45
|
+
*
|
|
46
|
+
* Since: 2.80
|
|
47
|
+
*/
|
|
48
|
+
#define GI_CALLBACK_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_CALLBACK_INFO, GICallbackInfo))
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* GI_IS_CALLBACK_INFO:
|
|
52
|
+
* @info: an info structure
|
|
53
|
+
*
|
|
54
|
+
* Checks if @info is a [class@GIRepository.CallbackInfo] or derived from it.
|
|
55
|
+
*
|
|
56
|
+
* Since: 2.80
|
|
57
|
+
*/
|
|
58
|
+
#define GI_IS_CALLBACK_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_CALLBACK_INFO))
|
|
59
|
+
|
|
60
|
+
G_END_DECLS
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
#define GI_TYPE_CONSTANT_INFO (gi_constant_info_get_type ())
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* GI_CONSTANT_INFO:
|
|
39
|
+
* @info: Info object which is subject to casting.
|
|
40
|
+
*
|
|
41
|
+
* Casts a [type@GIRepository.ConstantInfo] or derived pointer into a
|
|
42
|
+
* `(GIConstantInfo*)` 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_CONSTANT_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_CONSTANT_INFO, GIConstantInfo))
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* GI_IS_CONSTANT_INFO:
|
|
53
|
+
* @info: an info structure
|
|
54
|
+
*
|
|
55
|
+
* Checks if @info is a [class@GIRepository.ConstantInfo] (or a derived type).
|
|
56
|
+
*
|
|
57
|
+
* Since: 2.80
|
|
58
|
+
*/
|
|
59
|
+
#define GI_IS_CONSTANT_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_CONSTANT_INFO))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
GI_AVAILABLE_IN_ALL
|
|
63
|
+
GITypeInfo * gi_constant_info_get_type_info (GIConstantInfo *info);
|
|
64
|
+
|
|
65
|
+
GI_AVAILABLE_IN_ALL
|
|
66
|
+
void gi_constant_info_free_value (GIConstantInfo *info,
|
|
67
|
+
GIArgument *value);
|
|
68
|
+
|
|
69
|
+
GI_AVAILABLE_IN_ALL
|
|
70
|
+
size_t gi_constant_info_get_value (GIConstantInfo *info,
|
|
71
|
+
GIArgument *value);
|
|
72
|
+
G_END_DECLS
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
#define GI_TYPE_ENUM_INFO (gi_enum_info_get_type ())
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* GI_ENUM_INFO:
|
|
39
|
+
* @info: Info object which is subject to casting.
|
|
40
|
+
*
|
|
41
|
+
* Casts a [type@GIRepository.EnumInfo] or derived pointer into a
|
|
42
|
+
* `(GIEnumInfo*)` 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_ENUM_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_ENUM_INFO, GIEnumInfo))
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* GI_IS_ENUM_INFO:
|
|
53
|
+
* @info: an info structure
|
|
54
|
+
*
|
|
55
|
+
* Checks if @info is a [class@GIRepository.EnumInfo] (or a derived type).
|
|
56
|
+
*
|
|
57
|
+
* Since: 2.80
|
|
58
|
+
*/
|
|
59
|
+
#define GI_IS_ENUM_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_ENUM_INFO))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
GI_AVAILABLE_IN_ALL
|
|
63
|
+
unsigned int gi_enum_info_get_n_values (GIEnumInfo *info);
|
|
64
|
+
|
|
65
|
+
GI_AVAILABLE_IN_ALL
|
|
66
|
+
GIValueInfo * gi_enum_info_get_value (GIEnumInfo *info,
|
|
67
|
+
unsigned int n);
|
|
68
|
+
|
|
69
|
+
GI_AVAILABLE_IN_ALL
|
|
70
|
+
unsigned int gi_enum_info_get_n_methods (GIEnumInfo *info);
|
|
71
|
+
|
|
72
|
+
GI_AVAILABLE_IN_ALL
|
|
73
|
+
GIFunctionInfo * gi_enum_info_get_method (GIEnumInfo *info,
|
|
74
|
+
unsigned int n);
|
|
75
|
+
|
|
76
|
+
GI_AVAILABLE_IN_ALL
|
|
77
|
+
GITypeTag gi_enum_info_get_storage_type (GIEnumInfo *info);
|
|
78
|
+
|
|
79
|
+
GI_AVAILABLE_IN_ALL
|
|
80
|
+
const char * gi_enum_info_get_error_domain (GIEnumInfo *info);
|
|
81
|
+
|
|
82
|
+
G_END_DECLS
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
#define GI_TYPE_FIELD_INFO (gi_field_info_get_type ())
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* GI_FIELD_INFO:
|
|
39
|
+
* @info: Info object which is subject to casting.
|
|
40
|
+
*
|
|
41
|
+
* Casts a [type@GIRepository.FieldInfo] or derived pointer into a
|
|
42
|
+
* `(GIFieldInfo*)` 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_FIELD_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_FIELD_INFO, GIFieldInfo))
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* GI_IS_FIELD_INFO:
|
|
53
|
+
* @info: an info structure
|
|
54
|
+
*
|
|
55
|
+
* Checks if @info is a [class@GIRepository.FieldInfo] (or a derived type).
|
|
56
|
+
*
|
|
57
|
+
* Since: 2.80
|
|
58
|
+
*/
|
|
59
|
+
#define GI_IS_FIELD_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_FIELD_INFO))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
GI_AVAILABLE_IN_ALL
|
|
63
|
+
GIFieldInfoFlags gi_field_info_get_flags (GIFieldInfo *info);
|
|
64
|
+
|
|
65
|
+
GI_AVAILABLE_IN_ALL
|
|
66
|
+
size_t gi_field_info_get_size (GIFieldInfo *info);
|
|
67
|
+
|
|
68
|
+
GI_AVAILABLE_IN_ALL
|
|
69
|
+
size_t gi_field_info_get_offset (GIFieldInfo *info);
|
|
70
|
+
|
|
71
|
+
GI_AVAILABLE_IN_ALL
|
|
72
|
+
GITypeInfo * gi_field_info_get_type_info (GIFieldInfo *info);
|
|
73
|
+
|
|
74
|
+
GI_AVAILABLE_IN_ALL
|
|
75
|
+
gboolean gi_field_info_get_field (GIFieldInfo *field_info,
|
|
76
|
+
void *mem,
|
|
77
|
+
GIArgument *value);
|
|
78
|
+
|
|
79
|
+
GI_AVAILABLE_IN_ALL
|
|
80
|
+
gboolean gi_field_info_set_field (GIFieldInfo *field_info,
|
|
81
|
+
void *mem,
|
|
82
|
+
const GIArgument *value);
|
|
83
|
+
|
|
84
|
+
G_END_DECLS
|