gobject-introspection 3.2.1-x86-mingw32 → 3.2.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +10 -7
- data/ext/gobject-introspection/rb-gi-argument.c +64 -16
- data/ext/gobject-introspection/rb-gi-conversions.h +3 -4
- data/ext/gobject-introspection/rb-gi-function-info.c +17 -8
- data/lib/2.2/gobject_introspection.so +0 -0
- data/lib/2.3/gobject_introspection.so +0 -0
- data/lib/2.4/gobject_introspection.so +0 -0
- data/lib/2.5/gobject_introspection.so +0 -0
- data/lib/gobject-introspection/loader.rb +11 -4
- data/vendor/local/bin/g-ir-compiler.exe +0 -0
- data/vendor/local/bin/g-ir-generate.exe +0 -0
- data/vendor/local/bin/g-ir-inspect.exe +0 -0
- data/vendor/local/bin/libgirepository-1.0-1.dll +0 -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/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.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
- 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.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
- 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 +3 -2
- 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.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -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.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/docwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.py +1 -1
- 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.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
- 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.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 +1 -0
- 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.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.py +1 -1
- 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 +7 -2
- 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 +1 -0
- 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.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
- 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 +4 -0
- 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.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 +3 -3
- data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +2 -2
- data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +16 -5
- data/vendor/local/share/gir-1.0/GLib-2.0.gir +911 -377
- data/vendor/local/share/gir-1.0/GObject-2.0.gir +110 -53
- data/vendor/local/share/gir-1.0/Gio-2.0.gir +835 -287
- data/vendor/local/share/gobject-introspection-1.0/Makefile.introspection +1 -1
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.h +1 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +2 -1
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +10 -2
- data/vendor/local/share/license/gobject-introspection/COPYING +1 -1
- data/vendor/local/share/man/man1/g-ir-compiler.1 +3 -3
- data/vendor/local/share/man/man1/g-ir-generate.1 +2 -1
- metadata +8 -7
@@ -2633,8 +2633,8 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc>
|
|
2633
2633
|
<function name="new" c:identifier="g_cclosure_new" introspectable="0">
|
2634
2634
|
<doc xml:space="preserve">Creates a new closure which invokes @callback_func with @user_data as
|
2635
2635
|
the last parameter.</doc>
|
2636
|
-
<return-value transfer-ownership="
|
2637
|
-
<doc xml:space="preserve">a new #GCClosure</doc>
|
2636
|
+
<return-value transfer-ownership="none">
|
2637
|
+
<doc xml:space="preserve">a floating reference to a new #GCClosure</doc>
|
2638
2638
|
<type name="Closure" c:type="GClosure*"/>
|
2639
2639
|
</return-value>
|
2640
2640
|
<parameters>
|
@@ -2711,8 +2711,8 @@ after the object is is freed.</doc>
|
|
2711
2711
|
introspectable="0">
|
2712
2712
|
<doc xml:space="preserve">Creates a new closure which invokes @callback_func with @user_data as
|
2713
2713
|
the first parameter.</doc>
|
2714
|
-
<return-value transfer-ownership="
|
2715
|
-
<doc xml:space="preserve">a new #GCClosure</doc>
|
2714
|
+
<return-value transfer-ownership="none">
|
2715
|
+
<doc xml:space="preserve">a floating reference to a new #GCClosure</doc>
|
2716
2716
|
<type name="Closure" c:type="GClosure*"/>
|
2717
2717
|
</return-value>
|
2718
2718
|
<parameters>
|
@@ -2903,8 +2903,8 @@ In the case of C programs, a closure usually just holds a pointer
|
|
2903
2903
|
to a function and maybe a data argument, and the marshaller
|
2904
2904
|
converts between #GValue and native C types. The GObject
|
2905
2905
|
library provides the #GCClosure type for this purpose. Bindings for
|
2906
|
-
other languages need marshallers which convert between #
|
2907
|
-
|
2906
|
+
other languages need marshallers which convert between #GValues
|
2907
|
+
and suitable representations in the runtime of the language in
|
2908
2908
|
order to use functions written in that languages as callbacks.
|
2909
2909
|
|
2910
2910
|
Within GObject, closures play an important role in the
|
@@ -3059,8 +3059,8 @@ MyClosure *my_closure_new (gpointer data)
|
|
3059
3059
|
return my_closure;
|
3060
3060
|
}
|
3061
3061
|
]|</doc>
|
3062
|
-
<return-value transfer-ownership="
|
3063
|
-
<doc xml:space="preserve">a
|
3062
|
+
<return-value transfer-ownership="none">
|
3063
|
+
<doc xml:space="preserve">a floating reference to a new #GClosure</doc>
|
3064
3064
|
<type name="Closure" c:type="GClosure*"/>
|
3065
3065
|
</return-value>
|
3066
3066
|
<parameters>
|
@@ -4084,7 +4084,9 @@ interface property.
|
|
4084
4084
|
This function is meant to be called from the interface's default
|
4085
4085
|
vtable initialization function (the @class_init member of
|
4086
4086
|
#GTypeInfo.) It must not be called after after @class_init has
|
4087
|
-
been called for any object types implementing this interface
|
4087
|
+
been called for any object types implementing this interface.
|
4088
|
+
|
4089
|
+
If @pspec is a floating reference, it will be consumed.</doc>
|
4088
4090
|
<return-value transfer-ownership="none">
|
4089
4091
|
<type name="none" c:type="void"/>
|
4090
4092
|
</return-value>
|
@@ -4462,9 +4464,13 @@ g_object_bind_property_with_closures() instead.</doc>
|
|
4462
4464
|
or %NULL</doc>
|
4463
4465
|
<type name="gpointer" c:type="gpointer"/>
|
4464
4466
|
</parameter>
|
4465
|
-
<parameter name="notify"
|
4466
|
-
|
4467
|
-
|
4467
|
+
<parameter name="notify"
|
4468
|
+
transfer-ownership="none"
|
4469
|
+
nullable="1"
|
4470
|
+
allow-none="1"
|
4471
|
+
scope="async">
|
4472
|
+
<doc xml:space="preserve">a function to call when disposing the binding, to free
|
4473
|
+
resources used by the transformation functions, or %NULL if not required</doc>
|
4468
4474
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
4469
4475
|
</parameter>
|
4470
4476
|
</parameters>
|
@@ -4781,7 +4787,8 @@ of three properties: an integer, a string and an object:
|
|
4781
4787
|
<method name="get_data" c:identifier="g_object_get_data">
|
4782
4788
|
<doc xml:space="preserve">Gets a named field from the objects table of associations (see g_object_set_data()).</doc>
|
4783
4789
|
<return-value transfer-ownership="none" nullable="1">
|
4784
|
-
<doc xml:space="preserve">the data if found,
|
4790
|
+
<doc xml:space="preserve">the data if found,
|
4791
|
+
or %NULL if no such data exists.</doc>
|
4785
4792
|
<type name="gpointer" c:type="gpointer"/>
|
4786
4793
|
</return-value>
|
4787
4794
|
<parameters>
|
@@ -4997,7 +5004,12 @@ and then notify a change on the "foo" property with:
|
|
4997
5004
|
</parameters>
|
4998
5005
|
</method>
|
4999
5006
|
<method name="ref" c:identifier="g_object_ref">
|
5000
|
-
<doc xml:space="preserve">Increases the reference count of @object
|
5007
|
+
<doc xml:space="preserve">Increases the reference count of @object.
|
5008
|
+
|
5009
|
+
Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
|
5010
|
+
of @object will be propagated to the return type (using the GCC typeof()
|
5011
|
+
extension), so any casting the caller needs to do on the return type must be
|
5012
|
+
explicit.</doc>
|
5001
5013
|
<return-value transfer-ownership="none">
|
5002
5014
|
<doc xml:space="preserve">the same @object</doc>
|
5003
5015
|
<type name="Object" c:type="gpointer"/>
|
@@ -5017,7 +5029,10 @@ In other words, if the object is floating, then this call "assumes
|
|
5017
5029
|
ownership" of the floating reference, converting it to a normal
|
5018
5030
|
reference by clearing the floating flag while leaving the reference
|
5019
5031
|
count unchanged. If the object is not floating, then this call
|
5020
|
-
adds a new normal reference increasing the reference count by one
|
5032
|
+
adds a new normal reference increasing the reference count by one.
|
5033
|
+
|
5034
|
+
Since GLib 2.56, the type of @object will be propagated to the return type
|
5035
|
+
under the same conditions as for g_object_ref().</doc>
|
5021
5036
|
<return-value transfer-ownership="none">
|
5022
5037
|
<doc xml:space="preserve">@object</doc>
|
5023
5038
|
<type name="Object" c:type="gpointer"/>
|
@@ -5084,7 +5099,8 @@ to match the one used with g_object_add_weak_pointer().</doc>
|
|
5084
5099
|
</method>
|
5085
5100
|
<method name="replace_data"
|
5086
5101
|
c:identifier="g_object_replace_data"
|
5087
|
-
version="2.34"
|
5102
|
+
version="2.34"
|
5103
|
+
introspectable="0">
|
5088
5104
|
<doc xml:space="preserve">Compares the user data for the key @key on @object with
|
5089
5105
|
@oldval, and if they are the same, replaces @oldval with
|
5090
5106
|
@newval.
|
@@ -5095,7 +5111,7 @@ operation, for user data on an object.
|
|
5095
5111
|
If the previous value was replaced then ownership of the
|
5096
5112
|
old value (@oldval) is passed to the caller, including
|
5097
5113
|
the registered destroy notify for it (passed out in @old_destroy).
|
5098
|
-
|
5114
|
+
It’s up to the caller to free this as needed, which may
|
5099
5115
|
or may not include using @old_destroy as sometimes replacement
|
5100
5116
|
should not destroy the object in the normal way.</doc>
|
5101
5117
|
<return-value transfer-ownership="none">
|
@@ -5135,8 +5151,10 @@ should not destroy the object in the normal way.</doc>
|
|
5135
5151
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
5136
5152
|
</parameter>
|
5137
5153
|
<parameter name="old_destroy"
|
5154
|
+
direction="out"
|
5155
|
+
caller-allocates="0"
|
5138
5156
|
transfer-ownership="none"
|
5139
|
-
|
5157
|
+
optional="1"
|
5140
5158
|
allow-none="1"
|
5141
5159
|
scope="async">
|
5142
5160
|
<doc xml:space="preserve">destroy notify for the existing value</doc>
|
@@ -5146,7 +5164,8 @@ should not destroy the object in the normal way.</doc>
|
|
5146
5164
|
</method>
|
5147
5165
|
<method name="replace_qdata"
|
5148
5166
|
c:identifier="g_object_replace_qdata"
|
5149
|
-
version="2.34"
|
5167
|
+
version="2.34"
|
5168
|
+
introspectable="0">
|
5150
5169
|
<doc xml:space="preserve">Compares the user data for the key @quark on @object with
|
5151
5170
|
@oldval, and if they are the same, replaces @oldval with
|
5152
5171
|
@newval.
|
@@ -5157,7 +5176,7 @@ operation, for user data on an object.
|
|
5157
5176
|
If the previous value was replaced then ownership of the
|
5158
5177
|
old value (@oldval) is passed to the caller, including
|
5159
5178
|
the registered destroy notify for it (passed out in @old_destroy).
|
5160
|
-
|
5179
|
+
It’s up to the caller to free this as needed, which may
|
5161
5180
|
or may not include using @old_destroy as sometimes replacement
|
5162
5181
|
should not destroy the object in the normal way.</doc>
|
5163
5182
|
<return-value transfer-ownership="none">
|
@@ -5197,8 +5216,10 @@ should not destroy the object in the normal way.</doc>
|
|
5197
5216
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
5198
5217
|
</parameter>
|
5199
5218
|
<parameter name="old_destroy"
|
5219
|
+
direction="out"
|
5220
|
+
caller-allocates="0"
|
5200
5221
|
transfer-ownership="none"
|
5201
|
-
|
5222
|
+
optional="1"
|
5202
5223
|
allow-none="1"
|
5203
5224
|
scope="async">
|
5204
5225
|
<doc xml:space="preserve">destroy notify for the existing value</doc>
|
@@ -5300,7 +5321,11 @@ Note that the @destroy callback is not called if @data is %NULL.</doc>
|
|
5300
5321
|
<doc xml:space="preserve">data to associate with that key</doc>
|
5301
5322
|
<type name="gpointer" c:type="gpointer"/>
|
5302
5323
|
</parameter>
|
5303
|
-
<parameter name="destroy"
|
5324
|
+
<parameter name="destroy"
|
5325
|
+
transfer-ownership="none"
|
5326
|
+
nullable="1"
|
5327
|
+
allow-none="1"
|
5328
|
+
scope="async">
|
5304
5329
|
<doc xml:space="preserve">function to call when the association is destroyed</doc>
|
5305
5330
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
5306
5331
|
</parameter>
|
@@ -5385,7 +5410,11 @@ with the same @quark.</doc>
|
|
5385
5410
|
<doc xml:space="preserve">An opaque user data pointer</doc>
|
5386
5411
|
<type name="gpointer" c:type="gpointer"/>
|
5387
5412
|
</parameter>
|
5388
|
-
<parameter name="destroy"
|
5413
|
+
<parameter name="destroy"
|
5414
|
+
transfer-ownership="none"
|
5415
|
+
nullable="1"
|
5416
|
+
allow-none="1"
|
5417
|
+
scope="async">
|
5389
5418
|
<doc xml:space="preserve">Function to invoke with @data as argument, when @data
|
5390
5419
|
needs to be freed</doc>
|
5391
5420
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
@@ -5453,7 +5482,8 @@ properties are passed in.</doc>
|
|
5453
5482
|
<doc xml:space="preserve">Remove a specified datum from the object's data associations,
|
5454
5483
|
without invoking the association's destroy handler.</doc>
|
5455
5484
|
<return-value transfer-ownership="full" nullable="1">
|
5456
|
-
<doc xml:space="preserve">the data if found, or %NULL
|
5485
|
+
<doc xml:space="preserve">the data if found, or %NULL
|
5486
|
+
if no such data exists.</doc>
|
5457
5487
|
<type name="gpointer" c:type="gpointer"/>
|
5458
5488
|
</return-value>
|
5459
5489
|
<parameters>
|
@@ -5687,9 +5717,8 @@ detail strings for the notify signal.</doc>
|
|
5687
5717
|
glib:is-gtype-struct-for="Object">
|
5688
5718
|
<doc xml:space="preserve">The class structure for the GObject type.
|
5689
5719
|
|
5690
|
-
<
|
5691
|
-
|
5692
|
-
<programlisting>
|
5720
|
+
|[<!-- language="C" -->
|
5721
|
+
// Example of implementing a singleton using a constructor.
|
5693
5722
|
static MySingleton *the_singleton = NULL;
|
5694
5723
|
|
5695
5724
|
static GObject*
|
@@ -5711,7 +5740,7 @@ my_singleton_constructor (GType type,
|
|
5711
5740
|
|
5712
5741
|
return object;
|
5713
5742
|
}
|
5714
|
-
|
5743
|
+
]|</doc>
|
5715
5744
|
<field name="g_type_class">
|
5716
5745
|
<doc xml:space="preserve">the parent class</doc>
|
5717
5746
|
<type name="TypeClass" c:type="GTypeClass"/>
|
@@ -6136,7 +6165,7 @@ a #GObjectClass.</doc>
|
|
6136
6165
|
<type name="gint" c:type="gint"/>
|
6137
6166
|
</constant>
|
6138
6167
|
<constant name="PARAM_STATIC_STRINGS"
|
6139
|
-
value="
|
6168
|
+
value="224"
|
6140
6169
|
c:type="G_PARAM_STATIC_STRINGS">
|
6141
6170
|
<doc xml:space="preserve">#GParamFlags value alias for %G_PARAM_STATIC_NAME | %G_PARAM_STATIC_NICK | %G_PARAM_STATIC_BLURB.
|
6142
6171
|
|
@@ -6353,7 +6382,7 @@ e.g. a tooltip. The @nick and @blurb should ideally be localized.</doc>
|
|
6353
6382
|
version="2.38">
|
6354
6383
|
<doc xml:space="preserve">Gets the default value of @pspec as a pointer to a #GValue.
|
6355
6384
|
|
6356
|
-
The #GValue will remain
|
6385
|
+
The #GValue will remain valid for the life of @pspec.</doc>
|
6357
6386
|
<return-value transfer-ownership="none">
|
6358
6387
|
<doc xml:space="preserve">a pointer to a #GValue which must not be modified</doc>
|
6359
6388
|
<type name="Value" c:type="const GValue*"/>
|
@@ -8413,12 +8442,18 @@ in the given type plugin. If the interface was already registered
|
|
8413
8442
|
for the type in this plugin, nothing will be done.
|
8414
8443
|
|
8415
8444
|
As long as any instances of the type exist, the type plugin will
|
8416
|
-
not be unloaded
|
8445
|
+
not be unloaded.
|
8446
|
+
|
8447
|
+
Since 2.56 if @module is %NULL this will call g_type_add_interface_static()
|
8448
|
+
instead. This can be used when making a static build of the module.</doc>
|
8417
8449
|
<return-value transfer-ownership="none">
|
8418
8450
|
<type name="none" c:type="void"/>
|
8419
8451
|
</return-value>
|
8420
8452
|
<parameters>
|
8421
|
-
<instance-parameter name="module"
|
8453
|
+
<instance-parameter name="module"
|
8454
|
+
transfer-ownership="none"
|
8455
|
+
nullable="1"
|
8456
|
+
allow-none="1">
|
8422
8457
|
<doc xml:space="preserve">a #GTypeModule</doc>
|
8423
8458
|
<type name="TypeModule" c:type="GTypeModule*"/>
|
8424
8459
|
</instance-parameter>
|
@@ -8445,13 +8480,19 @@ the #GType identifier for the type is returned, otherwise the type
|
|
8445
8480
|
is newly registered, and the resulting #GType identifier returned.
|
8446
8481
|
|
8447
8482
|
As long as any instances of the type exist, the type plugin will
|
8448
|
-
not be unloaded
|
8483
|
+
not be unloaded.
|
8484
|
+
|
8485
|
+
Since 2.56 if @module is %NULL this will call g_type_register_static()
|
8486
|
+
instead. This can be used when making a static build of the module.</doc>
|
8449
8487
|
<return-value transfer-ownership="none">
|
8450
8488
|
<doc xml:space="preserve">the new or existing type ID</doc>
|
8451
8489
|
<type name="GType" c:type="GType"/>
|
8452
8490
|
</return-value>
|
8453
8491
|
<parameters>
|
8454
|
-
<instance-parameter name="module"
|
8492
|
+
<instance-parameter name="module"
|
8493
|
+
transfer-ownership="none"
|
8494
|
+
nullable="1"
|
8495
|
+
allow-none="1">
|
8455
8496
|
<doc xml:space="preserve">a #GTypeModule</doc>
|
8456
8497
|
<type name="TypeModule" c:type="GTypeModule*"/>
|
8457
8498
|
</instance-parameter>
|
@@ -8477,13 +8518,19 @@ the #GType identifier for the type is returned, otherwise the type
|
|
8477
8518
|
is newly registered, and the resulting #GType identifier returned.
|
8478
8519
|
|
8479
8520
|
As long as any instances of the type exist, the type plugin will
|
8480
|
-
not be unloaded
|
8521
|
+
not be unloaded.
|
8522
|
+
|
8523
|
+
Since 2.56 if @module is %NULL this will call g_type_register_static()
|
8524
|
+
instead. This can be used when making a static build of the module.</doc>
|
8481
8525
|
<return-value transfer-ownership="none">
|
8482
8526
|
<doc xml:space="preserve">the new or existing type ID</doc>
|
8483
8527
|
<type name="GType" c:type="GType"/>
|
8484
8528
|
</return-value>
|
8485
8529
|
<parameters>
|
8486
|
-
<instance-parameter name="module"
|
8530
|
+
<instance-parameter name="module"
|
8531
|
+
transfer-ownership="none"
|
8532
|
+
nullable="1"
|
8533
|
+
allow-none="1">
|
8487
8534
|
<doc xml:space="preserve">a #GTypeModule</doc>
|
8488
8535
|
<type name="TypeModule" c:type="GTypeModule*"/>
|
8489
8536
|
</instance-parameter>
|
@@ -8511,13 +8558,19 @@ then reloaded, and reinitialized), @module and @parent_type must
|
|
8511
8558
|
be the same as they were previously.
|
8512
8559
|
|
8513
8560
|
As long as any instances of the type exist, the type plugin will
|
8514
|
-
not be unloaded
|
8561
|
+
not be unloaded.
|
8562
|
+
|
8563
|
+
Since 2.56 if @module is %NULL this will call g_type_register_static()
|
8564
|
+
instead. This can be used when making a static build of the module.</doc>
|
8515
8565
|
<return-value transfer-ownership="none">
|
8516
8566
|
<doc xml:space="preserve">the new or existing type ID</doc>
|
8517
8567
|
<type name="GType" c:type="GType"/>
|
8518
8568
|
</return-value>
|
8519
8569
|
<parameters>
|
8520
|
-
<instance-parameter name="module"
|
8570
|
+
<instance-parameter name="module"
|
8571
|
+
transfer-ownership="none"
|
8572
|
+
nullable="1"
|
8573
|
+
allow-none="1">
|
8521
8574
|
<doc xml:space="preserve">a #GTypeModule</doc>
|
8522
8575
|
<type name="TypeModule" c:type="GTypeModule*"/>
|
8523
8576
|
</instance-parameter>
|
@@ -9243,10 +9296,11 @@ reference count.</doc>
|
|
9243
9296
|
<method name="dup_variant"
|
9244
9297
|
c:identifier="g_value_dup_variant"
|
9245
9298
|
version="2.26">
|
9246
|
-
<doc xml:space="preserve">Get the contents of a variant #GValue, increasing its refcount
|
9247
|
-
|
9248
|
-
|
9249
|
-
|
9299
|
+
<doc xml:space="preserve">Get the contents of a variant #GValue, increasing its refcount. The returned
|
9300
|
+
#GVariant is never floating.</doc>
|
9301
|
+
<return-value transfer-ownership="full" nullable="1">
|
9302
|
+
<doc xml:space="preserve">variant contents of @value (may be %NULL);
|
9303
|
+
should be unreffed using g_variant_unref() when no longer needed</doc>
|
9250
9304
|
<type name="GLib.Variant" c:type="GVariant*"/>
|
9251
9305
|
</return-value>
|
9252
9306
|
<parameters>
|
@@ -9541,8 +9595,8 @@ Get the contents of a %G_TYPE_CHAR #GValue.</doc>
|
|
9541
9595
|
c:identifier="g_value_get_variant"
|
9542
9596
|
version="2.26">
|
9543
9597
|
<doc xml:space="preserve">Get the contents of a variant #GValue.</doc>
|
9544
|
-
<return-value transfer-ownership="full">
|
9545
|
-
<doc xml:space="preserve">variant contents of @value</doc>
|
9598
|
+
<return-value transfer-ownership="full" nullable="1">
|
9599
|
+
<doc xml:space="preserve">variant contents of @value (may be %NULL)</doc>
|
9546
9600
|
<type name="GLib.Variant" c:type="GVariant*"/>
|
9547
9601
|
</return-value>
|
9548
9602
|
<parameters>
|
@@ -10463,6 +10517,7 @@ contents.</doc>
|
|
10463
10517
|
</method>
|
10464
10518
|
<method name="free"
|
10465
10519
|
c:identifier="g_value_array_free"
|
10520
|
+
introspectable="0"
|
10466
10521
|
deprecated="1"
|
10467
10522
|
deprecated-version="2.32">
|
10468
10523
|
<doc xml:space="preserve">Free a #GValueArray including its contents.</doc>
|
@@ -10641,7 +10696,9 @@ C qsort() function.</doc>
|
|
10641
10696
|
</record>
|
10642
10697
|
<callback name="ValueTransform" c:type="GValueTransform">
|
10643
10698
|
<doc xml:space="preserve">The type of value transformation functions which can be registered with
|
10644
|
-
g_value_register_transform_func()
|
10699
|
+
g_value_register_transform_func().
|
10700
|
+
|
10701
|
+
@dest_value will be initialized to the correct destination type.</doc>
|
10645
10702
|
<return-value transfer-ownership="none">
|
10646
10703
|
<type name="none" c:type="void"/>
|
10647
10704
|
</return-value>
|
@@ -11980,8 +12037,8 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc>
|
|
11980
12037
|
introspectable="0">
|
11981
12038
|
<doc xml:space="preserve">Creates a new closure which invokes @callback_func with @user_data as
|
11982
12039
|
the last parameter.</doc>
|
11983
|
-
<return-value transfer-ownership="
|
11984
|
-
<doc xml:space="preserve">a new #GCClosure</doc>
|
12040
|
+
<return-value transfer-ownership="none">
|
12041
|
+
<doc xml:space="preserve">a floating reference to a new #GCClosure</doc>
|
11985
12042
|
<type name="Closure" c:type="GClosure*"/>
|
11986
12043
|
</return-value>
|
11987
12044
|
<parameters>
|
@@ -12061,8 +12118,8 @@ after the object is is freed.</doc>
|
|
12061
12118
|
introspectable="0">
|
12062
12119
|
<doc xml:space="preserve">Creates a new closure which invokes @callback_func with @user_data as
|
12063
12120
|
the first parameter.</doc>
|
12064
|
-
<return-value transfer-ownership="
|
12065
|
-
<doc xml:space="preserve">a new #GCClosure</doc>
|
12121
|
+
<return-value transfer-ownership="none">
|
12122
|
+
<doc xml:space="preserve">a floating reference to a new #GCClosure</doc>
|
12066
12123
|
<type name="Closure" c:type="GClosure*"/>
|
12067
12124
|
</return-value>
|
12068
12125
|
<parameters>
|
@@ -14785,8 +14842,8 @@ signal id for you.</doc>
|
|
14785
14842
|
<doc xml:space="preserve">Creates a new closure which invokes the function found at the offset
|
14786
14843
|
@struct_offset in the class structure of the interface or classed type
|
14787
14844
|
identified by @itype.</doc>
|
14788
|
-
<return-value transfer-ownership="
|
14789
|
-
<doc xml:space="preserve">a new #GCClosure</doc>
|
14845
|
+
<return-value transfer-ownership="none">
|
14846
|
+
<doc xml:space="preserve">a floating reference to a new #GCClosure</doc>
|
14790
14847
|
<type name="Closure" c:type="GClosure*"/>
|
14791
14848
|
</return-value>
|
14792
14849
|
<parameters>
|
@@ -15110,7 +15167,7 @@ G_TYPE_CHECK_INSTANCE() macro.</doc>
|
|
15110
15167
|
</return-value>
|
15111
15168
|
<parameters>
|
15112
15169
|
<parameter name="value" transfer-ownership="none">
|
15113
|
-
<type name="Value" c:type="GValue*"/>
|
15170
|
+
<type name="Value" c:type="const GValue*"/>
|
15114
15171
|
</parameter>
|
15115
15172
|
</parameters>
|
15116
15173
|
</function>
|
@@ -15121,7 +15178,7 @@ G_TYPE_CHECK_INSTANCE() macro.</doc>
|
|
15121
15178
|
</return-value>
|
15122
15179
|
<parameters>
|
15123
15180
|
<parameter name="value" transfer-ownership="none">
|
15124
|
-
<type name="Value" c:type="GValue*"/>
|
15181
|
+
<type name="Value" c:type="const GValue*"/>
|
15125
15182
|
</parameter>
|
15126
15183
|
<parameter name="type" transfer-ownership="none">
|
15127
15184
|
<type name="GType" c:type="GType"/>
|