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
@@ -33,6 +33,11 @@
|
|
33
33
|
|
34
34
|
G_BEGIN_DECLS
|
35
35
|
|
36
|
+
/**
|
37
|
+
* GIBaseInfoStub:
|
38
|
+
*
|
39
|
+
* TODO
|
40
|
+
*/
|
36
41
|
struct _GIBaseInfoStub {
|
37
42
|
/* <private> */
|
38
43
|
gint32 dummy1;
|
@@ -61,23 +66,49 @@ typedef struct {
|
|
61
66
|
|
62
67
|
#define GI_TYPE_BASE_INFO (g_base_info_gtype_get_type ())
|
63
68
|
|
69
|
+
|
70
|
+
GI_AVAILABLE_IN_ALL
|
64
71
|
GType g_base_info_gtype_get_type (void) G_GNUC_CONST;
|
72
|
+
|
73
|
+
GI_AVAILABLE_IN_ALL
|
65
74
|
GIBaseInfo * g_base_info_ref (GIBaseInfo *info);
|
75
|
+
|
76
|
+
GI_AVAILABLE_IN_ALL
|
66
77
|
void g_base_info_unref (GIBaseInfo *info);
|
78
|
+
|
79
|
+
GI_AVAILABLE_IN_ALL
|
67
80
|
GIInfoType g_base_info_get_type (GIBaseInfo *info);
|
81
|
+
|
82
|
+
GI_AVAILABLE_IN_ALL
|
68
83
|
const gchar * g_base_info_get_name (GIBaseInfo *info);
|
84
|
+
|
85
|
+
GI_AVAILABLE_IN_ALL
|
69
86
|
const gchar * g_base_info_get_namespace (GIBaseInfo *info);
|
87
|
+
|
88
|
+
GI_AVAILABLE_IN_ALL
|
70
89
|
gboolean g_base_info_is_deprecated (GIBaseInfo *info);
|
90
|
+
|
91
|
+
GI_AVAILABLE_IN_ALL
|
71
92
|
const gchar * g_base_info_get_attribute (GIBaseInfo *info,
|
72
93
|
const gchar *name);
|
94
|
+
|
95
|
+
GI_AVAILABLE_IN_ALL
|
73
96
|
gboolean g_base_info_iterate_attributes (GIBaseInfo *info,
|
74
97
|
GIAttributeIter *iterator,
|
75
98
|
char **name,
|
76
99
|
char **value);
|
100
|
+
|
101
|
+
GI_AVAILABLE_IN_ALL
|
77
102
|
GIBaseInfo * g_base_info_get_container (GIBaseInfo *info);
|
103
|
+
|
104
|
+
GI_AVAILABLE_IN_ALL
|
78
105
|
GITypelib * g_base_info_get_typelib (GIBaseInfo *info);
|
106
|
+
|
107
|
+
GI_AVAILABLE_IN_ALL
|
79
108
|
gboolean g_base_info_equal (GIBaseInfo *info1,
|
80
109
|
GIBaseInfo *info2);
|
110
|
+
|
111
|
+
GI_AVAILABLE_IN_ALL
|
81
112
|
GIBaseInfo * g_info_new (GIInfoType type,
|
82
113
|
GIBaseInfo *container,
|
83
114
|
GITypelib *typelib,
|
@@ -31,32 +31,64 @@
|
|
31
31
|
|
32
32
|
G_BEGIN_DECLS
|
33
33
|
|
34
|
+
/**
|
35
|
+
* GI_IS_CALLABLE_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a #GICallableInfo or derived from it.
|
39
|
+
*/
|
34
40
|
#define GI_IS_CALLABLE_INFO(info) \
|
35
41
|
((g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_FUNCTION) || \
|
36
42
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_CALLBACK) || \
|
37
43
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_SIGNAL) || \
|
38
44
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_VFUNC))
|
39
45
|
|
46
|
+
|
47
|
+
GI_AVAILABLE_IN_1_34
|
40
48
|
gboolean g_callable_info_is_method (GICallableInfo *info);
|
49
|
+
|
50
|
+
GI_AVAILABLE_IN_1_34
|
41
51
|
gboolean g_callable_info_can_throw_gerror (GICallableInfo *info);
|
52
|
+
|
53
|
+
GI_AVAILABLE_IN_ALL
|
42
54
|
GITypeInfo * g_callable_info_get_return_type (GICallableInfo *info);
|
55
|
+
|
56
|
+
GI_AVAILABLE_IN_ALL
|
43
57
|
void g_callable_info_load_return_type (GICallableInfo *info,
|
44
58
|
GITypeInfo *type);
|
59
|
+
|
60
|
+
GI_AVAILABLE_IN_ALL
|
45
61
|
const gchar * g_callable_info_get_return_attribute (GICallableInfo *info,
|
46
62
|
const gchar *name);
|
63
|
+
|
64
|
+
GI_AVAILABLE_IN_ALL
|
47
65
|
gboolean g_callable_info_iterate_return_attributes (GICallableInfo *info,
|
48
66
|
GIAttributeIter *iterator,
|
49
67
|
char **name,
|
50
68
|
char **value);
|
69
|
+
|
70
|
+
GI_AVAILABLE_IN_ALL
|
51
71
|
GITransfer g_callable_info_get_caller_owns (GICallableInfo *info);
|
72
|
+
|
73
|
+
GI_AVAILABLE_IN_ALL
|
52
74
|
gboolean g_callable_info_may_return_null (GICallableInfo *info);
|
75
|
+
|
76
|
+
GI_AVAILABLE_IN_ALL
|
53
77
|
gboolean g_callable_info_skip_return (GICallableInfo *info);
|
78
|
+
|
79
|
+
GI_AVAILABLE_IN_ALL
|
54
80
|
gint g_callable_info_get_n_args (GICallableInfo *info);
|
81
|
+
|
82
|
+
GI_AVAILABLE_IN_ALL
|
55
83
|
GIArgInfo * g_callable_info_get_arg (GICallableInfo *info,
|
56
84
|
gint n);
|
85
|
+
|
86
|
+
GI_AVAILABLE_IN_ALL
|
57
87
|
void g_callable_info_load_arg (GICallableInfo *info,
|
58
88
|
gint n,
|
59
89
|
GIArgInfo *arg);
|
90
|
+
|
91
|
+
GI_AVAILABLE_IN_1_34
|
60
92
|
gboolean g_callable_info_invoke (GICallableInfo *info,
|
61
93
|
gpointer function,
|
62
94
|
const GIArgument *in_args,
|
@@ -67,6 +99,10 @@ gboolean g_callable_info_invoke (GICallableInfo *info,
|
|
67
99
|
gboolean is_method,
|
68
100
|
gboolean throws,
|
69
101
|
GError **error);
|
102
|
+
|
103
|
+
GI_AVAILABLE_IN_1_42
|
104
|
+
GITransfer g_callable_info_get_instance_ownership_transfer (GICallableInfo *info);
|
105
|
+
|
70
106
|
G_END_DECLS
|
71
107
|
|
72
108
|
|
@@ -31,12 +31,24 @@
|
|
31
31
|
|
32
32
|
G_BEGIN_DECLS
|
33
33
|
|
34
|
+
/**
|
35
|
+
* GI_IS_CONSTANT_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a #GIConstantInfo.
|
39
|
+
*/
|
34
40
|
#define GI_IS_CONSTANT_INFO(info) \
|
35
41
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_CONSTANT)
|
36
42
|
|
43
|
+
|
44
|
+
GI_AVAILABLE_IN_ALL
|
37
45
|
GITypeInfo * g_constant_info_get_type (GIConstantInfo *info);
|
46
|
+
|
47
|
+
GI_AVAILABLE_IN_ALL
|
38
48
|
void g_constant_info_free_value(GIConstantInfo *info,
|
39
49
|
GIArgument *value);
|
50
|
+
|
51
|
+
GI_AVAILABLE_IN_ALL
|
40
52
|
gint g_constant_info_get_value(GIConstantInfo *info,
|
41
53
|
GIArgument *value);
|
42
54
|
G_END_DECLS
|
@@ -31,22 +31,48 @@
|
|
31
31
|
|
32
32
|
G_BEGIN_DECLS
|
33
33
|
|
34
|
+
/**
|
35
|
+
* GI_IS_ENUM_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a #GIEnumInfo.
|
39
|
+
*/
|
34
40
|
#define GI_IS_ENUM_INFO(info) \
|
35
41
|
((g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_ENUM) || \
|
36
42
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_FLAGS))
|
37
43
|
|
44
|
+
/**
|
45
|
+
* GI_IS_VALUE_INFO
|
46
|
+
* @info: an info structure
|
47
|
+
*
|
48
|
+
* Checks if @info is a #GIValueInfo.
|
49
|
+
*/
|
38
50
|
#define GI_IS_VALUE_INFO(info) \
|
39
51
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_VALUE)
|
40
52
|
|
53
|
+
|
54
|
+
GI_AVAILABLE_IN_ALL
|
41
55
|
gint g_enum_info_get_n_values (GIEnumInfo *info);
|
56
|
+
|
57
|
+
GI_AVAILABLE_IN_ALL
|
42
58
|
GIValueInfo * g_enum_info_get_value (GIEnumInfo *info,
|
43
59
|
gint n);
|
60
|
+
|
61
|
+
GI_AVAILABLE_IN_ALL
|
44
62
|
gint g_enum_info_get_n_methods (GIEnumInfo *info);
|
63
|
+
|
64
|
+
GI_AVAILABLE_IN_ALL
|
45
65
|
GIFunctionInfo * g_enum_info_get_method (GIEnumInfo *info,
|
46
66
|
gint n);
|
67
|
+
|
68
|
+
GI_AVAILABLE_IN_ALL
|
47
69
|
GITypeTag g_enum_info_get_storage_type (GIEnumInfo *info);
|
70
|
+
|
71
|
+
GI_AVAILABLE_IN_ALL
|
48
72
|
const gchar * g_enum_info_get_error_domain (GIEnumInfo *info);
|
49
73
|
|
74
|
+
|
75
|
+
GI_AVAILABLE_IN_ALL
|
50
76
|
gint64 g_value_info_get_value (GIValueInfo *info);
|
51
77
|
|
52
78
|
G_END_DECLS
|
@@ -31,16 +31,35 @@
|
|
31
31
|
|
32
32
|
G_BEGIN_DECLS
|
33
33
|
|
34
|
+
/**
|
35
|
+
* GI_IS_FIELD_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a #GIFieldInfo.
|
39
|
+
*
|
40
|
+
*/
|
34
41
|
#define GI_IS_FIELD_INFO(info) \
|
35
42
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_FIELD)
|
36
43
|
|
44
|
+
|
45
|
+
GI_AVAILABLE_IN_ALL
|
37
46
|
GIFieldInfoFlags g_field_info_get_flags (GIFieldInfo *info);
|
47
|
+
|
48
|
+
GI_AVAILABLE_IN_ALL
|
38
49
|
gint g_field_info_get_size (GIFieldInfo *info);
|
50
|
+
|
51
|
+
GI_AVAILABLE_IN_ALL
|
39
52
|
gint g_field_info_get_offset (GIFieldInfo *info);
|
53
|
+
|
54
|
+
GI_AVAILABLE_IN_ALL
|
40
55
|
GITypeInfo * g_field_info_get_type (GIFieldInfo *info);
|
56
|
+
|
57
|
+
GI_AVAILABLE_IN_ALL
|
41
58
|
gboolean g_field_info_get_field (GIFieldInfo *field_info,
|
42
59
|
gpointer mem,
|
43
60
|
GIArgument *value);
|
61
|
+
|
62
|
+
GI_AVAILABLE_IN_ALL
|
44
63
|
gboolean g_field_info_set_field (GIFieldInfo *field_info,
|
45
64
|
gpointer mem,
|
46
65
|
const GIArgument *value);
|
@@ -31,15 +31,36 @@
|
|
31
31
|
|
32
32
|
G_BEGIN_DECLS
|
33
33
|
|
34
|
+
/**
|
35
|
+
* GI_IS_FUNCTION_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a #GIFunctionInfo.
|
39
|
+
*/
|
34
40
|
#define GI_IS_FUNCTION_INFO(info) \
|
35
41
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_FUNCTION)
|
36
42
|
|
43
|
+
|
44
|
+
GI_AVAILABLE_IN_ALL
|
37
45
|
const gchar * g_function_info_get_symbol (GIFunctionInfo *info);
|
46
|
+
|
47
|
+
GI_AVAILABLE_IN_ALL
|
38
48
|
GIFunctionInfoFlags g_function_info_get_flags (GIFunctionInfo *info);
|
49
|
+
|
50
|
+
GI_AVAILABLE_IN_ALL
|
39
51
|
GIPropertyInfo * g_function_info_get_property (GIFunctionInfo *info);
|
52
|
+
|
53
|
+
GI_AVAILABLE_IN_ALL
|
40
54
|
GIVFuncInfo * g_function_info_get_vfunc (GIFunctionInfo *info);
|
41
55
|
|
56
|
+
/**
|
57
|
+
* G_INVOKE_ERROR:
|
58
|
+
*
|
59
|
+
* TODO
|
60
|
+
*/
|
42
61
|
#define G_INVOKE_ERROR (g_invoke_error_quark ())
|
62
|
+
|
63
|
+
GI_AVAILABLE_IN_ALL
|
43
64
|
GQuark g_invoke_error_quark (void);
|
44
65
|
|
45
66
|
/**
|
@@ -61,6 +82,8 @@ typedef enum
|
|
61
82
|
G_INVOKE_ERROR_ARGUMENT_MISMATCH
|
62
83
|
} GInvokeError;
|
63
84
|
|
85
|
+
|
86
|
+
GI_AVAILABLE_IN_ALL
|
64
87
|
gboolean g_function_info_invoke (GIFunctionInfo *info,
|
65
88
|
const GIArgument *in_args,
|
66
89
|
int n_in_args,
|
@@ -31,34 +31,72 @@
|
|
31
31
|
|
32
32
|
G_BEGIN_DECLS
|
33
33
|
|
34
|
+
/**
|
35
|
+
* GI_IS_INTERFACE_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a #GIInterfaceInfo.
|
39
|
+
*/
|
34
40
|
#define GI_IS_INTERFACE_INFO(info) \
|
35
41
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_INTERFACE)
|
36
42
|
|
43
|
+
|
44
|
+
GI_AVAILABLE_IN_ALL
|
37
45
|
gint g_interface_info_get_n_prerequisites (GIInterfaceInfo *info);
|
46
|
+
|
47
|
+
GI_AVAILABLE_IN_ALL
|
38
48
|
GIBaseInfo * g_interface_info_get_prerequisite (GIInterfaceInfo *info,
|
39
49
|
gint n);
|
50
|
+
|
51
|
+
GI_AVAILABLE_IN_ALL
|
40
52
|
gint g_interface_info_get_n_properties (GIInterfaceInfo *info);
|
53
|
+
|
54
|
+
GI_AVAILABLE_IN_ALL
|
41
55
|
GIPropertyInfo * g_interface_info_get_property (GIInterfaceInfo *info,
|
42
56
|
gint n);
|
57
|
+
|
58
|
+
GI_AVAILABLE_IN_ALL
|
43
59
|
gint g_interface_info_get_n_methods (GIInterfaceInfo *info);
|
60
|
+
|
61
|
+
GI_AVAILABLE_IN_ALL
|
44
62
|
GIFunctionInfo * g_interface_info_get_method (GIInterfaceInfo *info,
|
45
63
|
gint n);
|
64
|
+
|
65
|
+
GI_AVAILABLE_IN_ALL
|
46
66
|
GIFunctionInfo * g_interface_info_find_method (GIInterfaceInfo *info,
|
47
67
|
const gchar *name);
|
68
|
+
|
69
|
+
GI_AVAILABLE_IN_ALL
|
48
70
|
gint g_interface_info_get_n_signals (GIInterfaceInfo *info);
|
71
|
+
|
72
|
+
GI_AVAILABLE_IN_ALL
|
49
73
|
GISignalInfo * g_interface_info_get_signal (GIInterfaceInfo *info,
|
50
74
|
gint n);
|
75
|
+
|
76
|
+
GI_AVAILABLE_IN_1_34
|
51
77
|
GISignalInfo * g_interface_info_find_signal (GIInterfaceInfo *info,
|
52
78
|
const gchar *name);
|
79
|
+
|
80
|
+
GI_AVAILABLE_IN_ALL
|
53
81
|
gint g_interface_info_get_n_vfuncs (GIInterfaceInfo *info);
|
82
|
+
|
83
|
+
GI_AVAILABLE_IN_ALL
|
54
84
|
GIVFuncInfo * g_interface_info_get_vfunc (GIInterfaceInfo *info,
|
55
85
|
gint n);
|
86
|
+
|
87
|
+
GI_AVAILABLE_IN_ALL
|
56
88
|
GIVFuncInfo * g_interface_info_find_vfunc (GIInterfaceInfo *info,
|
57
89
|
const gchar *name);
|
90
|
+
|
91
|
+
GI_AVAILABLE_IN_ALL
|
58
92
|
gint g_interface_info_get_n_constants (GIInterfaceInfo *info);
|
93
|
+
|
94
|
+
GI_AVAILABLE_IN_ALL
|
59
95
|
GIConstantInfo * g_interface_info_get_constant (GIInterfaceInfo *info,
|
60
96
|
gint n);
|
61
97
|
|
98
|
+
|
99
|
+
GI_AVAILABLE_IN_ALL
|
62
100
|
GIStructInfo * g_interface_info_get_iface_struct (GIInterfaceInfo *info);
|
63
101
|
|
64
102
|
G_END_DECLS
|
@@ -46,7 +46,6 @@ typedef void * (*GIObjectInfoRefFunction) (void *object);
|
|
46
46
|
* @object: object instance pointer
|
47
47
|
*
|
48
48
|
* Decreases the reference count of an object instance.
|
49
|
-
*
|
50
49
|
*/
|
51
50
|
typedef void (*GIObjectInfoUnrefFunction) (void *object);
|
52
51
|
|
@@ -56,7 +55,6 @@ typedef void (*GIObjectInfoUnrefFunction) (void *object);
|
|
56
55
|
* @object: object instance pointer
|
57
56
|
*
|
58
57
|
* Update @value and attach the object instance pointer @object to it.
|
59
|
-
*
|
60
58
|
*/
|
61
59
|
typedef void (*GIObjectInfoSetValueFunction) (GValue *value, void *object);
|
62
60
|
|
@@ -70,63 +68,135 @@ typedef void (*GIObjectInfoSetValueFunction) (GValue *value, void *object);
|
|
70
68
|
*/
|
71
69
|
typedef void * (*GIObjectInfoGetValueFunction) (const GValue *value);
|
72
70
|
|
71
|
+
/**
|
72
|
+
* GI_IS_OBJECT_INFO
|
73
|
+
* @info: an info structure
|
74
|
+
*
|
75
|
+
* Checks if @info is a #GIObjectInfo.
|
76
|
+
*/
|
73
77
|
#define GI_IS_OBJECT_INFO(info) \
|
74
78
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_OBJECT)
|
75
79
|
|
80
|
+
|
81
|
+
GI_AVAILABLE_IN_ALL
|
76
82
|
const gchar * g_object_info_get_type_name (GIObjectInfo *info);
|
83
|
+
|
84
|
+
GI_AVAILABLE_IN_ALL
|
77
85
|
const gchar * g_object_info_get_type_init (GIObjectInfo *info);
|
86
|
+
|
87
|
+
GI_AVAILABLE_IN_ALL
|
78
88
|
gboolean g_object_info_get_abstract (GIObjectInfo *info);
|
89
|
+
|
90
|
+
GI_AVAILABLE_IN_ALL
|
79
91
|
gboolean g_object_info_get_fundamental (GIObjectInfo *info);
|
92
|
+
|
93
|
+
GI_AVAILABLE_IN_ALL
|
80
94
|
GIObjectInfo * g_object_info_get_parent (GIObjectInfo *info);
|
95
|
+
|
96
|
+
GI_AVAILABLE_IN_ALL
|
81
97
|
gint g_object_info_get_n_interfaces (GIObjectInfo *info);
|
98
|
+
|
99
|
+
GI_AVAILABLE_IN_ALL
|
82
100
|
GIInterfaceInfo * g_object_info_get_interface (GIObjectInfo *info,
|
83
101
|
gint n);
|
102
|
+
|
103
|
+
GI_AVAILABLE_IN_ALL
|
84
104
|
gint g_object_info_get_n_fields (GIObjectInfo *info);
|
105
|
+
|
106
|
+
GI_AVAILABLE_IN_ALL
|
85
107
|
GIFieldInfo * g_object_info_get_field (GIObjectInfo *info,
|
86
108
|
gint n);
|
109
|
+
|
110
|
+
GI_AVAILABLE_IN_ALL
|
87
111
|
gint g_object_info_get_n_properties (GIObjectInfo *info);
|
112
|
+
|
113
|
+
GI_AVAILABLE_IN_ALL
|
88
114
|
GIPropertyInfo * g_object_info_get_property (GIObjectInfo *info,
|
89
115
|
gint n);
|
116
|
+
|
117
|
+
GI_AVAILABLE_IN_ALL
|
90
118
|
gint g_object_info_get_n_methods (GIObjectInfo *info);
|
119
|
+
|
120
|
+
GI_AVAILABLE_IN_ALL
|
91
121
|
GIFunctionInfo * g_object_info_get_method (GIObjectInfo *info,
|
92
122
|
gint n);
|
123
|
+
|
124
|
+
GI_AVAILABLE_IN_ALL
|
93
125
|
GIFunctionInfo * g_object_info_find_method (GIObjectInfo *info,
|
94
126
|
const gchar *name);
|
95
127
|
|
128
|
+
|
129
|
+
GI_AVAILABLE_IN_ALL
|
96
130
|
GIFunctionInfo * g_object_info_find_method_using_interfaces (GIObjectInfo *info,
|
97
131
|
const gchar *name,
|
98
132
|
GIObjectInfo **implementor);
|
99
133
|
|
134
|
+
|
135
|
+
GI_AVAILABLE_IN_ALL
|
100
136
|
gint g_object_info_get_n_signals (GIObjectInfo *info);
|
137
|
+
|
138
|
+
GI_AVAILABLE_IN_ALL
|
101
139
|
GISignalInfo * g_object_info_get_signal (GIObjectInfo *info,
|
102
140
|
gint n);
|
103
141
|
|
142
|
+
|
143
|
+
GI_AVAILABLE_IN_ALL
|
104
144
|
GISignalInfo * g_object_info_find_signal (GIObjectInfo *info,
|
105
145
|
const gchar *name);
|
106
146
|
|
147
|
+
|
148
|
+
GI_AVAILABLE_IN_ALL
|
107
149
|
gint g_object_info_get_n_vfuncs (GIObjectInfo *info);
|
150
|
+
|
151
|
+
GI_AVAILABLE_IN_ALL
|
108
152
|
GIVFuncInfo * g_object_info_get_vfunc (GIObjectInfo *info,
|
109
153
|
gint n);
|
154
|
+
|
155
|
+
GI_AVAILABLE_IN_ALL
|
110
156
|
GIVFuncInfo * g_object_info_find_vfunc (GIObjectInfo *info,
|
111
157
|
const gchar *name);
|
158
|
+
|
159
|
+
GI_AVAILABLE_IN_1_32
|
112
160
|
GIVFuncInfo * g_object_info_find_vfunc_using_interfaces (GIObjectInfo *info,
|
113
161
|
const gchar *name,
|
114
162
|
GIObjectInfo **implementor);
|
163
|
+
|
164
|
+
GI_AVAILABLE_IN_ALL
|
115
165
|
gint g_object_info_get_n_constants (GIObjectInfo *info);
|
166
|
+
|
167
|
+
GI_AVAILABLE_IN_ALL
|
116
168
|
GIConstantInfo * g_object_info_get_constant (GIObjectInfo *info,
|
117
169
|
gint n);
|
170
|
+
|
171
|
+
GI_AVAILABLE_IN_ALL
|
118
172
|
GIStructInfo * g_object_info_get_class_struct (GIObjectInfo *info);
|
119
173
|
|
174
|
+
|
175
|
+
GI_AVAILABLE_IN_ALL
|
120
176
|
const char * g_object_info_get_ref_function (GIObjectInfo *info);
|
177
|
+
|
178
|
+
GI_AVAILABLE_IN_ALL
|
121
179
|
GIObjectInfoRefFunction g_object_info_get_ref_function_pointer (GIObjectInfo *info);
|
122
180
|
|
181
|
+
|
182
|
+
GI_AVAILABLE_IN_ALL
|
123
183
|
const char * g_object_info_get_unref_function (GIObjectInfo *info);
|
184
|
+
|
185
|
+
GI_AVAILABLE_IN_ALL
|
124
186
|
GIObjectInfoUnrefFunction g_object_info_get_unref_function_pointer (GIObjectInfo *info);
|
125
187
|
|
188
|
+
|
189
|
+
GI_AVAILABLE_IN_ALL
|
126
190
|
const char * g_object_info_get_set_value_function (GIObjectInfo *info);
|
191
|
+
|
192
|
+
GI_AVAILABLE_IN_ALL
|
127
193
|
GIObjectInfoSetValueFunction g_object_info_get_set_value_function_pointer (GIObjectInfo *info);
|
128
194
|
|
195
|
+
|
196
|
+
GI_AVAILABLE_IN_ALL
|
129
197
|
const char * g_object_info_get_get_value_function (GIObjectInfo *info);
|
198
|
+
|
199
|
+
GI_AVAILABLE_IN_ALL
|
130
200
|
GIObjectInfoGetValueFunction g_object_info_get_get_value_function_pointer (GIObjectInfo *info);
|
131
201
|
|
132
202
|
|
@@ -31,11 +31,23 @@
|
|
31
31
|
|
32
32
|
G_BEGIN_DECLS
|
33
33
|
|
34
|
+
/**
|
35
|
+
* GI_IS_PROPERTY_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a #GIPropertyInfo.
|
39
|
+
*/
|
34
40
|
#define GI_IS_PROPERTY_INFO(info) \
|
35
41
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_PROPERTY)
|
36
42
|
|
43
|
+
|
44
|
+
GI_AVAILABLE_IN_ALL
|
37
45
|
GParamFlags g_property_info_get_flags (GIPropertyInfo *info);
|
46
|
+
|
47
|
+
GI_AVAILABLE_IN_ALL
|
38
48
|
GITypeInfo * g_property_info_get_type (GIPropertyInfo *info);
|
49
|
+
|
50
|
+
GI_AVAILABLE_IN_ALL
|
39
51
|
GITransfer g_property_info_get_ownership_transfer (GIPropertyInfo *info);
|
40
52
|
|
41
53
|
G_END_DECLS
|
@@ -32,6 +32,12 @@
|
|
32
32
|
|
33
33
|
G_BEGIN_DECLS
|
34
34
|
|
35
|
+
/**
|
36
|
+
* GI_IS_REGISTERED_TYPE_INFO
|
37
|
+
* @info: an info structure
|
38
|
+
*
|
39
|
+
* Checks if @info is a #GIRegisteredTypeInfo or derived from it.
|
40
|
+
*/
|
35
41
|
#define GI_IS_REGISTERED_TYPE_INFO(info) \
|
36
42
|
((g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_BOXED) || \
|
37
43
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_ENUM) || \
|
@@ -42,8 +48,13 @@ G_BEGIN_DECLS
|
|
42
48
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_UNION) || \
|
43
49
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_BOXED))
|
44
50
|
|
51
|
+
GI_AVAILABLE_IN_ALL
|
45
52
|
const gchar * g_registered_type_info_get_type_name (GIRegisteredTypeInfo *info);
|
53
|
+
|
54
|
+
GI_AVAILABLE_IN_ALL
|
46
55
|
const gchar * g_registered_type_info_get_type_init (GIRegisteredTypeInfo *info);
|
56
|
+
|
57
|
+
GI_AVAILABLE_IN_ALL
|
47
58
|
GType g_registered_type_info_get_g_type (GIRegisteredTypeInfo *info);
|
48
59
|
|
49
60
|
G_END_DECLS
|