gobject-introspection 2.2.4-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Rakefile +129 -0
- data/ext/gobject-introspection/depend +10 -0
- data/ext/gobject-introspection/extconf.rb +94 -0
- data/ext/gobject-introspection/gobject_introspection.def +5 -0
- data/ext/gobject-introspection/rb-gi-arg-info.c +151 -0
- data/ext/gobject-introspection/rb-gi-argument.c +2053 -0
- data/ext/gobject-introspection/rb-gi-base-info.c +218 -0
- data/ext/gobject-introspection/rb-gi-boxed-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-callable-info.c +104 -0
- data/ext/gobject-introspection/rb-gi-callback-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-constant-info.c +77 -0
- data/ext/gobject-introspection/rb-gi-constructor-info.c +133 -0
- data/ext/gobject-introspection/rb-gi-conversions.h +145 -0
- data/ext/gobject-introspection/rb-gi-enum-info.c +155 -0
- data/ext/gobject-introspection/rb-gi-field-info.c +153 -0
- data/ext/gobject-introspection/rb-gi-flags-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-function-info.c +841 -0
- data/ext/gobject-introspection/rb-gi-interface-info.c +222 -0
- data/ext/gobject-introspection/rb-gi-loader.c +224 -0
- data/ext/gobject-introspection/rb-gi-method-info.c +83 -0
- data/ext/gobject-introspection/rb-gi-object-info.c +345 -0
- data/ext/gobject-introspection/rb-gi-private.h +105 -0
- data/ext/gobject-introspection/rb-gi-property-info.c +77 -0
- data/ext/gobject-introspection/rb-gi-registered-type-info.c +86 -0
- data/ext/gobject-introspection/rb-gi-repository.c +246 -0
- data/ext/gobject-introspection/rb-gi-signal-info.c +77 -0
- data/ext/gobject-introspection/rb-gi-struct-info.c +202 -0
- data/ext/gobject-introspection/rb-gi-type-info.c +143 -0
- data/ext/gobject-introspection/rb-gi-type-tag.c +43 -0
- data/ext/gobject-introspection/rb-gi-types.h +71 -0
- data/ext/gobject-introspection/rb-gi-union-info.c +206 -0
- data/ext/gobject-introspection/rb-gi-unresolved-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-value-info.c +57 -0
- data/ext/gobject-introspection/rb-gi-vfunc-info.c +91 -0
- data/ext/gobject-introspection/rb-gobject-introspection.c +44 -0
- data/ext/gobject-introspection/rb-gobject-introspection.h +60 -0
- data/extconf.rb +71 -0
- data/lib/2.0/gobject_introspection.so +0 -0
- data/lib/2.1/gobject_introspection.so +0 -0
- data/lib/2.2/gobject_introspection.so +0 -0
- data/lib/gobject-introspection.rb +53 -0
- data/lib/gobject-introspection/boxed-info.rb +28 -0
- data/lib/gobject-introspection/callable-info.rb +100 -0
- data/lib/gobject-introspection/collection-reader.rb +34 -0
- data/lib/gobject-introspection/interface-info.rb +32 -0
- data/lib/gobject-introspection/loader.rb +465 -0
- data/lib/gobject-introspection/object-info.rb +33 -0
- data/lib/gobject-introspection/repository.rb +32 -0
- data/lib/gobject-introspection/struct-info.rb +28 -0
- data/lib/gobject-introspection/union-info.rb +28 -0
- data/test/gobject-introspection-test-utils.rb +26 -0
- data/test/run-test.rb +45 -0
- data/test/test-arg-info.rb +68 -0
- data/test/test-base-info.rb +31 -0
- data/test/test-boxed-info.rb +21 -0
- data/test/test-callable-info.rb +49 -0
- data/test/test-callback-info.rb +29 -0
- data/test/test-constant-info.rb +24 -0
- data/test/test-enum-info.rb +61 -0
- data/test/test-field-type.rb +42 -0
- data/test/test-flags-info.rb +27 -0
- data/test/test-function-info.rb +39 -0
- data/test/test-interface-info.rb +97 -0
- data/test/test-loader.rb +30 -0
- data/test/test-object-info.rb +131 -0
- data/test/test-property-info.rb +38 -0
- data/test/test-registered-type-info.rb +35 -0
- data/test/test-repository.rb +62 -0
- data/test/test-signal-info.rb +40 -0
- data/test/test-struct-info.rb +57 -0
- data/test/test-type-info.rb +62 -0
- data/test/test-type-tag.rb +29 -0
- data/test/test-union-info.rb +21 -0
- data/test/test-value-info.rb +28 -0
- data/test/test-vfunc-info.rb +42 -0
- 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 +82 -0
- data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +120 -0
- data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +110 -0
- data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +58 -0
- data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +82 -0
- data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +71 -0
- data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +100 -0
- data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +106 -0
- data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +207 -0
- data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +56 -0
- data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +64 -0
- data/vendor/local/include/gobject-introspection-1.0/girepository.h +239 -0
- data/vendor/local/include/gobject-introspection-1.0/girffi.h +104 -0
- data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +57 -0
- data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +77 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +87 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +80 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypes.h +524 -0
- data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +84 -0
- data/vendor/local/include/gobject-introspection-1.0/giversionmacros.h +128 -0
- data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +73 -0
- data/vendor/local/lib/girepository-1.0/DBus-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/DBusGLib-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GL-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GModule-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/cairo-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/fontconfig-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/freetype2-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/girepository-1.0/xfixes-4.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/xft-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/xlib-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/xrandr-1.3.typelib +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/__init__.py +24 -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 +76 -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.py +2161 -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.py +1139 -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.py +203 -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 +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 +173 -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__.py +23 -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.py +120 -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.py +72 -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/class.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/constructor.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/default.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/enum.tmpl +2 -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 +60 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/interface.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/method.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/namespace.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/property.tmpl +5 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/record.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/signal.tmpl +5 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/vfunc.tmpl +4 -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 +30 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/constructor.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/default.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/enum.tmpl +21 -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 +47 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/interface.tmpl +17 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/method.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/namespace.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/property.tmpl +9 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/record.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/signal.tmpl +38 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +18 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/constructor.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/default.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/enum.tmpl +13 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/field.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl +47 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/interface.tmpl +16 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/method.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/namespace.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/property.tmpl +9 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/record.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/signal.tmpl +41 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +20 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +61 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +16 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +958 -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 +338 -0
- 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 +529 -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.py +593 -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.py +612 -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.py +240 -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.py +76 -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 +1366 -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.py +203 -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/scannermain.py +561 -0
- 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.py +152 -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 +140 -0
- 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 +329 -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.py +136 -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.py +971 -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 +211 -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.py +156 -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 +41 -0
- data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +26 -0
- data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +23 -0
- data/vendor/local/lib/pkgconfig/patched +0 -0
- data/vendor/local/share/aclocal/introspection.m4 +96 -0
- data/vendor/local/share/gir-1.0/DBus-1.0.gir +32 -0
- data/vendor/local/share/gir-1.0/DBusGLib-1.0.gir +18 -0
- data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +4042 -0
- data/vendor/local/share/gir-1.0/GL-1.0.gir +31 -0
- data/vendor/local/share/gir-1.0/GLib-2.0.gir +47221 -0
- data/vendor/local/share/gir-1.0/GModule-2.0.gir +301 -0
- data/vendor/local/share/gir-1.0/GObject-2.0.gir +14733 -0
- data/vendor/local/share/gir-1.0/Gio-2.0.gir +82459 -0
- data/vendor/local/share/gir-1.0/cairo-1.0.gir +70 -0
- data/vendor/local/share/gir-1.0/fontconfig-2.0.gir +18 -0
- data/vendor/local/share/gir-1.0/freetype2-2.0.gir +22 -0
- data/vendor/local/share/gir-1.0/libxml2-2.0.gir +25 -0
- data/vendor/local/share/gir-1.0/win32-1.0.gir +19 -0
- data/vendor/local/share/gir-1.0/xfixes-4.0.gir +10 -0
- data/vendor/local/share/gir-1.0/xft-2.0.gir +23 -0
- data/vendor/local/share/gir-1.0/xlib-2.0.gir +67 -0
- data/vendor/local/share/gir-1.0/xrandr-1.3.gir +16 -0
- data/vendor/local/share/gobject-introspection-1.0/Makefile.introspection +166 -0
- data/vendor/local/share/gobject-introspection-1.0/gdump.c +569 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +831 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +301 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +57 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +44 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +1579 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +535 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.c +790 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.h +582 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +5426 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +1948 -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 +4068 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +1415 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +47 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +102 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +47 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +46 -0
- data/vendor/local/share/license/gobject-introspection/AUTHORS +9 -0
- data/vendor/local/share/license/gobject-introspection/COPYING +12 -0
- data/vendor/local/share/man/man1/g-ir-compiler.1 +42 -0
- data/vendor/local/share/man/man1/g-ir-generate.1 +29 -0
- metadata +363 -0
@@ -0,0 +1,62 @@
|
|
1
|
+
# Copyright (C) 2012-2014 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestRepository < Test::Unit::TestCase
|
18
|
+
include GObjectIntrospectionTestUtils
|
19
|
+
|
20
|
+
def setup
|
21
|
+
@repository = GObjectIntrospection::Repository.default
|
22
|
+
@repository.require("GObject")
|
23
|
+
@repository.require("Gio")
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_get_n_infos
|
27
|
+
assert_kind_of(Integer, @repository.get_n_infos("GObject"))
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_get_info
|
31
|
+
assert_kind_of(GObjectIntrospection::BaseInfo,
|
32
|
+
@repository.get_info("GObject", 0))
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_get_dependencies
|
36
|
+
require_version(1, 36, 0)
|
37
|
+
assert_equal(["GObject-2.0"].sort,
|
38
|
+
@repository.get_dependencies("Gio").sort)
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_loaded_namespaces
|
42
|
+
assert_equal(["GLib", "GObject", "Gio"].sort,
|
43
|
+
@repository.loaded_namespaces.sort)
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_enumerable
|
47
|
+
namespaces = @repository.collect do |info|
|
48
|
+
info.namespace
|
49
|
+
end
|
50
|
+
assert_equal(["GLib", "GObject", "Gio"].sort, namespaces.uniq.sort)
|
51
|
+
end
|
52
|
+
|
53
|
+
def test_find_by_gtype
|
54
|
+
info = @repository.find(GLib::Object.gtype)
|
55
|
+
assert_equal("Object", info.name)
|
56
|
+
end
|
57
|
+
|
58
|
+
def test_find_by_name
|
59
|
+
info = @repository.find("GObject", "Object")
|
60
|
+
assert_equal("Object", info.name)
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Copyright (C) 2012-2014 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestSignalInfo < Test::Unit::TestCase
|
18
|
+
include GObjectIntrospectionTestUtils
|
19
|
+
|
20
|
+
def setup
|
21
|
+
@repository = GObjectIntrospection::Repository.default
|
22
|
+
@repository.require("Gio")
|
23
|
+
@object_info = @repository.find("Gio", "Application")
|
24
|
+
@info = @object_info.signals.find {|info| info.name == "startup"}
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_flags
|
28
|
+
require_version(1, 40, 0)
|
29
|
+
assert_equal(GLib::SignalFlags::RUN_FIRST,
|
30
|
+
@info.flags)
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_class_closure
|
34
|
+
assert_nil(@info.class_closure)
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_true_stops_emit?
|
38
|
+
assert_false(@info.true_stops_emit?)
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# Copyright (C) 2012-2014 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestStructInfo < Test::Unit::TestCase
|
18
|
+
def setup
|
19
|
+
@repository = GObjectIntrospection::Repository.default
|
20
|
+
@repository.require("GObject")
|
21
|
+
@info = @repository.find("GObject", "Value")
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_n_fields
|
25
|
+
assert_equal(2, @info.n_fields)
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_get_field
|
29
|
+
assert_kind_of(GObjectIntrospection::FieldInfo,
|
30
|
+
@info.get_field(0))
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_n_methods
|
34
|
+
assert_operator(@info.n_methods, :>=, 62)
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_get_method
|
38
|
+
assert_kind_of(GObjectIntrospection::FunctionInfo,
|
39
|
+
@info.get_method(0))
|
40
|
+
end
|
41
|
+
|
42
|
+
def test_size
|
43
|
+
assert_operator(@info.size, :>=, 20)
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_alignment
|
47
|
+
assert_operator(@info.alignment, :>=, 4)
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_gtype_struct?
|
51
|
+
assert_false(@info.gtype_struct?)
|
52
|
+
end
|
53
|
+
|
54
|
+
def test_foreign?
|
55
|
+
assert_false(@info.foreign?)
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# Copyright (C) 2012 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestTypeInfo < Test::Unit::TestCase
|
18
|
+
def setup
|
19
|
+
@repository = GObjectIntrospection::Repository.default
|
20
|
+
@repository.require("GObject")
|
21
|
+
@function_info = @repository.find("GObject", "signal_list_ids")
|
22
|
+
@info = @function_info.return_type
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_pointer?
|
26
|
+
assert_true(@info.pointer?)
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_tag
|
30
|
+
assert_kind_of(GObjectIntrospection::TypeTag,
|
31
|
+
@info.tag)
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_param_type
|
35
|
+
assert_kind_of(GObjectIntrospection::TypeInfo,
|
36
|
+
@info.get_param_type(0))
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_interface
|
40
|
+
function_info = @repository.find("GObject", "type_class_ref")
|
41
|
+
info = function_info.return_type
|
42
|
+
assert_kind_of(GObjectIntrospection::StructInfo,
|
43
|
+
info.interface)
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_array_length
|
47
|
+
assert_equal(1, @info.array_length)
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_array_fixed_size
|
51
|
+
assert_equal(-1, @info.array_fixed_size)
|
52
|
+
end
|
53
|
+
|
54
|
+
def test_zero_terminated?
|
55
|
+
assert_false(@info.zero_terminated?)
|
56
|
+
end
|
57
|
+
|
58
|
+
def test_array_type
|
59
|
+
assert_equal(GObjectIntrospection::ArrayType::C,
|
60
|
+
@info.array_type)
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Copyright (C) 2012 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestTypeTag < Test::Unit::TestCase
|
18
|
+
def setup
|
19
|
+
@repository = GObjectIntrospection::Repository.default
|
20
|
+
@repository.require("GObject")
|
21
|
+
@function_info = @repository.find("GObject", "signal_list_ids")
|
22
|
+
@type_info = @function_info.return_type
|
23
|
+
@tag = @type_info.tag
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_to_s
|
27
|
+
assert_equal("array", @tag.to_s)
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Copyright (C) 2012 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestUnionInfo < Test::Unit::TestCase
|
18
|
+
def setup
|
19
|
+
# TODO: find UnionInfo
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright (C) 2012 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestValueInfo < Test::Unit::TestCase
|
18
|
+
def setup
|
19
|
+
@repository = GObjectIntrospection::Repository.default
|
20
|
+
@repository.require("GObject")
|
21
|
+
@flags_info = @repository.find("GObject", "SignalFlags")
|
22
|
+
@info = @flags_info.get_value(0)
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_value
|
26
|
+
assert_equal(1, @info.value)
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Copyright (C) 2012 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestVFuncInfo < Test::Unit::TestCase
|
18
|
+
def setup
|
19
|
+
@repository = GObjectIntrospection::Repository.default
|
20
|
+
@repository.require("Gio")
|
21
|
+
@object_info = @repository.find("Gio", "FileOutputStream")
|
22
|
+
@info = @object_info.get_vfunc(0)
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_flags
|
26
|
+
assert_equal(GObjectIntrospection::VFuncInfoFlags.new,
|
27
|
+
@info.flags)
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_offset
|
31
|
+
assert_equal(GObjectIntrospection::VFuncInfo::UNKNOWN_OFFSET,
|
32
|
+
@info.offset)
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_signal
|
36
|
+
assert_nil(@info.signal)
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_invoker
|
40
|
+
assert_nil(@info.invoker)
|
41
|
+
end
|
42
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,82 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: Argument
|
3
|
+
*
|
4
|
+
* Copyright (C) 2005 Matthias Clasen
|
5
|
+
* Copyright (C) 2008,2009 Red Hat, Inc.
|
6
|
+
*
|
7
|
+
* This library is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* This library is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Lesser General Public
|
18
|
+
* License along with this library; if not, write to the
|
19
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
20
|
+
* Boston, MA 02111-1307, USA.
|
21
|
+
*/
|
22
|
+
|
23
|
+
#ifndef __GIARGINFO_H__
|
24
|
+
#define __GIARGINFO_H__
|
25
|
+
|
26
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
27
|
+
#error "Only <girepository.h> can be included directly."
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#include <gitypes.h>
|
31
|
+
|
32
|
+
G_BEGIN_DECLS
|
33
|
+
|
34
|
+
/**
|
35
|
+
* GI_IS_ARG_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a GIArgInfo.
|
39
|
+
*/
|
40
|
+
#define GI_IS_ARG_INFO(info) \
|
41
|
+
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_ARG)
|
42
|
+
|
43
|
+
|
44
|
+
GI_AVAILABLE_IN_ALL
|
45
|
+
GIDirection g_arg_info_get_direction (GIArgInfo *info);
|
46
|
+
|
47
|
+
GI_AVAILABLE_IN_ALL
|
48
|
+
gboolean g_arg_info_is_return_value (GIArgInfo *info);
|
49
|
+
|
50
|
+
GI_AVAILABLE_IN_ALL
|
51
|
+
gboolean g_arg_info_is_optional (GIArgInfo *info);
|
52
|
+
|
53
|
+
GI_AVAILABLE_IN_ALL
|
54
|
+
gboolean g_arg_info_is_caller_allocates (GIArgInfo *info);
|
55
|
+
|
56
|
+
GI_AVAILABLE_IN_ALL
|
57
|
+
gboolean g_arg_info_may_be_null (GIArgInfo *info);
|
58
|
+
|
59
|
+
GI_AVAILABLE_IN_ALL
|
60
|
+
gboolean g_arg_info_is_skip (GIArgInfo *info);
|
61
|
+
|
62
|
+
GI_AVAILABLE_IN_ALL
|
63
|
+
GITransfer g_arg_info_get_ownership_transfer (GIArgInfo *info);
|
64
|
+
|
65
|
+
GI_AVAILABLE_IN_ALL
|
66
|
+
GIScopeType g_arg_info_get_scope (GIArgInfo *info);
|
67
|
+
|
68
|
+
GI_AVAILABLE_IN_ALL
|
69
|
+
gint g_arg_info_get_closure (GIArgInfo *info);
|
70
|
+
|
71
|
+
GI_AVAILABLE_IN_ALL
|
72
|
+
gint g_arg_info_get_destroy (GIArgInfo *info);
|
73
|
+
|
74
|
+
GI_AVAILABLE_IN_ALL
|
75
|
+
GITypeInfo * g_arg_info_get_type (GIArgInfo *info);
|
76
|
+
|
77
|
+
GI_AVAILABLE_IN_ALL
|
78
|
+
void g_arg_info_load_type (GIArgInfo *info,
|
79
|
+
GITypeInfo *type);
|
80
|
+
G_END_DECLS
|
81
|
+
|
82
|
+
#endif /* __GIARGINFO_H__ */
|
@@ -0,0 +1,120 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: GIBaseInfo
|
3
|
+
*
|
4
|
+
* Copyright (C) 2005 Matthias Clasen
|
5
|
+
* Copyright (C) 2008,2009 Red Hat, Inc.
|
6
|
+
*
|
7
|
+
* This library is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* This library is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Lesser General Public
|
18
|
+
* License along with this library; if not, write to the
|
19
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
20
|
+
* Boston, MA 02111-1307, USA.
|
21
|
+
*/
|
22
|
+
|
23
|
+
#ifndef __GIBASEINFO_H__
|
24
|
+
#define __GIBASEINFO_H__
|
25
|
+
|
26
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
27
|
+
#error "Only <girepository.h> can be included directly."
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#include <glib-object.h>
|
31
|
+
#include <gitypelib.h>
|
32
|
+
#include <gitypes.h>
|
33
|
+
|
34
|
+
G_BEGIN_DECLS
|
35
|
+
|
36
|
+
/**
|
37
|
+
* GIBaseInfoStub:
|
38
|
+
*
|
39
|
+
* TODO
|
40
|
+
*/
|
41
|
+
struct _GIBaseInfoStub {
|
42
|
+
/* <private> */
|
43
|
+
gint32 dummy1;
|
44
|
+
gint32 dummy2;
|
45
|
+
gpointer dummy3;
|
46
|
+
gpointer dummy4;
|
47
|
+
gpointer dummy5;
|
48
|
+
guint32 dummy6;
|
49
|
+
guint32 dummy7;
|
50
|
+
gpointer padding[4];
|
51
|
+
};
|
52
|
+
|
53
|
+
/**
|
54
|
+
* GIAttributeIter:
|
55
|
+
*
|
56
|
+
* An opaque structure used to iterate over attributes
|
57
|
+
* in a #GIBaseInfo struct.
|
58
|
+
*/
|
59
|
+
typedef struct {
|
60
|
+
/* <private> */
|
61
|
+
gpointer data;
|
62
|
+
gpointer data2;
|
63
|
+
gpointer data3;
|
64
|
+
gpointer data4;
|
65
|
+
} GIAttributeIter;
|
66
|
+
|
67
|
+
#define GI_TYPE_BASE_INFO (g_base_info_gtype_get_type ())
|
68
|
+
|
69
|
+
|
70
|
+
GI_AVAILABLE_IN_ALL
|
71
|
+
GType g_base_info_gtype_get_type (void) G_GNUC_CONST;
|
72
|
+
|
73
|
+
GI_AVAILABLE_IN_ALL
|
74
|
+
GIBaseInfo * g_base_info_ref (GIBaseInfo *info);
|
75
|
+
|
76
|
+
GI_AVAILABLE_IN_ALL
|
77
|
+
void g_base_info_unref (GIBaseInfo *info);
|
78
|
+
|
79
|
+
GI_AVAILABLE_IN_ALL
|
80
|
+
GIInfoType g_base_info_get_type (GIBaseInfo *info);
|
81
|
+
|
82
|
+
GI_AVAILABLE_IN_ALL
|
83
|
+
const gchar * g_base_info_get_name (GIBaseInfo *info);
|
84
|
+
|
85
|
+
GI_AVAILABLE_IN_ALL
|
86
|
+
const gchar * g_base_info_get_namespace (GIBaseInfo *info);
|
87
|
+
|
88
|
+
GI_AVAILABLE_IN_ALL
|
89
|
+
gboolean g_base_info_is_deprecated (GIBaseInfo *info);
|
90
|
+
|
91
|
+
GI_AVAILABLE_IN_ALL
|
92
|
+
const gchar * g_base_info_get_attribute (GIBaseInfo *info,
|
93
|
+
const gchar *name);
|
94
|
+
|
95
|
+
GI_AVAILABLE_IN_ALL
|
96
|
+
gboolean g_base_info_iterate_attributes (GIBaseInfo *info,
|
97
|
+
GIAttributeIter *iterator,
|
98
|
+
char **name,
|
99
|
+
char **value);
|
100
|
+
|
101
|
+
GI_AVAILABLE_IN_ALL
|
102
|
+
GIBaseInfo * g_base_info_get_container (GIBaseInfo *info);
|
103
|
+
|
104
|
+
GI_AVAILABLE_IN_ALL
|
105
|
+
GITypelib * g_base_info_get_typelib (GIBaseInfo *info);
|
106
|
+
|
107
|
+
GI_AVAILABLE_IN_ALL
|
108
|
+
gboolean g_base_info_equal (GIBaseInfo *info1,
|
109
|
+
GIBaseInfo *info2);
|
110
|
+
|
111
|
+
GI_AVAILABLE_IN_ALL
|
112
|
+
GIBaseInfo * g_info_new (GIInfoType type,
|
113
|
+
GIBaseInfo *container,
|
114
|
+
GITypelib *typelib,
|
115
|
+
guint32 offset);
|
116
|
+
|
117
|
+
G_END_DECLS
|
118
|
+
|
119
|
+
#endif /* __GIBASEINFO_H__ */
|
120
|
+
|