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,72 @@
|
|
1
|
+
# -*- Mode: Python -*-
|
2
|
+
# GObject-Introspection - a framework for introspecting GObject libraries
|
3
|
+
# Copyright (C) 2008-2011 Johan Dahlin
|
4
|
+
#
|
5
|
+
# This program is free software; you can redistribute it and/or
|
6
|
+
# modify it under the terms of the GNU General Public License
|
7
|
+
# as published by the Free Software Foundation; either version 2
|
8
|
+
# of the License, or (at your option) any later version.
|
9
|
+
#
|
10
|
+
# This program 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
|
13
|
+
# GNU General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU General Public License
|
16
|
+
# along with this program; if not, write to the Free Software
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
18
|
+
# 02110-1301, USA.
|
19
|
+
#
|
20
|
+
|
21
|
+
import os
|
22
|
+
import optparse
|
23
|
+
|
24
|
+
from .docwriter import DocWriter
|
25
|
+
from .sectionparser import generate_sections_file, write_sections_file
|
26
|
+
from .transformer import Transformer
|
27
|
+
|
28
|
+
|
29
|
+
def doc_main(args):
|
30
|
+
parser = optparse.OptionParser('%prog [options] GIR-file')
|
31
|
+
|
32
|
+
parser.add_option("-o", "--output",
|
33
|
+
action="store", dest="output",
|
34
|
+
help="Directory to write output to")
|
35
|
+
parser.add_option("-l", "--language",
|
36
|
+
action="store", dest="language",
|
37
|
+
default="c",
|
38
|
+
help="Output language")
|
39
|
+
parser.add_option("", "--add-include-path",
|
40
|
+
action="append", dest="include_paths", default=[],
|
41
|
+
help="include paths for other GIR files")
|
42
|
+
parser.add_option("", "--write-sections-file",
|
43
|
+
action="store_true", dest="write_sections",
|
44
|
+
help="Generate and write out a sections file")
|
45
|
+
|
46
|
+
options, args = parser.parse_args(args)
|
47
|
+
if not options.output:
|
48
|
+
raise SystemExit("missing output parameter")
|
49
|
+
|
50
|
+
if len(args) < 2:
|
51
|
+
raise SystemExit("Need an input GIR filename")
|
52
|
+
|
53
|
+
if 'UNINSTALLED_INTROSPECTION_SRCDIR' in os.environ:
|
54
|
+
top_srcdir = os.environ['UNINSTALLED_INTROSPECTION_SRCDIR']
|
55
|
+
top_builddir = os.environ['UNINSTALLED_INTROSPECTION_BUILDDIR']
|
56
|
+
extra_include_dirs = [os.path.join(top_srcdir, 'gir'), top_builddir]
|
57
|
+
else:
|
58
|
+
extra_include_dirs = []
|
59
|
+
extra_include_dirs.extend(options.include_paths)
|
60
|
+
transformer = Transformer.parse_from_gir(args[1], extra_include_dirs)
|
61
|
+
|
62
|
+
if options.write_sections:
|
63
|
+
sections_file = generate_sections_file(transformer)
|
64
|
+
|
65
|
+
fp = open(options.output, 'w')
|
66
|
+
write_sections_file(fp, sections_file)
|
67
|
+
fp.close()
|
68
|
+
else:
|
69
|
+
writer = DocWriter(transformer, options.language)
|
70
|
+
writer.write(options.output)
|
71
|
+
|
72
|
+
return 0
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="./function.tmpl"/>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="info">
|
3
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
4
|
+
<api:function>
|
5
|
+
<api:returns>
|
6
|
+
<api:type>${formatter.format_type(node.retval.type) | x}</api:type>
|
7
|
+
</api:returns>
|
8
|
+
<api:name>${formatter.format_function_name(node)}</api:name>
|
9
|
+
% for arg in formatter.get_in_parameters(node):
|
10
|
+
% if arg.type.ctype == '<varargs>':
|
11
|
+
<api:varargs/>
|
12
|
+
% else:
|
13
|
+
<api:arg>
|
14
|
+
<api:type>${formatter.format_type(arg.type) | x}</api:type>
|
15
|
+
<api:name>${formatter.format_parameter_name(node, arg)}</api:name>
|
16
|
+
</api:arg>
|
17
|
+
% endif
|
18
|
+
% endfor
|
19
|
+
</api:function>
|
20
|
+
</%block>
|
21
|
+
<%block name="synopsis">
|
22
|
+
<synopsis><code mime="text/x-csrc">
|
23
|
+
${node.retval.type.ctype} ${formatter.format_function_name(node)} (\
|
24
|
+
% if not formatter.get_in_parameters(node):
|
25
|
+
void\
|
26
|
+
% else:
|
27
|
+
% for ix, arg in enumerate(formatter.get_in_parameters(node)):
|
28
|
+
% if ix != 0:
|
29
|
+
${' ' * (len(formatter.format_type(node.retval.type)) + len(formatter.format_function_name(node)) + 3)}\
|
30
|
+
% endif
|
31
|
+
% if arg.type.ctype == '<varargs>':
|
32
|
+
...\
|
33
|
+
% else:
|
34
|
+
${formatter.format_type(arg.type) | x} ${arg.argname}\
|
35
|
+
% endif
|
36
|
+
% if ix != len(formatter.get_in_parameters(node)) - 1:
|
37
|
+
,
|
38
|
+
% endif
|
39
|
+
% endfor
|
40
|
+
% endif
|
41
|
+
);
|
42
|
+
</code></synopsis></%block>
|
43
|
+
<%block name="details">
|
44
|
+
% if formatter.get_in_parameters(node) or node.retval:
|
45
|
+
<terms>
|
46
|
+
% for arg in formatter.get_in_parameters(node):
|
47
|
+
<item>
|
48
|
+
<title><code>${arg.argname}</code></title>
|
49
|
+
${formatter.format(node, arg.doc)}
|
50
|
+
</item>
|
51
|
+
% endfor
|
52
|
+
% if node.retval:
|
53
|
+
<item>
|
54
|
+
<title><code>Returns</code></title>
|
55
|
+
${formatter.format(node, node.retval.doc)}
|
56
|
+
</item>
|
57
|
+
% endif
|
58
|
+
</terms>
|
59
|
+
% endif
|
60
|
+
</%block>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="./function.tmpl"/>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="/namespace.tmpl"/>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="synopsis">
|
3
|
+
<synopsis><code mime="text/x-gjs">
|
4
|
+
function on${node.name}(\
|
5
|
+
${', '.join('%s: %s' % (arg.argname, formatter.format_type(arg.type, True)) for arg in formatter.get_in_parameters(node))}\
|
6
|
+
): ${formatter.format_out_parameters(node)} {
|
7
|
+
}
|
8
|
+
</code></synopsis></%block>
|
9
|
+
<%block name="details">
|
10
|
+
% if formatter.has_any_parameters(node):
|
11
|
+
<terms>
|
12
|
+
% for arg in formatter.get_in_parameters(node):
|
13
|
+
<item>
|
14
|
+
<title><code>${arg.argname}</code></title>
|
15
|
+
${formatter.format(node, arg.doc)}
|
16
|
+
</item>
|
17
|
+
% endfor
|
18
|
+
% for arg in formatter.get_out_parameters(node):
|
19
|
+
<item>
|
20
|
+
<title><code>${(arg.argname + ' (out)') if arg.direction == 'inout' else arg.argname}</code></title>
|
21
|
+
${formatter.format(node, arg.doc)}
|
22
|
+
</item>
|
23
|
+
% endfor
|
24
|
+
</terms>
|
25
|
+
% endif
|
26
|
+
</%block>
|
27
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<%inherit file="/class.tmpl"/>
|
2
|
+
<%block name="synopsis">
|
3
|
+
<synopsis>\
|
4
|
+
% if node.namespace is not None:
|
5
|
+
<code>
|
6
|
+
const ${namespace.name} = imports.gi.${namespace.name};
|
7
|
+
|
8
|
+
let ${formatter.to_lower_camel_case(node.name)} = new ${namespace.name}.${node.name}(\
|
9
|
+
% if isinstance(node, (ast.Class, ast.Interface)):
|
10
|
+
% if len(node.properties) > 0:
|
11
|
+
{
|
12
|
+
% for ix, property_ in enumerate(node.properties):
|
13
|
+
% if (property_.construct or property_.construct_only) and property_.writable:
|
14
|
+
<link xref='${namespace.name}.${node.name}-${property_.name}'>${property_.name.replace('-', '_')}</link>: value,
|
15
|
+
% endif
|
16
|
+
% endfor
|
17
|
+
}\
|
18
|
+
% endif
|
19
|
+
% else:
|
20
|
+
${formatter.format_gboxed_constructor(node)}\
|
21
|
+
% endif
|
22
|
+
);
|
23
|
+
</code>\
|
24
|
+
% else:
|
25
|
+
<p>
|
26
|
+
This structure is inside ${node.parent.namespace.name}.${node.parent.name}
|
27
|
+
and can only be used as a field of that.
|
28
|
+
</p>
|
29
|
+
% endif
|
30
|
+
</synopsis></%block>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="./function.tmpl"/>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<%! page_type="guide" %>
|
2
|
+
<%inherit file="/base.tmpl"/>
|
3
|
+
<%block name="details">
|
4
|
+
% if node.members:
|
5
|
+
<terms>
|
6
|
+
% for member in node.members:
|
7
|
+
<item>
|
8
|
+
<title><code>${node.name}.${member.name.upper()}</code></title>
|
9
|
+
${formatter.format(node, member.doc)}
|
10
|
+
</item>
|
11
|
+
% endfor
|
12
|
+
</terms>
|
13
|
+
% endif
|
14
|
+
</%block>
|
15
|
+
<%block name="links">\
|
16
|
+
<links type="topic" ui:expanded="true"
|
17
|
+
api:type="function" api:mime="${formatter.mime_type}"
|
18
|
+
groups="function" style="linklist">
|
19
|
+
<title>Functions</title>
|
20
|
+
</links>\
|
21
|
+
</%block>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="info">
|
3
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
4
|
+
<title type="link" role="topic">${node.name}</title>
|
5
|
+
</%block>
|
6
|
+
<%block name="synopsis">
|
7
|
+
<synopsis><code mime="text/x-gjs">
|
8
|
+
${node.parent.name}.${formatter.to_underscores(node)}: ${formatter.format_type(node.type, True)} (${formatter.format_property_flags(node)})
|
9
|
+
</code></synopsis></%block>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="info">
|
3
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
4
|
+
<api:function>
|
5
|
+
<api:returns>
|
6
|
+
<api:type>${formatter.format_type(node.retval.type) | x}</api:type>
|
7
|
+
</api:returns>
|
8
|
+
<api:name>${node.symbol}</api:name>
|
9
|
+
% for arg in formatter.get_in_parameters(node):
|
10
|
+
% if arg.type.ctype == '<varargs>':
|
11
|
+
<api:varargs/>
|
12
|
+
% else:
|
13
|
+
<api:arg>
|
14
|
+
<api:type>${formatter.format_type(arg.type) | x}</api:type>
|
15
|
+
<api:name>${formatter.format_parameter_name(node, arg)}</api:name>
|
16
|
+
</api:arg>
|
17
|
+
% endif
|
18
|
+
% endfor
|
19
|
+
</api:function>
|
20
|
+
</%block>
|
21
|
+
<%block name="synopsis">
|
22
|
+
<synopsis><code mime="text/x-gjs">
|
23
|
+
function \
|
24
|
+
${node.name if node.shadows is None else node.shadows}(\
|
25
|
+
${', '.join('%s: %s' % (arg.argname, formatter.format_type(arg.type, True)) for arg in formatter.get_in_parameters(node))}\
|
26
|
+
): ${formatter.format_out_parameters(node)} {
|
27
|
+
// Gjs wrapper for ${node.symbol}()
|
28
|
+
}
|
29
|
+
</code></synopsis></%block>
|
30
|
+
<%block name="details">
|
31
|
+
% if formatter.has_any_parameters(node):
|
32
|
+
<terms>
|
33
|
+
% for arg in formatter.get_in_parameters(node):
|
34
|
+
<item>
|
35
|
+
<title><code>${arg.argname}</code></title>
|
36
|
+
${formatter.format(node, arg.doc)}
|
37
|
+
</item>
|
38
|
+
% endfor
|
39
|
+
% for arg in formatter.get_out_parameters(node):
|
40
|
+
<item>
|
41
|
+
<title><code>${(arg.argname + ' (out)') if arg.direction == 'inout' else arg.argname}</code></title>
|
42
|
+
${formatter.format(node, arg.doc)}
|
43
|
+
</item>
|
44
|
+
% endfor
|
45
|
+
</terms>
|
46
|
+
% endif
|
47
|
+
</%block>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<%inherit file="/class.tmpl"/>
|
2
|
+
<%block name="synopsis">
|
3
|
+
<synopsis><code>
|
4
|
+
const ${namespace.name} = imports.gi.${namespace.name};
|
5
|
+
|
6
|
+
let ${formatter.to_underscores(node).lower()} = new ${namespace.name}.${node.name}(\
|
7
|
+
% if len(node.properties) > 0:
|
8
|
+
{
|
9
|
+
% for ix, property_ in enumerate(node.properties):
|
10
|
+
% if (property_.construct or property_.construct_only) and property_.writable:
|
11
|
+
<link xref='${namespace.name}.${node.name}-${property_.name}'>${property_.name.replace('-', '_')}</link>: value,
|
12
|
+
% endif
|
13
|
+
% endfor
|
14
|
+
}\
|
15
|
+
% endif
|
16
|
+
);
|
17
|
+
</code></synopsis></%block>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="./function.tmpl"/>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="info">
|
3
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
4
|
+
<title type="link" role="topic">${node.name}</title>
|
5
|
+
</%block>
|
6
|
+
<%block name="synopsis">
|
7
|
+
<synopsis><code mime="text/x-gjs">
|
8
|
+
${node.parent.name}.${formatter.to_underscores(node)}: ${formatter.format_type(node.type, True)} (${formatter.format_property_flags(node)})
|
9
|
+
</code></synopsis></%block>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="info">
|
3
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
4
|
+
<title type="link" role="topic">${node.name}</title>
|
5
|
+
</%block>
|
6
|
+
<%block name="synopsis">
|
7
|
+
<synopsis><code mime="text/x-gjs">
|
8
|
+
connect('${node.name}', function (${formatter.to_lower_camel_case(node.parent.name)}, \
|
9
|
+
% for arg in formatter.get_in_parameters(node):
|
10
|
+
% if arg.type.target_fundamental != 'none':
|
11
|
+
${arg.argname}: ${formatter.format_type(arg.type, True)}, \
|
12
|
+
% endif
|
13
|
+
% endfor
|
14
|
+
): ${formatter.format_type(node.retval.type, True)});
|
15
|
+
</code></synopsis></%block>
|
16
|
+
<%block name="details">
|
17
|
+
<terms>
|
18
|
+
<item>
|
19
|
+
<title><code>${formatter.to_lower_camel_case(node.parent.name)}</code></title>
|
20
|
+
<p>instance of ${formatter.format_xref(node.parent)} that is emitting the signal</p>
|
21
|
+
</item>
|
22
|
+
% for arg in formatter.get_in_parameters(node):
|
23
|
+
<item>
|
24
|
+
<title><code>${arg.argname}</code></title>
|
25
|
+
${formatter.format(node, arg.doc)}
|
26
|
+
</item>
|
27
|
+
% endfor
|
28
|
+
% if node.retval and \
|
29
|
+
node.retval.type.ctype != 'void' and \
|
30
|
+
node.retval.type.ctype is not None:
|
31
|
+
<item>
|
32
|
+
<title><code>Returns</code></title>
|
33
|
+
${formatter.format(node, node.retval.doc)}
|
34
|
+
</item>
|
35
|
+
% endif
|
36
|
+
</terms>
|
37
|
+
</%block>
|
38
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="synopsis">
|
3
|
+
<synopsis><code mime="text/x-gjs">
|
4
|
+
function vfunc_${node.name}(\
|
5
|
+
${', '.join('%s: %s' % (arg.argname, formatter.format_type(arg.type, True)) for arg in formatter.get_in_parameters(node))}\
|
6
|
+
): ${formatter.format_out_parameters(node)} {
|
7
|
+
}
|
8
|
+
</code></synopsis></%block>
|
9
|
+
<%block name="details">
|
10
|
+
% if formatter.get_in_parameters(node) or node.retval:
|
11
|
+
<terms>
|
12
|
+
% for arg in formatter.get_in_parameters(node):
|
13
|
+
<item>
|
14
|
+
<title><code>${arg.argname}</code></title>
|
15
|
+
${formatter.format(node, arg.doc)}
|
16
|
+
</item>
|
17
|
+
% endfor
|
18
|
+
% if node.retval and node.retval.type.ctype != 'void':
|
19
|
+
<item>
|
20
|
+
<title><code>Returns</code></title>
|
21
|
+
${formatter.format(node, node.retval.doc)}
|
22
|
+
</item>
|
23
|
+
% endif
|
24
|
+
</terms>
|
25
|
+
% endif
|
26
|
+
</%block>
|
27
|
+
|