gobject-introspection 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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,77 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2012 Ruby-GNOME2 Project Team
|
4
|
+
*
|
5
|
+
* This library is free software; you can redistribute it and/or
|
6
|
+
* modify it under the terms of the GNU Lesser General Public
|
7
|
+
* License as published by the Free Software Foundation; either
|
8
|
+
* version 2.1 of the License, or (at your option) any later version.
|
9
|
+
*
|
10
|
+
* This library is distributed in the hope that it will be useful,
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
* Lesser General Public License for more details.
|
14
|
+
*
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
16
|
+
* License along with this library; if not, write to the Free Software
|
17
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
18
|
+
* MA 02110-1301 USA
|
19
|
+
*/
|
20
|
+
|
21
|
+
#include "rb-gi-private.h"
|
22
|
+
|
23
|
+
#define RG_TARGET_NAMESPACE rb_cGIPropertyInfo
|
24
|
+
#define SELF(self) RVAL2GI_BASE_INFO(self)
|
25
|
+
|
26
|
+
GType
|
27
|
+
gi_property_info_get_type(void)
|
28
|
+
{
|
29
|
+
static GType type = 0;
|
30
|
+
if (type == 0) {
|
31
|
+
type = g_boxed_type_register_static("GIPropertyInfo",
|
32
|
+
(GBoxedCopyFunc)g_base_info_ref,
|
33
|
+
(GBoxedFreeFunc)g_base_info_unref);
|
34
|
+
}
|
35
|
+
return type;
|
36
|
+
}
|
37
|
+
|
38
|
+
static VALUE
|
39
|
+
rg_flags(VALUE self)
|
40
|
+
{
|
41
|
+
GIPropertyInfo *info;
|
42
|
+
|
43
|
+
info = SELF(self);
|
44
|
+
return INT2NUM(g_property_info_get_flags(info));
|
45
|
+
}
|
46
|
+
|
47
|
+
static VALUE
|
48
|
+
rg_type(VALUE self)
|
49
|
+
{
|
50
|
+
GIPropertyInfo *info;
|
51
|
+
|
52
|
+
info = SELF(self);
|
53
|
+
return GI_BASE_INFO2RVAL_WITH_UNREF(g_property_info_get_type(info));
|
54
|
+
}
|
55
|
+
|
56
|
+
static VALUE
|
57
|
+
rg_ownership_transfer(VALUE self)
|
58
|
+
{
|
59
|
+
GIPropertyInfo *info;
|
60
|
+
|
61
|
+
info = SELF(self);
|
62
|
+
return GI_TRANSFER2RVAL(g_property_info_get_ownership_transfer(info));
|
63
|
+
}
|
64
|
+
|
65
|
+
void
|
66
|
+
rb_gi_property_info_init(VALUE rb_mGI, VALUE rb_cGICallableInfo)
|
67
|
+
{
|
68
|
+
VALUE RG_TARGET_NAMESPACE;
|
69
|
+
|
70
|
+
RG_TARGET_NAMESPACE =
|
71
|
+
G_DEF_CLASS_WITH_PARENT(GI_TYPE_PROPERTY_INFO, "PropertyInfo", rb_mGI,
|
72
|
+
rb_cGICallableInfo);
|
73
|
+
|
74
|
+
RG_DEF_METHOD(flags, 0);
|
75
|
+
RG_DEF_METHOD(type, 0);
|
76
|
+
RG_DEF_METHOD(ownership_transfer, 0);
|
77
|
+
}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2012 Ruby-GNOME2 Project Team
|
4
|
+
*
|
5
|
+
* This library is free software; you can redistribute it and/or
|
6
|
+
* modify it under the terms of the GNU Lesser General Public
|
7
|
+
* License as published by the Free Software Foundation; either
|
8
|
+
* version 2.1 of the License, or (at your option) any later version.
|
9
|
+
*
|
10
|
+
* This library is distributed in the hope that it will be useful,
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
* Lesser General Public License for more details.
|
14
|
+
*
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
16
|
+
* License along with this library; if not, write to the Free Software
|
17
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
18
|
+
* MA 02110-1301 USA
|
19
|
+
*/
|
20
|
+
|
21
|
+
#include "rb-gi-private.h"
|
22
|
+
|
23
|
+
#define RG_TARGET_NAMESPACE rb_cGIRegisteredTypeInfo
|
24
|
+
#define SELF(self) (RVAL2GI_REGISTERED_TYPE_INFO(self))
|
25
|
+
|
26
|
+
GType
|
27
|
+
gi_registered_type_info_get_type(void)
|
28
|
+
{
|
29
|
+
static GType type = 0;
|
30
|
+
if (type == 0) {
|
31
|
+
type = g_boxed_type_register_static("GIRegisteredTypeInfo",
|
32
|
+
(GBoxedCopyFunc)g_base_info_ref,
|
33
|
+
(GBoxedFreeFunc)g_base_info_unref);
|
34
|
+
}
|
35
|
+
return type;
|
36
|
+
}
|
37
|
+
|
38
|
+
static VALUE
|
39
|
+
rg_type_name(VALUE self)
|
40
|
+
{
|
41
|
+
GIRegisteredTypeInfo *info;
|
42
|
+
|
43
|
+
info = SELF(self);
|
44
|
+
return CSTR2RVAL(g_registered_type_info_get_type_name(info));
|
45
|
+
}
|
46
|
+
|
47
|
+
static VALUE
|
48
|
+
rg_type_init(VALUE self)
|
49
|
+
{
|
50
|
+
GIRegisteredTypeInfo *info;
|
51
|
+
|
52
|
+
info = SELF(self);
|
53
|
+
return CSTR2RVAL(g_registered_type_info_get_type_init(info));
|
54
|
+
}
|
55
|
+
|
56
|
+
static VALUE
|
57
|
+
rg_gtype(VALUE self)
|
58
|
+
{
|
59
|
+
GIRegisteredTypeInfo *info;
|
60
|
+
|
61
|
+
info = SELF(self);
|
62
|
+
return rbgobj_gtype_new(g_registered_type_info_get_g_type(info));
|
63
|
+
}
|
64
|
+
|
65
|
+
void
|
66
|
+
rb_gi_registered_type_info_init(VALUE rb_mGI, VALUE rb_cGIBaseInfo)
|
67
|
+
{
|
68
|
+
VALUE RG_TARGET_NAMESPACE;
|
69
|
+
|
70
|
+
RG_TARGET_NAMESPACE =
|
71
|
+
G_DEF_CLASS_WITH_PARENT(GI_TYPE_REGISTERED_TYPE_INFO,
|
72
|
+
"RegisteredTypeInfo",
|
73
|
+
rb_mGI,
|
74
|
+
rb_cGIBaseInfo);
|
75
|
+
|
76
|
+
RG_DEF_METHOD(type_name, 0);
|
77
|
+
RG_DEF_METHOD(type_init, 0);
|
78
|
+
RG_DEF_METHOD(gtype, 0);
|
79
|
+
|
80
|
+
rb_gi_struct_info_init(rb_mGI, RG_TARGET_NAMESPACE);
|
81
|
+
rb_gi_boxed_info_init(rb_mGI, RG_TARGET_NAMESPACE);
|
82
|
+
rb_gi_enum_info_init(rb_mGI, RG_TARGET_NAMESPACE);
|
83
|
+
rb_gi_object_info_init(rb_mGI, RG_TARGET_NAMESPACE);
|
84
|
+
rb_gi_interface_info_init(rb_mGI, RG_TARGET_NAMESPACE);
|
85
|
+
rb_gi_union_info_init(rb_mGI, RG_TARGET_NAMESPACE);
|
86
|
+
}
|
@@ -0,0 +1,246 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2012 Ruby-GNOME2 Project Team
|
4
|
+
*
|
5
|
+
* This library is free software; you can redistribute it and/or
|
6
|
+
* modify it under the terms of the GNU Lesser General Public
|
7
|
+
* License as published by the Free Software Foundation; either
|
8
|
+
* version 2.1 of the License, or (at your option) any later version.
|
9
|
+
*
|
10
|
+
* This library is distributed in the hope that it will be useful,
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
* Lesser General Public License for more details.
|
14
|
+
*
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
16
|
+
* License along with this library; if not, write to the Free Software
|
17
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
18
|
+
* MA 02110-1301 USA
|
19
|
+
*/
|
20
|
+
|
21
|
+
|
22
|
+
/* GObjectIntrospection::Repository is used to manage repositories of
|
23
|
+
* namespaces. Namespaces are represented on disk by type libraries
|
24
|
+
* (.typelib files).
|
25
|
+
*/
|
26
|
+
|
27
|
+
#include "rb-gi-private.h"
|
28
|
+
|
29
|
+
#define RG_TARGET_NAMESPACE rb_cGIRepository
|
30
|
+
#define SELF(self) RVAL2GI_REPOSITORY(self)
|
31
|
+
|
32
|
+
|
33
|
+
/* Returns the singleton process-global default
|
34
|
+
* GObjectIntrospection::Repository. It is not currently supported to have
|
35
|
+
* multiple repositories in a particular process, but this function is provided
|
36
|
+
* in the unlikely eventuality that it would become possible, and as a
|
37
|
+
* convenience for higher level language bindings to conform to the GObject
|
38
|
+
* method call conventions.
|
39
|
+
*
|
40
|
+
* @return [GObjectIntrospection::Repository] The global singleton
|
41
|
+
* GObjectIntrospection::Repository.
|
42
|
+
*/
|
43
|
+
static VALUE
|
44
|
+
rg_s_default(G_GNUC_UNUSED VALUE klass)
|
45
|
+
{
|
46
|
+
return GOBJ2RVAL(g_irepository_get_default());
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
/* Force the namespace to be loaded if it isn't already. If namespace is not
|
51
|
+
* loaded, this function will search for a ".typelib" file using the repository
|
52
|
+
* search path. In addition, a version of namespace may be specified. If version
|
53
|
+
* is not specified, the latest will be used.
|
54
|
+
*
|
55
|
+
* @param [String] namespace The namespace to load
|
56
|
+
* @param [String, nil] version An optional version
|
57
|
+
*/
|
58
|
+
static VALUE
|
59
|
+
rg_require(int argc, VALUE *argv, VALUE self)
|
60
|
+
{
|
61
|
+
VALUE rb_namespace, rb_version, rb_flags;
|
62
|
+
const gchar *namespace_, *version;
|
63
|
+
GIRepositoryLoadFlags flags = 0;
|
64
|
+
GError *error = NULL;
|
65
|
+
|
66
|
+
rb_scan_args(argc, argv, "12", &rb_namespace, &rb_version, &rb_flags);
|
67
|
+
|
68
|
+
namespace_ = RVAL2CSTR(rb_namespace);
|
69
|
+
version = RVAL2CSTR_ACCEPT_NIL(rb_version);
|
70
|
+
if (!NIL_P(rb_flags)) {
|
71
|
+
flags = RVAL2GI_REPOSITORY_LOAD_FLAGS(rb_flags);
|
72
|
+
}
|
73
|
+
|
74
|
+
g_irepository_require(SELF(self), namespace_, version, flags, &error);
|
75
|
+
if (error) {
|
76
|
+
RG_RAISE_ERROR(error);
|
77
|
+
}
|
78
|
+
|
79
|
+
return Qnil;
|
80
|
+
}
|
81
|
+
|
82
|
+
|
83
|
+
/* Return an array of all (transitive) versioned dependencies for namespace.
|
84
|
+
* Returned strings are of the form "namespace-version".
|
85
|
+
* Note: namespace must have already been loaded using a function such as
|
86
|
+
* GObjectIntrospection::Repository.require() before calling this method.
|
87
|
+
*
|
88
|
+
* @param [String] namespace The namespace to get the dependencies for.
|
89
|
+
*
|
90
|
+
* @return [Array<String>] The dependencies.
|
91
|
+
*/
|
92
|
+
static VALUE
|
93
|
+
rg_get_dependencies(VALUE self, VALUE rb_namespace)
|
94
|
+
{
|
95
|
+
GIRepository *repository;
|
96
|
+
const gchar *namespace_;
|
97
|
+
VALUE rb_dependencies;
|
98
|
+
gchar **dependencies;
|
99
|
+
gint i;
|
100
|
+
|
101
|
+
repository = SELF(self);
|
102
|
+
namespace_ = RVAL2CSTR(rb_namespace);
|
103
|
+
dependencies = g_irepository_get_dependencies(repository, namespace_);
|
104
|
+
rb_dependencies = rb_ary_new();
|
105
|
+
for (i = 0; dependencies[i]; i++) {
|
106
|
+
rb_ary_push(rb_dependencies, CSTR2RVAL(dependencies[i]));
|
107
|
+
}
|
108
|
+
g_strfreev(dependencies);
|
109
|
+
|
110
|
+
return rb_dependencies;
|
111
|
+
}
|
112
|
+
|
113
|
+
|
114
|
+
/* Return the list of currently loaded namespaces.
|
115
|
+
*
|
116
|
+
* @return [Array<String>] The loaded namespaces.
|
117
|
+
*/
|
118
|
+
static VALUE
|
119
|
+
rg_loaded_namespaces(VALUE self)
|
120
|
+
{
|
121
|
+
GIRepository *repository;
|
122
|
+
VALUE rb_namespaces;
|
123
|
+
gchar **namespaces;
|
124
|
+
gint i;
|
125
|
+
|
126
|
+
repository = SELF(self);
|
127
|
+
namespaces = g_irepository_get_loaded_namespaces(repository);
|
128
|
+
rb_namespaces = rb_ary_new();
|
129
|
+
for (i = 0; namespaces[i]; i++) {
|
130
|
+
rb_ary_push(rb_namespaces, CSTR2RVAL(namespaces[i]));
|
131
|
+
}
|
132
|
+
g_strfreev(namespaces);
|
133
|
+
|
134
|
+
return rb_namespaces;
|
135
|
+
}
|
136
|
+
|
137
|
+
|
138
|
+
/* This method returns the number of metadata entries in given namespace. The
|
139
|
+
* namespace must have already been loaded before calling this function.
|
140
|
+
*
|
141
|
+
* @param [String] namespace The namespace to fetch the entries from.
|
142
|
+
*
|
143
|
+
* @return [Integer] The number of metadata entries.
|
144
|
+
*/
|
145
|
+
static VALUE
|
146
|
+
rg_get_n_infos(VALUE self, VALUE rb_namespace)
|
147
|
+
{
|
148
|
+
const gchar *namespace_;
|
149
|
+
gint n_infos;
|
150
|
+
|
151
|
+
namespace_ = RVAL2CSTR(rb_namespace);
|
152
|
+
n_infos = g_irepository_get_n_infos(SELF(self), namespace_);
|
153
|
+
|
154
|
+
return INT2NUM(n_infos);
|
155
|
+
}
|
156
|
+
|
157
|
+
|
158
|
+
/* This method returns a particular metadata entry in the given namespace. The
|
159
|
+
* namespace must have already been loaded before calling this function. See
|
160
|
+
* GObjectIntrospection::Repository#get_n_infos() to find the maximum number
|
161
|
+
* of entries.
|
162
|
+
*
|
163
|
+
* @param [String] namespace The namespace to fetch the metadata entry from.
|
164
|
+
* @param [Fixnum] index The index of the entry.
|
165
|
+
*
|
166
|
+
* @return [GObjectIntrospection::BaseInfo] The metadata entry.
|
167
|
+
*/
|
168
|
+
static VALUE
|
169
|
+
rg_get_info(VALUE self, VALUE rb_namespace, VALUE rb_n)
|
170
|
+
{
|
171
|
+
GIRepository *repository;
|
172
|
+
const gchar *namespace_;
|
173
|
+
gint n;
|
174
|
+
GIBaseInfo *info;
|
175
|
+
|
176
|
+
repository = SELF(self);
|
177
|
+
namespace_ = RVAL2CSTR(rb_namespace);
|
178
|
+
n = NUM2INT(rb_n);
|
179
|
+
info = g_irepository_get_info(repository, namespace_, n);
|
180
|
+
return GI_BASE_INFO2RVAL_WITH_UNREF(info);
|
181
|
+
}
|
182
|
+
|
183
|
+
|
184
|
+
/* This method searches for a particular type or name. If only one argument is
|
185
|
+
* given, it is interpreted as a gtype and all loaded namespaces are searched
|
186
|
+
* for it. If two arguments are given the first is a particular namespace and
|
187
|
+
* the second the name of an entry to search for.
|
188
|
+
*
|
189
|
+
* @overload find(type)
|
190
|
+
*
|
191
|
+
* @param [String] type The type to search for.
|
192
|
+
*
|
193
|
+
* @return [GObjectIntrospection::BaseInfo] The metadata entry.
|
194
|
+
*
|
195
|
+
*
|
196
|
+
* @overload find(namespace, type)
|
197
|
+
*
|
198
|
+
* @param [String] namespace The namespace to search in.
|
199
|
+
*
|
200
|
+
* @param [String] type The type to search for.
|
201
|
+
*
|
202
|
+
* @return [GObjectIntrospection::BaseInfo] The metadata entry.
|
203
|
+
*/
|
204
|
+
|
205
|
+
static VALUE
|
206
|
+
rg_find(int argc, VALUE *argv, VALUE self)
|
207
|
+
{
|
208
|
+
GIBaseInfo *info;
|
209
|
+
|
210
|
+
if (argc == 1) {
|
211
|
+
VALUE rb_gtype;
|
212
|
+
GType gtype;
|
213
|
+
rb_gtype = argv[0];
|
214
|
+
gtype = NUM2UINT(rb_gtype);
|
215
|
+
info = g_irepository_find_by_gtype(SELF(self), gtype);
|
216
|
+
} else {
|
217
|
+
VALUE rb_namespace, rb_name;
|
218
|
+
const gchar *namespace_, *name;
|
219
|
+
|
220
|
+
rb_scan_args(argc, argv, "2", &rb_namespace, &rb_name);
|
221
|
+
namespace_ = RVAL2CSTR(rb_namespace);
|
222
|
+
name = RVAL2CSTR(rb_name);
|
223
|
+
info = g_irepository_find_by_name(SELF(self), namespace_, name);
|
224
|
+
}
|
225
|
+
|
226
|
+
return GI_BASE_INFO2RVAL(info);
|
227
|
+
}
|
228
|
+
|
229
|
+
void
|
230
|
+
rb_gi_repository_init(VALUE rb_mGI)
|
231
|
+
{
|
232
|
+
VALUE RG_TARGET_NAMESPACE;
|
233
|
+
|
234
|
+
RG_TARGET_NAMESPACE = G_DEF_CLASS(G_TYPE_IREPOSITORY, "Repository", rb_mGI);
|
235
|
+
|
236
|
+
RG_DEF_SMETHOD(default, 0);
|
237
|
+
RG_DEF_METHOD(require, -1);
|
238
|
+
RG_DEF_METHOD(get_dependencies, 1);
|
239
|
+
RG_DEF_METHOD(loaded_namespaces, 0);
|
240
|
+
RG_DEF_METHOD(get_n_infos, 1);
|
241
|
+
RG_DEF_METHOD(get_info, 2);
|
242
|
+
RG_DEF_METHOD(find, -1);
|
243
|
+
|
244
|
+
G_DEF_CLASS(G_TYPE_I_REPOSITORY_LOAD_FLAGS, "RepositoryLoadFlags", rb_mGI);
|
245
|
+
G_DEF_CLASS(G_TYPE_I_REPOSITORY_ERROR, "RepositoryError", rb_mGI);
|
246
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
+
/*
|
3
|
+
* Copyright (C) 2012 Ruby-GNOME2 Project Team
|
4
|
+
*
|
5
|
+
* This library is free software; you can redistribute it and/or
|
6
|
+
* modify it under the terms of the GNU Lesser General Public
|
7
|
+
* License as published by the Free Software Foundation; either
|
8
|
+
* version 2.1 of the License, or (at your option) any later version.
|
9
|
+
*
|
10
|
+
* This library is distributed in the hope that it will be useful,
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
* Lesser General Public License for more details.
|
14
|
+
*
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
16
|
+
* License along with this library; if not, write to the Free Software
|
17
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
18
|
+
* MA 02110-1301 USA
|
19
|
+
*/
|
20
|
+
|
21
|
+
#include "rb-gi-private.h"
|
22
|
+
|
23
|
+
#define RG_TARGET_NAMESPACE rb_cGISignalInfo
|
24
|
+
#define SELF(self) RVAL2GI_BASE_INFO(self)
|
25
|
+
|
26
|
+
GType
|
27
|
+
gi_signal_info_get_type(void)
|
28
|
+
{
|
29
|
+
static GType type = 0;
|
30
|
+
if (type == 0) {
|
31
|
+
type = g_boxed_type_register_static("GISignalInfo",
|
32
|
+
(GBoxedCopyFunc)g_base_info_ref,
|
33
|
+
(GBoxedFreeFunc)g_base_info_unref);
|
34
|
+
}
|
35
|
+
return type;
|
36
|
+
}
|
37
|
+
|
38
|
+
static VALUE
|
39
|
+
rg_flags(VALUE self)
|
40
|
+
{
|
41
|
+
GISignalInfo *info;
|
42
|
+
|
43
|
+
info = SELF(self);
|
44
|
+
return GI_SIGNAL_FLAGS2RVAL(g_signal_info_get_flags(info));
|
45
|
+
}
|
46
|
+
|
47
|
+
static VALUE
|
48
|
+
rg_class_closure(VALUE self)
|
49
|
+
{
|
50
|
+
GISignalInfo *info;
|
51
|
+
|
52
|
+
info = SELF(self);
|
53
|
+
return GI_BASE_INFO2RVAL_WITH_UNREF(g_signal_info_get_class_closure(info));
|
54
|
+
}
|
55
|
+
|
56
|
+
static VALUE
|
57
|
+
rg_true_stops_emit_p(VALUE self)
|
58
|
+
{
|
59
|
+
GISignalInfo *info;
|
60
|
+
|
61
|
+
info = SELF(self);
|
62
|
+
return CBOOL2RVAL(g_signal_info_true_stops_emit(info));
|
63
|
+
}
|
64
|
+
|
65
|
+
void
|
66
|
+
rb_gi_signal_info_init(VALUE rb_mGI, VALUE rb_cGICallableInfo)
|
67
|
+
{
|
68
|
+
VALUE RG_TARGET_NAMESPACE;
|
69
|
+
|
70
|
+
RG_TARGET_NAMESPACE =
|
71
|
+
G_DEF_CLASS_WITH_PARENT(GI_TYPE_SIGNAL_INFO, "SignalInfo", rb_mGI,
|
72
|
+
rb_cGICallableInfo);
|
73
|
+
|
74
|
+
RG_DEF_METHOD(flags, 0);
|
75
|
+
RG_DEF_METHOD(class_closure, 0);
|
76
|
+
RG_DEF_METHOD_P(true_stops_emit, 0);
|
77
|
+
}
|