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
@@ -16,8 +16,8 @@ and/or use gtk-doc annotations. -->
|
|
16
16
|
c:symbol-prefixes="g">
|
17
17
|
<record name="Module" c:type="GModule" disguised="1">
|
18
18
|
<doc xml:space="preserve">The #GModule struct is an opaque data structure to represent a
|
19
|
-
|
20
|
-
|
19
|
+
[dynamically-loaded module][glib-Dynamic-Loading-of-Modules].
|
20
|
+
It should only be accessed via the following functions.</doc>
|
21
21
|
<method name="close" c:identifier="g_module_close">
|
22
22
|
<doc xml:space="preserve">Closes a module.</doc>
|
23
23
|
<return-value transfer-ownership="none">
|
@@ -105,17 +105,22 @@ standard platform-specific directory, though this is not recommended
|
|
105
105
|
since the wrong module may be found.
|
106
106
|
|
107
107
|
For example, calling g_module_build_path() on a Linux system with a
|
108
|
-
@directory of
|
109
|
-
|
110
|
-
|
111
|
-
<filename>\Windows\mylibrary.dll</filename>.</doc>
|
108
|
+
@directory of `/lib` and a @module_name of "mylibrary" will return
|
109
|
+
`/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the
|
110
|
+
directory it will return `\Windows\mylibrary.dll`.</doc>
|
112
111
|
<return-value transfer-ownership="full">
|
113
|
-
<doc xml:space="preserve">the complete path of the module, including the standard library
|
112
|
+
<doc xml:space="preserve">the complete path of the module, including the standard library
|
113
|
+
prefix and suffix. This should be freed when no longer needed</doc>
|
114
114
|
<type name="utf8" c:type="gchar*"/>
|
115
115
|
</return-value>
|
116
116
|
<parameters>
|
117
|
-
<parameter name="directory"
|
118
|
-
|
117
|
+
<parameter name="directory"
|
118
|
+
transfer-ownership="none"
|
119
|
+
nullable="1"
|
120
|
+
allow-none="1">
|
121
|
+
<doc xml:space="preserve">the directory where the module is. This can be
|
122
|
+
%NULL or the empty string to indicate that the standard platform-specific
|
123
|
+
directories will be used, though that is not recommended</doc>
|
119
124
|
<type name="utf8" c:type="const gchar*"/>
|
120
125
|
</parameter>
|
121
126
|
<parameter name="module_name" transfer-ownership="none">
|
@@ -149,12 +154,17 @@ returned.</doc>
|
|
149
154
|
<type name="Module" c:type="GModule*"/>
|
150
155
|
</return-value>
|
151
156
|
<parameters>
|
152
|
-
<parameter name="file_name"
|
153
|
-
|
157
|
+
<parameter name="file_name"
|
158
|
+
transfer-ownership="none"
|
159
|
+
nullable="1"
|
160
|
+
allow-none="1">
|
161
|
+
<doc xml:space="preserve">the name of the file containing the module, or %NULL
|
162
|
+
to obtain a #GModule representing the main program itself</doc>
|
154
163
|
<type name="utf8" c:type="const gchar*"/>
|
155
164
|
</parameter>
|
156
165
|
<parameter name="flags" transfer-ownership="none">
|
157
|
-
<doc xml:space="preserve">the flags used for opening the module. This can be the
|
166
|
+
<doc xml:space="preserve">the flags used for opening the module. This can be the
|
167
|
+
logical OR of any of the #GModuleFlags</doc>
|
158
168
|
<type name="ModuleFlags" c:type="GModuleFlags"/>
|
159
169
|
</parameter>
|
160
170
|
</parameters>
|
@@ -184,7 +194,6 @@ returned.</doc>
|
|
184
194
|
</record>
|
185
195
|
<callback name="ModuleCheckInit" c:type="GModuleCheckInit">
|
186
196
|
<doc xml:space="preserve">Specifies the type of the module initialization function.
|
187
|
-
<indexterm zone="g-module-check-init"><primary>g_module_check_init</primary></indexterm>
|
188
197
|
If a module contains a function named g_module_check_init() it is called
|
189
198
|
automatically when the module is loaded. It is passed the #GModule structure
|
190
199
|
and should return %NULL on success or a string describing the initialization
|
@@ -204,18 +213,22 @@ error.</doc>
|
|
204
213
|
<doc xml:space="preserve">Flags passed to g_module_open().
|
205
214
|
Note that these flags are not supported on all platforms.</doc>
|
206
215
|
<member name="lazy" value="1" c:identifier="G_MODULE_BIND_LAZY">
|
207
|
-
<doc xml:space="preserve">specifies that symbols are only resolved when
|
216
|
+
<doc xml:space="preserve">specifies that symbols are only resolved when
|
217
|
+
needed. The default action is to bind all symbols when the module
|
218
|
+
is loaded.</doc>
|
208
219
|
</member>
|
209
220
|
<member name="local" value="2" c:identifier="G_MODULE_BIND_LOCAL">
|
210
|
-
<doc xml:space="preserve">specifies that symbols in the module should
|
221
|
+
<doc xml:space="preserve">specifies that symbols in the module should
|
222
|
+
not be added to the global name space. The default action on most
|
223
|
+
platforms is to place symbols in the module in the global name space,
|
224
|
+
which may cause conflicts with existing symbols.</doc>
|
211
225
|
</member>
|
212
226
|
<member name="mask" value="3" c:identifier="G_MODULE_BIND_MASK">
|
213
227
|
<doc xml:space="preserve">mask for all flags.</doc>
|
214
228
|
</member>
|
215
229
|
</bitfield>
|
216
230
|
<callback name="ModuleUnload" c:type="GModuleUnload">
|
217
|
-
<doc xml:space="preserve"
|
218
|
-
Specifies the type of the module function called when it is unloaded.
|
231
|
+
<doc xml:space="preserve">Specifies the type of the module function called when it is unloaded.
|
219
232
|
If a module contains a function named g_module_unload() it is called
|
220
233
|
automatically when the module is unloaded.
|
221
234
|
It is passed the #GModule structure.</doc>
|
@@ -242,17 +255,22 @@ standard platform-specific directory, though this is not recommended
|
|
242
255
|
since the wrong module may be found.
|
243
256
|
|
244
257
|
For example, calling g_module_build_path() on a Linux system with a
|
245
|
-
@directory of
|
246
|
-
|
247
|
-
|
248
|
-
<filename>\Windows\mylibrary.dll</filename>.</doc>
|
258
|
+
@directory of `/lib` and a @module_name of "mylibrary" will return
|
259
|
+
`/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the
|
260
|
+
directory it will return `\Windows\mylibrary.dll`.</doc>
|
249
261
|
<return-value transfer-ownership="full">
|
250
|
-
<doc xml:space="preserve">the complete path of the module, including the standard library
|
262
|
+
<doc xml:space="preserve">the complete path of the module, including the standard library
|
263
|
+
prefix and suffix. This should be freed when no longer needed</doc>
|
251
264
|
<type name="utf8" c:type="gchar*"/>
|
252
265
|
</return-value>
|
253
266
|
<parameters>
|
254
|
-
<parameter name="directory"
|
255
|
-
|
267
|
+
<parameter name="directory"
|
268
|
+
transfer-ownership="none"
|
269
|
+
nullable="1"
|
270
|
+
allow-none="1">
|
271
|
+
<doc xml:space="preserve">the directory where the module is. This can be
|
272
|
+
%NULL or the empty string to indicate that the standard platform-specific
|
273
|
+
directories will be used, though that is not recommended</doc>
|
256
274
|
<type name="utf8" c:type="const gchar*"/>
|
257
275
|
</parameter>
|
258
276
|
<parameter name="module_name" transfer-ownership="none">
|