gobject-introspection 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +7 -7
- data/ext/gobject-introspection/rb-gi-argument.c +28 -3
- data/ext/gobject-introspection/rb-gi-constructor-info.c +6 -1
- data/ext/gobject-introspection/rb-gi-function-info.c +29 -4
- data/ext/gobject-introspection/rb-gi-loader.c +19 -3
- data/ext/gobject-introspection/rb-gi-struct-info.c +28 -16
- data/lib/2.0/gobject_introspection.so +0 -0
- data/lib/gobject-introspection/callable-info.rb +16 -7
- data/lib/gobject-introspection/loader.rb +47 -19
- data/test/test-object-info.rb +1 -1
- data/test/test-signal-info.rb +2 -2
- data/test/test-struct-info.rb +1 -1
- data/vendor/local/bin/g-ir-compiler.exe +0 -0
- data/vendor/local/bin/g-ir-generate.exe +0 -0
- data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
- data/vendor/local/include/gobject-introspection-1.0/giarginfo.h +30 -0
- data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +31 -0
- data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +36 -0
- data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +12 -0
- data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +26 -0
- data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +19 -0
- data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +23 -0
- data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +38 -0
- data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +72 -2
- data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +12 -0
- data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +11 -0
- data/vendor/local/include/gobject-introspection-1.0/girepository.h +68 -8
- data/vendor/local/include/gobject-introspection-1.0/girffi.h +25 -1
- data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +12 -0
- data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +24 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +31 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +25 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypes.h +84 -13
- data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +27 -0
- data/vendor/local/include/gobject-introspection-1.0/giversionmacros.h +128 -0
- data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +17 -0
- data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GObject-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Gio-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/libxml2-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/win32-1.0.typelib +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.py +5 -4
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.py +1865 -913
- data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ast.py +49 -16
- data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/cachestore.py +10 -4
- data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.py +202 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.py +32 -1
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.py +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.py +305 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/callback.tmpl +4 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/field.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/function.tmpl +8 -9
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/interface.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/callback.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl +17 -5
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/enum.tmpl +8 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/field.tmpl +9 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/function.tmpl +12 -13
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/interface.tmpl +17 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/property.tmpl +3 -4
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/signal.tmpl +10 -9
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +7 -7
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +5 -4
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/field.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl +8 -14
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/interface.tmpl +16 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/property.tmpl +2 -3
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/signal.tmpl +6 -7
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +7 -13
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +10 -19
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +24 -3
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +4 -7
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +375 -61
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.py +43 -75
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.py +1 -20
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girparser.py +33 -15
- data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girwriter.py +51 -22
- data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.py +285 -254
- data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/message.py +41 -25
- data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.py +67 -15
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.py +10 -6
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.py +14 -8
- data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.py +16 -2
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/transformer.py +150 -169
- data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/utils.py +64 -3
- data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.py +5 -44
- data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
- data/vendor/local/lib/libgirepository-1.0.a +0 -0
- data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
- data/vendor/local/lib/libgirepository-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +4 -4
- data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +5 -5
- data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +352 -143
- data/vendor/local/share/gir-1.0/GLib-2.0.gir +6402 -3872
- data/vendor/local/share/gir-1.0/GModule-2.0.gir +42 -24
- data/vendor/local/share/gir-1.0/GObject-2.0.gir +1543 -887
- data/vendor/local/share/gir-1.0/Gio-2.0.gir +10859 -3705
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +10 -14
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +112 -9
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +2 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +11 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +106 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +107 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.c +3 -3
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.h +145 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +166 -10
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +790 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gitestmacros.h +10 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +79 -28
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +462 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +2 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +7 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +14 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +10 -0
- data/vendor/local/share/man/man1/g-ir-compiler.1 +1 -10
- metadata +38 -23
- data/lib/1.9/gobject_introspection.so +0 -0
- data/lib/2.1/gobject_introspection.so +0 -0
@@ -45,6 +45,7 @@
|
|
45
45
|
#include <gitypelib.h>
|
46
46
|
#include <gitypes.h>
|
47
47
|
#include <giunioninfo.h>
|
48
|
+
#include <giversionmacros.h>
|
48
49
|
#include <givfuncinfo.h>
|
49
50
|
|
50
51
|
G_BEGIN_DECLS
|
@@ -56,29 +57,34 @@ G_BEGIN_DECLS
|
|
56
57
|
#define G_IS_IREPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), G_TYPE_IREPOSITORY))
|
57
58
|
#define G_IREPOSITORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_IREPOSITORY, GIRepositoryClass))
|
58
59
|
|
60
|
+
/**
|
61
|
+
* GIRepository:
|
62
|
+
*
|
63
|
+
* The GIRepository structure contains private data and should only be
|
64
|
+
* accessed using the provided API.
|
65
|
+
*/
|
59
66
|
typedef struct _GIRepository GIRepository;
|
60
67
|
typedef struct _GIRepositoryClass GIRepositoryClass;
|
61
68
|
typedef struct _GIRepositoryPrivate GIRepositoryPrivate;
|
62
69
|
|
63
70
|
struct _GIRepository
|
64
71
|
{
|
65
|
-
GObject parent;
|
66
|
-
|
67
72
|
/*< private >*/
|
73
|
+
GObject parent;
|
68
74
|
GIRepositoryPrivate *priv;
|
69
75
|
};
|
70
76
|
|
71
77
|
struct _GIRepositoryClass
|
72
78
|
{
|
79
|
+
/*< private >*/
|
73
80
|
GObjectClass parent;
|
74
81
|
};
|
75
82
|
|
76
83
|
/**
|
77
84
|
* GIRepositoryLoadFlags:
|
78
|
-
* @G_IREPOSITORY_LOAD_FLAG_LAZY:
|
85
|
+
* @G_IREPOSITORY_LOAD_FLAG_LAZY: Lazily load the typelib.
|
79
86
|
*
|
80
|
-
* Flags that
|
81
|
-
* GIRepositry, used by g_irepository_load_typelib().
|
87
|
+
* Flags that control how a typelib is loaded.
|
82
88
|
*/
|
83
89
|
typedef enum
|
84
90
|
{
|
@@ -87,68 +93,113 @@ typedef enum
|
|
87
93
|
|
88
94
|
/* Repository */
|
89
95
|
|
96
|
+
GI_AVAILABLE_IN_ALL
|
90
97
|
GType g_irepository_get_type (void) G_GNUC_CONST;
|
98
|
+
|
99
|
+
GI_AVAILABLE_IN_ALL
|
91
100
|
GIRepository *g_irepository_get_default (void);
|
101
|
+
|
102
|
+
GI_AVAILABLE_IN_ALL
|
92
103
|
void g_irepository_prepend_search_path (const char *directory);
|
104
|
+
|
105
|
+
GI_AVAILABLE_IN_1_36
|
93
106
|
void g_irepository_prepend_library_path (const char *directory);
|
107
|
+
|
108
|
+
GI_AVAILABLE_IN_ALL
|
94
109
|
GSList * g_irepository_get_search_path (void);
|
110
|
+
|
111
|
+
GI_AVAILABLE_IN_ALL
|
95
112
|
const char * g_irepository_load_typelib (GIRepository *repository,
|
96
113
|
GITypelib *typelib,
|
97
114
|
GIRepositoryLoadFlags flags,
|
98
115
|
GError **error);
|
116
|
+
|
117
|
+
GI_AVAILABLE_IN_ALL
|
99
118
|
gboolean g_irepository_is_registered (GIRepository *repository,
|
100
119
|
const gchar *namespace_,
|
101
120
|
const gchar *version);
|
121
|
+
|
122
|
+
GI_AVAILABLE_IN_ALL
|
102
123
|
GIBaseInfo * g_irepository_find_by_name (GIRepository *repository,
|
103
124
|
const gchar *namespace_,
|
104
125
|
const gchar *name);
|
126
|
+
|
127
|
+
GI_AVAILABLE_IN_ALL
|
105
128
|
GList * g_irepository_enumerate_versions (GIRepository *repository,
|
106
129
|
const gchar *namespace_);
|
130
|
+
|
131
|
+
GI_AVAILABLE_IN_ALL
|
107
132
|
GITypelib * g_irepository_require (GIRepository *repository,
|
108
133
|
const gchar *namespace_,
|
109
134
|
const gchar *version,
|
110
135
|
GIRepositoryLoadFlags flags,
|
111
136
|
GError **error);
|
137
|
+
|
138
|
+
GI_AVAILABLE_IN_ALL
|
112
139
|
GITypelib * g_irepository_require_private (GIRepository *repository,
|
113
140
|
const gchar *typelib_dir,
|
114
141
|
const gchar *namespace_,
|
115
142
|
const gchar *version,
|
116
143
|
GIRepositoryLoadFlags flags,
|
117
144
|
GError **error);
|
145
|
+
|
146
|
+
GI_AVAILABLE_IN_ALL
|
118
147
|
gchar ** g_irepository_get_dependencies (GIRepository *repository,
|
119
148
|
const gchar *namespace_);
|
149
|
+
|
150
|
+
GI_AVAILABLE_IN_ALL
|
120
151
|
gchar ** g_irepository_get_loaded_namespaces (GIRepository *repository);
|
152
|
+
|
153
|
+
GI_AVAILABLE_IN_ALL
|
121
154
|
GIBaseInfo * g_irepository_find_by_gtype (GIRepository *repository,
|
122
155
|
GType gtype);
|
156
|
+
|
157
|
+
GI_AVAILABLE_IN_ALL
|
123
158
|
gint g_irepository_get_n_infos (GIRepository *repository,
|
124
159
|
const gchar *namespace_);
|
160
|
+
|
161
|
+
GI_AVAILABLE_IN_ALL
|
125
162
|
GIBaseInfo * g_irepository_get_info (GIRepository *repository,
|
126
163
|
const gchar *namespace_,
|
127
164
|
gint index);
|
165
|
+
|
166
|
+
GI_AVAILABLE_IN_ALL
|
128
167
|
GIEnumInfo * g_irepository_find_by_error_domain (GIRepository *repository,
|
129
168
|
GQuark domain);
|
169
|
+
|
170
|
+
GI_AVAILABLE_IN_ALL
|
130
171
|
const gchar * g_irepository_get_typelib_path (GIRepository *repository,
|
131
172
|
const gchar *namespace_);
|
173
|
+
GI_AVAILABLE_IN_ALL
|
132
174
|
const gchar * g_irepository_get_shared_library (GIRepository *repository,
|
133
175
|
const gchar *namespace_);
|
176
|
+
GI_AVAILABLE_IN_ALL
|
134
177
|
const gchar * g_irepository_get_c_prefix (GIRepository *repository,
|
135
178
|
const gchar *namespace_);
|
179
|
+
GI_AVAILABLE_IN_ALL
|
136
180
|
const gchar * g_irepository_get_version (GIRepository *repository,
|
137
181
|
const gchar *namespace_);
|
138
182
|
|
183
|
+
|
184
|
+
GI_AVAILABLE_IN_ALL
|
139
185
|
GOptionGroup * g_irepository_get_option_group (void);
|
140
186
|
|
187
|
+
|
188
|
+
GI_AVAILABLE_IN_ALL
|
141
189
|
gboolean g_irepository_dump (const char *arg, GError **error);
|
142
190
|
|
143
191
|
/**
|
144
192
|
* GIRepositoryError:
|
145
193
|
* @G_IREPOSITORY_ERROR_TYPELIB_NOT_FOUND: the typelib could not be found.
|
146
194
|
* @G_IREPOSITORY_ERROR_NAMESPACE_MISMATCH: the namespace does not match the
|
147
|
-
*
|
195
|
+
* requested namespace.
|
148
196
|
* @G_IREPOSITORY_ERROR_NAMESPACE_VERSION_CONFLICT: the version of the
|
149
|
-
*
|
197
|
+
* typelib does not match the requested version.
|
150
198
|
* @G_IREPOSITORY_ERROR_LIBRARY_NOT_FOUND: the library used by the typelib
|
151
|
-
*
|
199
|
+
* could not be found.
|
200
|
+
*
|
201
|
+
* An error code used with #G_IREPOSITORY_ERROR in a #GError returned
|
202
|
+
* from a #GIRepository routine.
|
152
203
|
*/
|
153
204
|
typedef enum
|
154
205
|
{
|
@@ -158,13 +209,22 @@ typedef enum
|
|
158
209
|
G_IREPOSITORY_ERROR_LIBRARY_NOT_FOUND
|
159
210
|
} GIRepositoryError;
|
160
211
|
|
212
|
+
/**
|
213
|
+
* G_IREPOSITORY_ERROR:
|
214
|
+
*
|
215
|
+
* Error domain for #GIRepository. Errors in this domain will be from the
|
216
|
+
* #GIRepositoryError enumeration. See #GError for more information on
|
217
|
+
* error domains.
|
218
|
+
*/
|
161
219
|
#define G_IREPOSITORY_ERROR (g_irepository_error_quark ())
|
162
220
|
|
221
|
+
GI_AVAILABLE_IN_ALL
|
163
222
|
GQuark g_irepository_error_quark (void);
|
164
223
|
|
165
224
|
|
166
225
|
/* Global utility functions */
|
167
226
|
|
227
|
+
GI_AVAILABLE_IN_ALL
|
168
228
|
void gi_cclosure_marshal_generic (GClosure *closure,
|
169
229
|
GValue *return_gvalue,
|
170
230
|
guint n_param_values,
|
@@ -27,6 +27,15 @@
|
|
27
27
|
|
28
28
|
G_BEGIN_DECLS
|
29
29
|
|
30
|
+
/**
|
31
|
+
* GIFFIClosureCallback:
|
32
|
+
* @Param1: TODO
|
33
|
+
* @Param2: TODO
|
34
|
+
* @Param3: TODO
|
35
|
+
* @Param4: TODO
|
36
|
+
*
|
37
|
+
* TODO
|
38
|
+
*/
|
30
39
|
typedef void (*GIFFIClosureCallback) (ffi_cif *,
|
31
40
|
void *,
|
32
41
|
void **,
|
@@ -35,7 +44,9 @@ typedef void (*GIFFIClosureCallback) (ffi_cif *,
|
|
35
44
|
/**
|
36
45
|
* GIFunctionInvoker:
|
37
46
|
* @cif: the cif
|
38
|
-
* @native_address: the native
|
47
|
+
* @native_address: the native address
|
48
|
+
*
|
49
|
+
* TODO
|
39
50
|
*/
|
40
51
|
typedef struct _GIFunctionInvoker GIFunctionInvoker;
|
41
52
|
|
@@ -46,32 +57,45 @@ struct _GIFunctionInvoker {
|
|
46
57
|
gpointer padding[3];
|
47
58
|
};
|
48
59
|
|
60
|
+
/**
|
61
|
+
* GIFFIReturnValue:
|
62
|
+
*
|
63
|
+
* TODO
|
64
|
+
*/
|
49
65
|
typedef GIArgument GIFFIReturnValue;
|
50
66
|
|
67
|
+
GI_AVAILABLE_IN_ALL
|
51
68
|
ffi_type * gi_type_tag_get_ffi_type (GITypeTag type_tag, gboolean is_pointer);
|
52
69
|
|
70
|
+
GI_AVAILABLE_IN_ALL
|
53
71
|
ffi_type * g_type_info_get_ffi_type (GITypeInfo *info);
|
54
72
|
|
73
|
+
GI_AVAILABLE_IN_1_32
|
55
74
|
void gi_type_info_extract_ffi_return_value (GITypeInfo *return_info,
|
56
75
|
GIFFIReturnValue *ffi_value,
|
57
76
|
GIArgument *arg);
|
58
77
|
|
78
|
+
GI_AVAILABLE_IN_ALL
|
59
79
|
gboolean g_function_info_prep_invoker (GIFunctionInfo *info,
|
60
80
|
GIFunctionInvoker *invoker,
|
61
81
|
GError **error);
|
62
82
|
|
83
|
+
GI_AVAILABLE_IN_1_32
|
63
84
|
gboolean g_function_invoker_new_for_address (gpointer addr,
|
64
85
|
GICallableInfo *info,
|
65
86
|
GIFunctionInvoker *invoker,
|
66
87
|
GError **error);
|
67
88
|
|
89
|
+
GI_AVAILABLE_IN_ALL
|
68
90
|
void g_function_invoker_destroy (GIFunctionInvoker *invoker);
|
69
91
|
|
70
92
|
|
93
|
+
GI_AVAILABLE_IN_ALL
|
71
94
|
ffi_closure * g_callable_info_prepare_closure (GICallableInfo *callable_info,
|
72
95
|
ffi_cif *cif,
|
73
96
|
GIFFIClosureCallback callback,
|
74
97
|
gpointer user_data);
|
98
|
+
GI_AVAILABLE_IN_ALL
|
75
99
|
void g_callable_info_free_closure (GICallableInfo *callable_info,
|
76
100
|
ffi_closure *closure);
|
77
101
|
|
@@ -32,11 +32,23 @@
|
|
32
32
|
|
33
33
|
G_BEGIN_DECLS
|
34
34
|
|
35
|
+
/**
|
36
|
+
* GI_IS_SIGNAL_INFO
|
37
|
+
* @info: an info structure
|
38
|
+
*
|
39
|
+
* Checks if @info is a #GISignalInfo.
|
40
|
+
*/
|
35
41
|
#define GI_IS_SIGNAL_INFO(info) \
|
36
42
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_SIGNAL)
|
37
43
|
|
44
|
+
|
45
|
+
GI_AVAILABLE_IN_ALL
|
38
46
|
GSignalFlags g_signal_info_get_flags (GISignalInfo *info);
|
47
|
+
|
48
|
+
GI_AVAILABLE_IN_ALL
|
39
49
|
GIVFuncInfo * g_signal_info_get_class_closure (GISignalInfo *info);
|
50
|
+
|
51
|
+
GI_AVAILABLE_IN_ALL
|
40
52
|
gboolean g_signal_info_true_stops_emit (GISignalInfo *info);
|
41
53
|
|
42
54
|
G_END_DECLS
|
@@ -31,20 +31,44 @@
|
|
31
31
|
|
32
32
|
G_BEGIN_DECLS
|
33
33
|
|
34
|
+
/**
|
35
|
+
* GI_IS_STRUCT_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a #GIStructInfo.
|
39
|
+
*/
|
34
40
|
#define GI_IS_STRUCT_INFO(info) \
|
35
41
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_STRUCT)
|
36
42
|
|
43
|
+
|
44
|
+
GI_AVAILABLE_IN_ALL
|
37
45
|
gint g_struct_info_get_n_fields (GIStructInfo *info);
|
46
|
+
|
47
|
+
GI_AVAILABLE_IN_ALL
|
38
48
|
GIFieldInfo * g_struct_info_get_field (GIStructInfo *info,
|
39
49
|
gint n);
|
50
|
+
|
51
|
+
GI_AVAILABLE_IN_ALL
|
40
52
|
gint g_struct_info_get_n_methods (GIStructInfo *info);
|
53
|
+
|
54
|
+
GI_AVAILABLE_IN_ALL
|
41
55
|
GIFunctionInfo * g_struct_info_get_method (GIStructInfo *info,
|
42
56
|
gint n);
|
57
|
+
|
58
|
+
GI_AVAILABLE_IN_ALL
|
43
59
|
GIFunctionInfo * g_struct_info_find_method (GIStructInfo *info,
|
44
60
|
const gchar *name);
|
61
|
+
|
62
|
+
GI_AVAILABLE_IN_ALL
|
45
63
|
gsize g_struct_info_get_size (GIStructInfo *info);
|
64
|
+
|
65
|
+
GI_AVAILABLE_IN_ALL
|
46
66
|
gsize g_struct_info_get_alignment (GIStructInfo *info);
|
67
|
+
|
68
|
+
GI_AVAILABLE_IN_ALL
|
47
69
|
gboolean g_struct_info_is_gtype_struct (GIStructInfo *info);
|
70
|
+
|
71
|
+
GI_AVAILABLE_IN_ALL
|
48
72
|
gboolean g_struct_info_is_foreign (GIStructInfo *info);
|
49
73
|
|
50
74
|
G_END_DECLS
|
@@ -31,22 +31,53 @@
|
|
31
31
|
|
32
32
|
G_BEGIN_DECLS
|
33
33
|
|
34
|
+
/**
|
35
|
+
* GI_IS_TYPE_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a #GITypeInfo.
|
39
|
+
*/
|
34
40
|
#define GI_IS_TYPE_INFO(info) \
|
35
41
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_TYPE)
|
36
42
|
|
43
|
+
/**
|
44
|
+
* G_TYPE_TAG_IS_BASIC
|
45
|
+
* @tag: a type tag
|
46
|
+
*
|
47
|
+
* Checks if @tag is a basic type.
|
48
|
+
*/
|
37
49
|
#define G_TYPE_TAG_IS_BASIC(tag) (tag < GI_TYPE_TAG_ARRAY || tag == GI_TYPE_TAG_UNICHAR)
|
38
50
|
|
51
|
+
GI_AVAILABLE_IN_ALL
|
39
52
|
const gchar* g_type_tag_to_string (GITypeTag type);
|
53
|
+
|
54
|
+
GI_AVAILABLE_IN_ALL
|
40
55
|
const gchar* g_info_type_to_string (GIInfoType type);
|
41
56
|
|
57
|
+
|
58
|
+
GI_AVAILABLE_IN_ALL
|
42
59
|
gboolean g_type_info_is_pointer (GITypeInfo *info);
|
60
|
+
|
61
|
+
GI_AVAILABLE_IN_ALL
|
43
62
|
GITypeTag g_type_info_get_tag (GITypeInfo *info);
|
63
|
+
|
64
|
+
GI_AVAILABLE_IN_ALL
|
44
65
|
GITypeInfo * g_type_info_get_param_type (GITypeInfo *info,
|
45
66
|
gint n);
|
67
|
+
|
68
|
+
GI_AVAILABLE_IN_ALL
|
46
69
|
GIBaseInfo * g_type_info_get_interface (GITypeInfo *info);
|
70
|
+
|
71
|
+
GI_AVAILABLE_IN_ALL
|
47
72
|
gint g_type_info_get_array_length (GITypeInfo *info);
|
73
|
+
|
74
|
+
GI_AVAILABLE_IN_ALL
|
48
75
|
gint g_type_info_get_array_fixed_size(GITypeInfo *info);
|
76
|
+
|
77
|
+
GI_AVAILABLE_IN_ALL
|
49
78
|
gboolean g_type_info_is_zero_terminated (GITypeInfo *info);
|
79
|
+
|
80
|
+
GI_AVAILABLE_IN_ALL
|
50
81
|
GIArrayType g_type_info_get_array_type (GITypeInfo *info);
|
51
82
|
|
52
83
|
G_END_DECLS
|
@@ -29,23 +29,48 @@
|
|
29
29
|
|
30
30
|
#include <glib.h>
|
31
31
|
|
32
|
+
#include <giversionmacros.h>
|
33
|
+
|
32
34
|
G_BEGIN_DECLS
|
33
35
|
|
36
|
+
/**
|
37
|
+
* SECTION:gitypelib
|
38
|
+
* @title: gitypelib
|
39
|
+
* @short_description: TODO
|
40
|
+
*
|
41
|
+
* TODO
|
42
|
+
*/
|
43
|
+
|
44
|
+
/**
|
45
|
+
* GITypelib:
|
46
|
+
*
|
47
|
+
* TODO
|
48
|
+
*/
|
34
49
|
typedef struct _GITypelib GITypelib;
|
35
50
|
|
51
|
+
GI_AVAILABLE_IN_ALL
|
36
52
|
GITypelib * g_typelib_new_from_memory (guint8 *memory,
|
37
53
|
gsize len,
|
38
54
|
GError **error);
|
55
|
+
|
56
|
+
GI_AVAILABLE_IN_ALL
|
39
57
|
GITypelib * g_typelib_new_from_const_memory (const guint8 *memory,
|
40
58
|
gsize len,
|
41
59
|
GError **error);
|
60
|
+
|
61
|
+
GI_AVAILABLE_IN_ALL
|
42
62
|
GITypelib * g_typelib_new_from_mapped_file (GMappedFile *mfile,
|
43
63
|
GError **error);
|
64
|
+
|
65
|
+
GI_AVAILABLE_IN_ALL
|
44
66
|
void g_typelib_free (GITypelib *typelib);
|
45
67
|
|
68
|
+
GI_AVAILABLE_IN_ALL
|
46
69
|
gboolean g_typelib_symbol (GITypelib *typelib,
|
47
70
|
const gchar *symbol_name,
|
48
71
|
gpointer *symbol);
|
72
|
+
|
73
|
+
GI_AVAILABLE_IN_ALL
|
49
74
|
const gchar * g_typelib_get_namespace (GITypelib *typelib);
|
50
75
|
|
51
76
|
|
@@ -27,9 +27,13 @@
|
|
27
27
|
#error "Only <girepository.h> can be included directly."
|
28
28
|
#endif
|
29
29
|
|
30
|
+
#include <giversionmacros.h>
|
31
|
+
|
30
32
|
G_BEGIN_DECLS
|
31
33
|
|
34
|
+
#ifndef __GTK_DOC_IGNORE__
|
32
35
|
typedef struct _GIBaseInfoStub GIBaseInfo;
|
36
|
+
#endif
|
33
37
|
|
34
38
|
/**
|
35
39
|
* GICallableInfo:
|
@@ -46,6 +50,25 @@ typedef GIBaseInfo GICallableInfo;
|
|
46
50
|
*/
|
47
51
|
typedef GIBaseInfo GIFunctionInfo;
|
48
52
|
|
53
|
+
/**
|
54
|
+
* SECTION:gicallbackinfo
|
55
|
+
* @title: GICallbackInfo
|
56
|
+
* @short_description: Struct representing a callback
|
57
|
+
*
|
58
|
+
* GICallbackInfo represents a callback.
|
59
|
+
*
|
60
|
+
* <refsect1 id="gi-gicallbackinfo.struct-hierarchy" role="struct_hierarchy">
|
61
|
+
* <title role="struct_hierarchy.title">Struct hierarchy</title>
|
62
|
+
* <synopsis>
|
63
|
+
* <link linkend="gi-GIBaseInfo">GIBaseInfo</link>
|
64
|
+
* +----<link linkend="gi-GICallableInfo">GICallableInfo</link>
|
65
|
+
* +----GIFunctionInfo
|
66
|
+
* +----<link linkend="gi-GISignalInfo">GISignalInfo</link>
|
67
|
+
* +----<link linkend="gi-GIVFuncInfo">GIVFuncInfo</link>
|
68
|
+
* </synopsis>
|
69
|
+
* </refsect1>
|
70
|
+
*/
|
71
|
+
|
49
72
|
/**
|
50
73
|
* GICallbackInfo:
|
51
74
|
*
|
@@ -102,6 +125,22 @@ typedef GIBaseInfo GIInterfaceInfo;
|
|
102
125
|
*/
|
103
126
|
typedef GIBaseInfo GIConstantInfo;
|
104
127
|
|
128
|
+
/**
|
129
|
+
* SECTION:givalueinfo
|
130
|
+
* @title: GIValueInfo
|
131
|
+
* @short_description: Struct representing a value
|
132
|
+
*
|
133
|
+
* GIValueInfo represents a value.
|
134
|
+
*
|
135
|
+
* <refsect1 id="gi-givalueinfo.struct-hierarchy" role="struct_hierarchy">
|
136
|
+
* <title role="struct_hierarchy.title">Struct hierarchy</title>
|
137
|
+
* <synopsis>
|
138
|
+
* <link linkend="gi-GIBaseInfo">GIBaseInfo</link>
|
139
|
+
* +----GIValueInfo
|
140
|
+
* </synopsis>
|
141
|
+
* </refsect1>
|
142
|
+
*/
|
143
|
+
|
105
144
|
/**
|
106
145
|
* GIValueInfo:
|
107
146
|
*
|
@@ -158,12 +197,7 @@ typedef GIBaseInfo GITypeInfo;
|
|
158
197
|
*/
|
159
198
|
typedef struct _GIUnresolvedInfo GIUnresolvedInfo;
|
160
199
|
|
161
|
-
|
162
|
-
* GIArgument:
|
163
|
-
*
|
164
|
-
* Stores an argument of varying type
|
165
|
-
*/
|
166
|
-
typedef union
|
200
|
+
union _GIArgument
|
167
201
|
{
|
168
202
|
gboolean v_boolean;
|
169
203
|
gint8 v_int8;
|
@@ -186,7 +220,35 @@ typedef union
|
|
186
220
|
gsize v_size;
|
187
221
|
gchar * v_string;
|
188
222
|
gpointer v_pointer;
|
189
|
-
}
|
223
|
+
};
|
224
|
+
|
225
|
+
/**
|
226
|
+
* GIArgument:
|
227
|
+
* @v_boolean: TODO
|
228
|
+
* @v_int8: TODO
|
229
|
+
* @v_uint8: TODO
|
230
|
+
* @v_int16: TODO
|
231
|
+
* @v_uint16: TODO
|
232
|
+
* @v_int32: TODO
|
233
|
+
* @v_uint32: TODO
|
234
|
+
* @v_int64: TODO
|
235
|
+
* @v_uint64: TODO
|
236
|
+
* @v_float: TODO
|
237
|
+
* @v_double: TODO
|
238
|
+
* @v_short: TODO
|
239
|
+
* @v_ushort: TODO
|
240
|
+
* @v_int: TODO
|
241
|
+
* @v_uint: TODO
|
242
|
+
* @v_long: TODO
|
243
|
+
* @v_ulong: TODO
|
244
|
+
* @v_ssize: TODO
|
245
|
+
* @v_size: TODO
|
246
|
+
* @v_string: TODO
|
247
|
+
* @v_pointer: TODO
|
248
|
+
*
|
249
|
+
* Stores an argument of varying type
|
250
|
+
*/
|
251
|
+
typedef union _GIArgument GIArgument;
|
190
252
|
|
191
253
|
/**
|
192
254
|
* GIInfoType:
|
@@ -200,6 +262,7 @@ typedef union
|
|
200
262
|
* @GI_INFO_TYPE_OBJECT: object, see #GIObjectInfo
|
201
263
|
* @GI_INFO_TYPE_INTERFACE: interface, see #GIInterfaceInfo
|
202
264
|
* @GI_INFO_TYPE_CONSTANT: contant, see #GIConstantInfo
|
265
|
+
* @GI_INFO_TYPE_INVALID_0: deleted, used to be GI_INFO_TYPE_ERROR_DOMAIN.
|
203
266
|
* @GI_INFO_TYPE_UNION: union, see #GIUnionInfo
|
204
267
|
* @GI_INFO_TYPE_VALUE: enum value, see #GIValueInfo
|
205
268
|
* @GI_INFO_TYPE_SIGNAL: signal, see #GISignalInfo
|
@@ -209,7 +272,7 @@ typedef union
|
|
209
272
|
* @GI_INFO_TYPE_ARG: argument of a function or callback, see #GIArgInfo
|
210
273
|
* @GI_INFO_TYPE_TYPE: type information, see #GITypeInfo
|
211
274
|
* @GI_INFO_TYPE_UNRESOLVED: unresolved type, a type which is not present in
|
212
|
-
*
|
275
|
+
* the typelib, or any of its dependencies.
|
213
276
|
*
|
214
277
|
* The type of a GIBaseInfo struct.
|
215
278
|
*/
|
@@ -225,7 +288,7 @@ typedef enum
|
|
225
288
|
GI_INFO_TYPE_OBJECT,
|
226
289
|
GI_INFO_TYPE_INTERFACE,
|
227
290
|
GI_INFO_TYPE_CONSTANT,
|
228
|
-
GI_INFO_TYPE_INVALID_0, /* 10 */
|
291
|
+
GI_INFO_TYPE_INVALID_0, /* 10 */
|
229
292
|
GI_INFO_TYPE_UNION,
|
230
293
|
GI_INFO_TYPE_VALUE,
|
231
294
|
GI_INFO_TYPE_SIGNAL,
|
@@ -319,17 +382,17 @@ typedef enum {
|
|
319
382
|
* @GI_TYPE_TAG_UINT64: 64-bit unsigned integer
|
320
383
|
* @GI_TYPE_TAG_FLOAT: float
|
321
384
|
* @GI_TYPE_TAG_DOUBLE: double floating point
|
322
|
-
* @GI_TYPE_TAG_UNICHAR: Unicode character
|
323
385
|
* @GI_TYPE_TAG_GTYPE: a #GType
|
324
386
|
* @GI_TYPE_TAG_UTF8: a UTF-8 encoded string
|
325
387
|
* @GI_TYPE_TAG_FILENAME: a filename, encoded in the same encoding
|
326
|
-
*
|
388
|
+
* as the native filesystem is using.
|
327
389
|
* @GI_TYPE_TAG_ARRAY: an array
|
328
390
|
* @GI_TYPE_TAG_INTERFACE: an extended interface object
|
329
391
|
* @GI_TYPE_TAG_GLIST: a #GList
|
330
392
|
* @GI_TYPE_TAG_GSLIST: a #GSList
|
331
393
|
* @GI_TYPE_TAG_GHASH: a #GHashTable
|
332
394
|
* @GI_TYPE_TAG_ERROR: a #GError
|
395
|
+
* @GI_TYPE_TAG_UNICHAR: Unicode character
|
333
396
|
*
|
334
397
|
* The type tag of a #GITypeInfo.
|
335
398
|
*/
|
@@ -359,12 +422,17 @@ typedef enum {
|
|
359
422
|
GI_TYPE_TAG_ERROR = 20,
|
360
423
|
/* Another basic type */
|
361
424
|
GI_TYPE_TAG_UNICHAR = 21
|
362
|
-
/* Note - there is only room
|
363
|
-
* See docs/typelib-format.txt SimpleTypeBlob definition */
|
425
|
+
/* Note - there is currently only room for 32 tags */
|
364
426
|
} GITypeTag;
|
365
427
|
|
428
|
+
/**
|
429
|
+
* GI_TYPE_TAG_N_TYPES:
|
430
|
+
*
|
431
|
+
* TODO
|
432
|
+
*/
|
366
433
|
#define GI_TYPE_TAG_N_TYPES (GI_TYPE_TAG_UNICHAR+1)
|
367
434
|
|
435
|
+
#ifndef __GTK_DOC_IGNORE__
|
368
436
|
/* These were removed and no longer appear in the typelib;
|
369
437
|
* instead, the machine-specific versions like INT32 are
|
370
438
|
* always used.
|
@@ -372,6 +440,7 @@ typedef enum {
|
|
372
440
|
#define GI_TYPE_TAG_SHORT GI_TYPE_TAG_SHORT_WAS_REMOVED
|
373
441
|
#define GI_TYPE_TAG_INT GI_TYPE_TAG_INT_WAS_REMOVED
|
374
442
|
#define GI_TYPE_TAG_LONG GI_TYPE_TAG_LONG_WAS_REMOVED
|
443
|
+
#endif
|
375
444
|
|
376
445
|
/**
|
377
446
|
* GIArrayType:
|
@@ -442,10 +511,12 @@ typedef enum
|
|
442
511
|
} GIFunctionInfoFlags;
|
443
512
|
|
444
513
|
#ifndef __GI_SCANNER__
|
514
|
+
#ifndef __GTK_DOC_IGNORE__
|
445
515
|
/* backwards compatibility */
|
446
516
|
typedef GIArgument GArgument;
|
447
517
|
typedef struct _GITypelib GTypelib;
|
448
518
|
#endif
|
519
|
+
#endif
|
449
520
|
|
450
521
|
G_END_DECLS
|
451
522
|
|
@@ -31,23 +31,50 @@
|
|
31
31
|
|
32
32
|
G_BEGIN_DECLS
|
33
33
|
|
34
|
+
/**
|
35
|
+
* GI_IS_UNION_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a #GIUnionInfo.
|
39
|
+
*/
|
34
40
|
#define GI_IS_UNION_INFO(info) \
|
35
41
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_UNION)
|
36
42
|
|
43
|
+
GI_AVAILABLE_IN_ALL
|
37
44
|
gint g_union_info_get_n_fields (GIUnionInfo *info);
|
45
|
+
|
46
|
+
GI_AVAILABLE_IN_ALL
|
38
47
|
GIFieldInfo * g_union_info_get_field (GIUnionInfo *info,
|
39
48
|
gint n);
|
49
|
+
|
50
|
+
GI_AVAILABLE_IN_ALL
|
40
51
|
gint g_union_info_get_n_methods (GIUnionInfo *info);
|
52
|
+
|
53
|
+
GI_AVAILABLE_IN_ALL
|
41
54
|
GIFunctionInfo * g_union_info_get_method (GIUnionInfo *info,
|
42
55
|
gint n);
|
56
|
+
|
57
|
+
GI_AVAILABLE_IN_ALL
|
43
58
|
gboolean g_union_info_is_discriminated (GIUnionInfo *info);
|
59
|
+
|
60
|
+
GI_AVAILABLE_IN_ALL
|
44
61
|
gint g_union_info_get_discriminator_offset (GIUnionInfo *info);
|
62
|
+
|
63
|
+
GI_AVAILABLE_IN_ALL
|
45
64
|
GITypeInfo * g_union_info_get_discriminator_type (GIUnionInfo *info);
|
65
|
+
|
66
|
+
GI_AVAILABLE_IN_ALL
|
46
67
|
GIConstantInfo * g_union_info_get_discriminator (GIUnionInfo *info,
|
47
68
|
gint n);
|
69
|
+
|
70
|
+
GI_AVAILABLE_IN_ALL
|
48
71
|
GIFunctionInfo * g_union_info_find_method (GIUnionInfo *info,
|
49
72
|
const gchar *name);
|
73
|
+
|
74
|
+
GI_AVAILABLE_IN_ALL
|
50
75
|
gsize g_union_info_get_size (GIUnionInfo *info);
|
76
|
+
|
77
|
+
GI_AVAILABLE_IN_ALL
|
51
78
|
gsize g_union_info_get_alignment (GIUnionInfo *info);
|
52
79
|
|
53
80
|
G_END_DECLS
|