gobject-introspection 2.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +118 -0
- data/ext/gobject-introspection/depend +10 -0
- data/ext/gobject-introspection/extconf.rb +97 -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 +1015 -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 +120 -0
- data/ext/gobject-introspection/rb-gi-conversions.h +116 -0
- data/ext/gobject-introspection/rb-gi-enum-info.c +145 -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 +658 -0
- data/ext/gobject-introspection/rb-gi-interface-info.c +222 -0
- data/ext/gobject-introspection/rb-gi-loader.c +162 -0
- data/ext/gobject-introspection/rb-gi-method-info.c +109 -0
- data/ext/gobject-introspection/rb-gi-object-info.c +345 -0
- data/ext/gobject-introspection/rb-gi-private.h +110 -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 +164 -0
- data/ext/gobject-introspection/rb-gi-signal-info.c +77 -0
- data/ext/gobject-introspection/rb-gi-struct-info.c +190 -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 +57 -0
- data/extconf.rb +71 -0
- data/lib/1.9/gobject_introspection.so +0 -0
- data/lib/2.0/gobject_introspection.so +0 -0
- data/lib/gobject-introspection.rb +52 -0
- data/lib/gobject-introspection/callable-info.rb +91 -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 +328 -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 +56 -0
- data/test/test-field-type.rb +42 -0
- data/test/test-flags-info.rb +27 -0
- data/test/test-function-info.rb +37 -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 +59 -0
- data/test/test-signal-info.rb +37 -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 +52 -0
- data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +89 -0
- data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +74 -0
- data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +46 -0
- data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +56 -0
- data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +52 -0
- data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +77 -0
- data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +68 -0
- data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +137 -0
- data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +44 -0
- data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +53 -0
- data/vendor/local/include/gobject-introspection-1.0/girepository.h +179 -0
- data/vendor/local/include/gobject-introspection-1.0/girffi.h +80 -0
- data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +45 -0
- data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +53 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +56 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +55 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypes.h +453 -0
- data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +57 -0
- data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +56 -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/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 +74 -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 +1204 -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 +1100 -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 +196 -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/codegen.py +140 -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/docmain.py +60 -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/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/function.tmpl +61 -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/class.tmpl +18 -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 +13 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/function.tmpl +48 -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 +10 -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 +37 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +17 -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/function.tmpl +53 -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 +10 -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 +42 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +33 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +29 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +40 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +19 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +635 -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 +363 -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 +551 -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 +581 -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 +584 -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 +236 -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 +1337 -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 +185 -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/odict.py +50 -0
- data/vendor/local/lib/gobject-introspection/giscanner/odict.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/odict.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.py +497 -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 +78 -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 +132 -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 +324 -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 +119 -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 +999 -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 +141 -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 +197 -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/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 +3833 -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 +44304 -0
- data/vendor/local/share/gir-1.0/GModule-2.0.gir +184 -0
- data/vendor/local/share/gir-1.0/GObject-2.0.gir +13947 -0
- data/vendor/local/share/gir-1.0/Gio-2.0.gir +73619 -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/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 +564 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +835 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +198 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +55 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +33 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +1473 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +428 -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 +437 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +5256 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +1158 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +4009 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +944 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +45 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +95 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +33 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +36 -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 +51 -0
- data/vendor/local/share/man/man1/g-ir-generate.1 +29 -0
- metadata +343 -0
@@ -0,0 +1,55 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: Public typelib API
|
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 __GITYPELIB_H__
|
24
|
+
#define __GITYPELIB_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.h>
|
31
|
+
|
32
|
+
G_BEGIN_DECLS
|
33
|
+
|
34
|
+
typedef struct _GITypelib GITypelib;
|
35
|
+
|
36
|
+
GITypelib * g_typelib_new_from_memory (guint8 *memory,
|
37
|
+
gsize len,
|
38
|
+
GError **error);
|
39
|
+
GITypelib * g_typelib_new_from_const_memory (const guint8 *memory,
|
40
|
+
gsize len,
|
41
|
+
GError **error);
|
42
|
+
GITypelib * g_typelib_new_from_mapped_file (GMappedFile *mfile,
|
43
|
+
GError **error);
|
44
|
+
void g_typelib_free (GITypelib *typelib);
|
45
|
+
|
46
|
+
gboolean g_typelib_symbol (GITypelib *typelib,
|
47
|
+
const gchar *symbol_name,
|
48
|
+
gpointer *symbol);
|
49
|
+
const gchar * g_typelib_get_namespace (GITypelib *typelib);
|
50
|
+
|
51
|
+
|
52
|
+
G_END_DECLS
|
53
|
+
|
54
|
+
#endif /* __GITYPELIB_H__ */
|
55
|
+
|
@@ -0,0 +1,453 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: types
|
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 __GITYPES_H__
|
24
|
+
#define __GITYPES_H__
|
25
|
+
|
26
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
27
|
+
#error "Only <girepository.h> can be included directly."
|
28
|
+
#endif
|
29
|
+
|
30
|
+
G_BEGIN_DECLS
|
31
|
+
|
32
|
+
typedef struct _GIBaseInfoStub GIBaseInfo;
|
33
|
+
|
34
|
+
/**
|
35
|
+
* GICallableInfo:
|
36
|
+
*
|
37
|
+
* Represents a callable, either #GIFunctionInfo, #GICallbackInfo or
|
38
|
+
* #GIVFuncInfo.
|
39
|
+
*/
|
40
|
+
typedef GIBaseInfo GICallableInfo;
|
41
|
+
|
42
|
+
/**
|
43
|
+
* GIFunctionInfo:
|
44
|
+
*
|
45
|
+
* Represents a function, eg arguments and return value.
|
46
|
+
*/
|
47
|
+
typedef GIBaseInfo GIFunctionInfo;
|
48
|
+
|
49
|
+
/**
|
50
|
+
* GICallbackInfo:
|
51
|
+
*
|
52
|
+
* Represents a callback, eg arguments and return value.
|
53
|
+
*/
|
54
|
+
typedef GIBaseInfo GICallbackInfo;
|
55
|
+
|
56
|
+
/**
|
57
|
+
* GIRegisteredTypeInfo:
|
58
|
+
*
|
59
|
+
* Represent a registered type.
|
60
|
+
*/
|
61
|
+
typedef GIBaseInfo GIRegisteredTypeInfo;
|
62
|
+
|
63
|
+
/**
|
64
|
+
* GIStructInfo:
|
65
|
+
*
|
66
|
+
* Represents a struct.
|
67
|
+
*/
|
68
|
+
typedef GIBaseInfo GIStructInfo;
|
69
|
+
|
70
|
+
/**
|
71
|
+
* GIUnionInfo:
|
72
|
+
*
|
73
|
+
* Represents a union.
|
74
|
+
*/
|
75
|
+
typedef GIBaseInfo GIUnionInfo;
|
76
|
+
|
77
|
+
/**
|
78
|
+
* GIEnumInfo:
|
79
|
+
*
|
80
|
+
* Represents an enum or a flag.
|
81
|
+
*/
|
82
|
+
typedef GIBaseInfo GIEnumInfo;
|
83
|
+
|
84
|
+
/**
|
85
|
+
* GIObjectInfo:
|
86
|
+
*
|
87
|
+
* Represents an object.
|
88
|
+
*/
|
89
|
+
typedef GIBaseInfo GIObjectInfo;
|
90
|
+
|
91
|
+
/**
|
92
|
+
* GIInterfaceInfo:
|
93
|
+
*
|
94
|
+
* Represents an interface.
|
95
|
+
*/
|
96
|
+
typedef GIBaseInfo GIInterfaceInfo;
|
97
|
+
|
98
|
+
/**
|
99
|
+
* GIConstantInfo:
|
100
|
+
*
|
101
|
+
* Represents a constant.
|
102
|
+
*/
|
103
|
+
typedef GIBaseInfo GIConstantInfo;
|
104
|
+
|
105
|
+
/**
|
106
|
+
* GIValueInfo:
|
107
|
+
*
|
108
|
+
* Represents a enum value of a #GIEnumInfo.
|
109
|
+
*/
|
110
|
+
typedef GIBaseInfo GIValueInfo;
|
111
|
+
|
112
|
+
/**
|
113
|
+
* GISignalInfo:
|
114
|
+
*
|
115
|
+
* Represents a signal.
|
116
|
+
*/
|
117
|
+
typedef GIBaseInfo GISignalInfo;
|
118
|
+
|
119
|
+
/**
|
120
|
+
* GIVFuncInfo:
|
121
|
+
*
|
122
|
+
* Represents a virtual function.
|
123
|
+
*/
|
124
|
+
typedef GIBaseInfo GIVFuncInfo;
|
125
|
+
|
126
|
+
/**
|
127
|
+
* GIPropertyInfo:
|
128
|
+
*
|
129
|
+
* Represents a property of a #GIObjectInfo or a #GIInterfaceInfo.
|
130
|
+
*/
|
131
|
+
typedef GIBaseInfo GIPropertyInfo;
|
132
|
+
|
133
|
+
/**
|
134
|
+
* GIFieldInfo:
|
135
|
+
*
|
136
|
+
* Represents a field of a #GIStructInfo or a #GIUnionInfo.
|
137
|
+
*/
|
138
|
+
typedef GIBaseInfo GIFieldInfo;
|
139
|
+
|
140
|
+
/**
|
141
|
+
* GIArgInfo:
|
142
|
+
*
|
143
|
+
* Represents an argument.
|
144
|
+
*/
|
145
|
+
typedef GIBaseInfo GIArgInfo;
|
146
|
+
|
147
|
+
/**
|
148
|
+
* GITypeInfo:
|
149
|
+
*
|
150
|
+
* Represents type information, direction, transfer etc.
|
151
|
+
*/
|
152
|
+
typedef GIBaseInfo GITypeInfo;
|
153
|
+
|
154
|
+
/**
|
155
|
+
* GIUnresolvedInfo:
|
156
|
+
*
|
157
|
+
* Represents a unresolved type in a typelib.
|
158
|
+
*/
|
159
|
+
typedef struct _GIUnresolvedInfo GIUnresolvedInfo;
|
160
|
+
|
161
|
+
/**
|
162
|
+
* GIArgument:
|
163
|
+
*
|
164
|
+
* Stores an argument of varying type
|
165
|
+
*/
|
166
|
+
typedef union
|
167
|
+
{
|
168
|
+
gboolean v_boolean;
|
169
|
+
gint8 v_int8;
|
170
|
+
guint8 v_uint8;
|
171
|
+
gint16 v_int16;
|
172
|
+
guint16 v_uint16;
|
173
|
+
gint32 v_int32;
|
174
|
+
guint32 v_uint32;
|
175
|
+
gint64 v_int64;
|
176
|
+
guint64 v_uint64;
|
177
|
+
gfloat v_float;
|
178
|
+
gdouble v_double;
|
179
|
+
gshort v_short;
|
180
|
+
gushort v_ushort;
|
181
|
+
gint v_int;
|
182
|
+
guint v_uint;
|
183
|
+
glong v_long;
|
184
|
+
gulong v_ulong;
|
185
|
+
gssize v_ssize;
|
186
|
+
gsize v_size;
|
187
|
+
gchar * v_string;
|
188
|
+
gpointer v_pointer;
|
189
|
+
} GIArgument;
|
190
|
+
|
191
|
+
/**
|
192
|
+
* GIInfoType:
|
193
|
+
* @GI_INFO_TYPE_INVALID: invalid type
|
194
|
+
* @GI_INFO_TYPE_FUNCTION: function, see #GIFunctionInfo
|
195
|
+
* @GI_INFO_TYPE_CALLBACK: callback, see #GIFunctionInfo
|
196
|
+
* @GI_INFO_TYPE_STRUCT: struct, see #GIStructInfo
|
197
|
+
* @GI_INFO_TYPE_BOXED: boxed, see #GIStructInfo or #GIUnionInfo
|
198
|
+
* @GI_INFO_TYPE_ENUM: enum, see #GIEnumInfo
|
199
|
+
* @GI_INFO_TYPE_FLAGS: flags, see #GIEnumInfo
|
200
|
+
* @GI_INFO_TYPE_OBJECT: object, see #GIObjectInfo
|
201
|
+
* @GI_INFO_TYPE_INTERFACE: interface, see #GIInterfaceInfo
|
202
|
+
* @GI_INFO_TYPE_CONSTANT: contant, see #GIConstantInfo
|
203
|
+
* @GI_INFO_TYPE_UNION: union, see #GIUnionInfo
|
204
|
+
* @GI_INFO_TYPE_VALUE: enum value, see #GIValueInfo
|
205
|
+
* @GI_INFO_TYPE_SIGNAL: signal, see #GISignalInfo
|
206
|
+
* @GI_INFO_TYPE_VFUNC: virtual function, see #GIVFuncInfo
|
207
|
+
* @GI_INFO_TYPE_PROPERTY: GObject property, see #GIPropertyInfo
|
208
|
+
* @GI_INFO_TYPE_FIELD: struct or union field, see #GIFieldInfo
|
209
|
+
* @GI_INFO_TYPE_ARG: argument of a function or callback, see #GIArgInfo
|
210
|
+
* @GI_INFO_TYPE_TYPE: type information, see #GITypeInfo
|
211
|
+
* @GI_INFO_TYPE_UNRESOLVED: unresolved type, a type which is not present in
|
212
|
+
* the typelib, or any of its dependencies.
|
213
|
+
*
|
214
|
+
* The type of a GIBaseInfo struct.
|
215
|
+
*/
|
216
|
+
typedef enum
|
217
|
+
{
|
218
|
+
GI_INFO_TYPE_INVALID,
|
219
|
+
GI_INFO_TYPE_FUNCTION,
|
220
|
+
GI_INFO_TYPE_CALLBACK,
|
221
|
+
GI_INFO_TYPE_STRUCT,
|
222
|
+
GI_INFO_TYPE_BOXED,
|
223
|
+
GI_INFO_TYPE_ENUM, /* 5 */
|
224
|
+
GI_INFO_TYPE_FLAGS,
|
225
|
+
GI_INFO_TYPE_OBJECT,
|
226
|
+
GI_INFO_TYPE_INTERFACE,
|
227
|
+
GI_INFO_TYPE_CONSTANT,
|
228
|
+
GI_INFO_TYPE_INVALID_0, /* 10 */ /** DELETED - used to be ERROR_DOMAIN **/
|
229
|
+
GI_INFO_TYPE_UNION,
|
230
|
+
GI_INFO_TYPE_VALUE,
|
231
|
+
GI_INFO_TYPE_SIGNAL,
|
232
|
+
GI_INFO_TYPE_VFUNC,
|
233
|
+
GI_INFO_TYPE_PROPERTY, /* 15 */
|
234
|
+
GI_INFO_TYPE_FIELD,
|
235
|
+
GI_INFO_TYPE_ARG,
|
236
|
+
GI_INFO_TYPE_TYPE,
|
237
|
+
GI_INFO_TYPE_UNRESOLVED
|
238
|
+
} GIInfoType;
|
239
|
+
|
240
|
+
/**
|
241
|
+
* GITransfer:
|
242
|
+
* @GI_TRANSFER_NOTHING: transfer nothing from the callee (function or the type
|
243
|
+
* instance the property belongs to) to the caller. The callee retains the
|
244
|
+
* ownership of the transfer and the caller doesn't need to do anything to free
|
245
|
+
* up the resources of this transfer.
|
246
|
+
* @GI_TRANSFER_CONTAINER: transfer the container (list, array, hash table) from
|
247
|
+
* the callee to the caller. The callee retains the ownership of the individual
|
248
|
+
* items in the container and the caller has to free up the container resources
|
249
|
+
* (g_list_free()/g_hash_table_destroy() etc) of this transfer.
|
250
|
+
* @GI_TRANSFER_EVERYTHING: transfer everything, eg the container and its
|
251
|
+
* contents from the callee to the caller. This is the case when the callee
|
252
|
+
* creates a copy of all the data it returns. The caller is responsible for
|
253
|
+
* cleaning up the container and item resources of this transfer.
|
254
|
+
*
|
255
|
+
* The transfer is the exchange of data between two parts, from the callee to
|
256
|
+
* the caller. The callee is either a function/method/signal or an
|
257
|
+
* object/interface where a property is defined. The caller is the side
|
258
|
+
* accessing a property or calling a function.
|
259
|
+
* #GITransfer specifies who's responsible for freeing the resources after the
|
260
|
+
* ownership transfer is complete. In case of a containing type such as a list,
|
261
|
+
* an array or a hash table the container itself is specified differently from
|
262
|
+
* the items within the container itself. Each container is freed differently,
|
263
|
+
* check the documentation for the types themselves for information on how to
|
264
|
+
* free them.
|
265
|
+
*/
|
266
|
+
typedef enum {
|
267
|
+
GI_TRANSFER_NOTHING,
|
268
|
+
GI_TRANSFER_CONTAINER,
|
269
|
+
GI_TRANSFER_EVERYTHING
|
270
|
+
} GITransfer;
|
271
|
+
|
272
|
+
/**
|
273
|
+
* GIDirection:
|
274
|
+
* @GI_DIRECTION_IN: in argument.
|
275
|
+
* @GI_DIRECTION_OUT: out argument.
|
276
|
+
* @GI_DIRECTION_INOUT: in and out argument.
|
277
|
+
*
|
278
|
+
* The direction of a #GIArgInfo.
|
279
|
+
*/
|
280
|
+
typedef enum {
|
281
|
+
GI_DIRECTION_IN,
|
282
|
+
GI_DIRECTION_OUT,
|
283
|
+
GI_DIRECTION_INOUT
|
284
|
+
} GIDirection;
|
285
|
+
|
286
|
+
/**
|
287
|
+
* GIScopeType:
|
288
|
+
* @GI_SCOPE_TYPE_INVALID: The argument is not of callback type.
|
289
|
+
* @GI_SCOPE_TYPE_CALL: The callback and associated user_data is only
|
290
|
+
* used during the call to this function.
|
291
|
+
* @GI_SCOPE_TYPE_ASYNC: The callback and associated user_data is
|
292
|
+
* only used until the callback is invoked, and the callback.
|
293
|
+
* is invoked always exactly once.
|
294
|
+
* @GI_SCOPE_TYPE_NOTIFIED: The callback and and associated
|
295
|
+
* user_data is used until the caller is notfied via the destroy_notify.
|
296
|
+
*
|
297
|
+
* Scope type of a #GIArgInfo representing callback, determines how the
|
298
|
+
* callback is invoked and is used to decided when the invoke structs
|
299
|
+
* can be freed.
|
300
|
+
*/
|
301
|
+
typedef enum {
|
302
|
+
GI_SCOPE_TYPE_INVALID,
|
303
|
+
GI_SCOPE_TYPE_CALL,
|
304
|
+
GI_SCOPE_TYPE_ASYNC,
|
305
|
+
GI_SCOPE_TYPE_NOTIFIED
|
306
|
+
} GIScopeType;
|
307
|
+
|
308
|
+
/**
|
309
|
+
* GITypeTag:
|
310
|
+
* @GI_TYPE_TAG_VOID: void
|
311
|
+
* @GI_TYPE_TAG_BOOLEAN: boolean
|
312
|
+
* @GI_TYPE_TAG_INT8: 8-bit signed integer
|
313
|
+
* @GI_TYPE_TAG_UINT8: 8-bit unsigned integer
|
314
|
+
* @GI_TYPE_TAG_INT16: 16-bit signed integer
|
315
|
+
* @GI_TYPE_TAG_UINT16: 16-bit unsigned integer
|
316
|
+
* @GI_TYPE_TAG_INT32: 32-bit signed integer
|
317
|
+
* @GI_TYPE_TAG_UINT32: 32-bit unsigned integer
|
318
|
+
* @GI_TYPE_TAG_INT64: 64-bit signed integer
|
319
|
+
* @GI_TYPE_TAG_UINT64: 64-bit unsigned integer
|
320
|
+
* @GI_TYPE_TAG_FLOAT: float
|
321
|
+
* @GI_TYPE_TAG_DOUBLE: double floating point
|
322
|
+
* @GI_TYPE_TAG_UNICHAR: Unicode character
|
323
|
+
* @GI_TYPE_TAG_GTYPE: a #GType
|
324
|
+
* @GI_TYPE_TAG_UTF8: a UTF-8 encoded string
|
325
|
+
* @GI_TYPE_TAG_FILENAME: a filename, encoded in the same encoding
|
326
|
+
* as the native filesystem is using.
|
327
|
+
* @GI_TYPE_TAG_ARRAY: an array
|
328
|
+
* @GI_TYPE_TAG_INTERFACE: an extended interface object
|
329
|
+
* @GI_TYPE_TAG_GLIST: a #GList
|
330
|
+
* @GI_TYPE_TAG_GSLIST: a #GSList
|
331
|
+
* @GI_TYPE_TAG_GHASH: a #GHashTable
|
332
|
+
* @GI_TYPE_TAG_ERROR: a #GError
|
333
|
+
*
|
334
|
+
* The type tag of a #GITypeInfo.
|
335
|
+
*/
|
336
|
+
typedef enum {
|
337
|
+
/* Basic types */
|
338
|
+
GI_TYPE_TAG_VOID = 0,
|
339
|
+
GI_TYPE_TAG_BOOLEAN = 1,
|
340
|
+
GI_TYPE_TAG_INT8 = 2,
|
341
|
+
GI_TYPE_TAG_UINT8 = 3,
|
342
|
+
GI_TYPE_TAG_INT16 = 4,
|
343
|
+
GI_TYPE_TAG_UINT16 = 5,
|
344
|
+
GI_TYPE_TAG_INT32 = 6,
|
345
|
+
GI_TYPE_TAG_UINT32 = 7,
|
346
|
+
GI_TYPE_TAG_INT64 = 8,
|
347
|
+
GI_TYPE_TAG_UINT64 = 9,
|
348
|
+
GI_TYPE_TAG_FLOAT = 10,
|
349
|
+
GI_TYPE_TAG_DOUBLE = 11,
|
350
|
+
GI_TYPE_TAG_GTYPE = 12,
|
351
|
+
GI_TYPE_TAG_UTF8 = 13,
|
352
|
+
GI_TYPE_TAG_FILENAME = 14,
|
353
|
+
/* Non-basic types; compare with G_TYPE_TAG_IS_BASIC */
|
354
|
+
GI_TYPE_TAG_ARRAY = 15,
|
355
|
+
GI_TYPE_TAG_INTERFACE = 16,
|
356
|
+
GI_TYPE_TAG_GLIST = 17,
|
357
|
+
GI_TYPE_TAG_GSLIST = 18,
|
358
|
+
GI_TYPE_TAG_GHASH = 19,
|
359
|
+
GI_TYPE_TAG_ERROR = 20,
|
360
|
+
/* Another basic type */
|
361
|
+
GI_TYPE_TAG_UNICHAR = 21
|
362
|
+
/* Note - there is only room currently for 32 tags.
|
363
|
+
* See docs/typelib-format.txt SimpleTypeBlob definition */
|
364
|
+
} GITypeTag;
|
365
|
+
|
366
|
+
#define GI_TYPE_TAG_N_TYPES (GI_TYPE_TAG_UNICHAR+1)
|
367
|
+
|
368
|
+
/* These were removed and no longer appear in the typelib;
|
369
|
+
* instead, the machine-specific versions like INT32 are
|
370
|
+
* always used.
|
371
|
+
*/
|
372
|
+
#define GI_TYPE_TAG_SHORT GI_TYPE_TAG_SHORT_WAS_REMOVED
|
373
|
+
#define GI_TYPE_TAG_INT GI_TYPE_TAG_INT_WAS_REMOVED
|
374
|
+
#define GI_TYPE_TAG_LONG GI_TYPE_TAG_LONG_WAS_REMOVED
|
375
|
+
|
376
|
+
/**
|
377
|
+
* GIArrayType:
|
378
|
+
* @GI_ARRAY_TYPE_C: a C array, char[] for instance
|
379
|
+
* @GI_ARRAY_TYPE_ARRAY: a @GArray array
|
380
|
+
* @GI_ARRAY_TYPE_PTR_ARRAY: a #GPtrArray array
|
381
|
+
* @GI_ARRAY_TYPE_BYTE_ARRAY: a #GByteArray array
|
382
|
+
*
|
383
|
+
* The type of array in a #GITypeInfo.
|
384
|
+
*/
|
385
|
+
typedef enum {
|
386
|
+
GI_ARRAY_TYPE_C,
|
387
|
+
GI_ARRAY_TYPE_ARRAY,
|
388
|
+
GI_ARRAY_TYPE_PTR_ARRAY,
|
389
|
+
GI_ARRAY_TYPE_BYTE_ARRAY
|
390
|
+
} GIArrayType;
|
391
|
+
|
392
|
+
/**
|
393
|
+
* GIFieldInfoFlags:
|
394
|
+
* @GI_FIELD_IS_READABLE: field is readable.
|
395
|
+
* @GI_FIELD_IS_WRITABLE: field is writable.
|
396
|
+
*
|
397
|
+
* Flags for a #GIFieldInfo.
|
398
|
+
*/
|
399
|
+
|
400
|
+
typedef enum
|
401
|
+
{
|
402
|
+
GI_FIELD_IS_READABLE = 1 << 0,
|
403
|
+
GI_FIELD_IS_WRITABLE = 1 << 1
|
404
|
+
} GIFieldInfoFlags;
|
405
|
+
|
406
|
+
/**
|
407
|
+
* GIVFuncInfoFlags:
|
408
|
+
* @GI_VFUNC_MUST_CHAIN_UP: chains up to the parent type
|
409
|
+
* @GI_VFUNC_MUST_OVERRIDE: overrides
|
410
|
+
* @GI_VFUNC_MUST_NOT_OVERRIDE: does not override
|
411
|
+
* @GI_VFUNC_THROWS: Includes a #GError
|
412
|
+
*
|
413
|
+
* Flags of a #GIVFuncInfo struct.
|
414
|
+
*/
|
415
|
+
typedef enum
|
416
|
+
{
|
417
|
+
GI_VFUNC_MUST_CHAIN_UP = 1 << 0,
|
418
|
+
GI_VFUNC_MUST_OVERRIDE = 1 << 1,
|
419
|
+
GI_VFUNC_MUST_NOT_OVERRIDE = 1 << 2,
|
420
|
+
GI_VFUNC_THROWS = 1 << 3
|
421
|
+
} GIVFuncInfoFlags;
|
422
|
+
|
423
|
+
/**
|
424
|
+
* GIFunctionInfoFlags:
|
425
|
+
* @GI_FUNCTION_IS_METHOD: is a method.
|
426
|
+
* @GI_FUNCTION_IS_CONSTRUCTOR: is a constructor.
|
427
|
+
* @GI_FUNCTION_IS_GETTER: is a getter of a #GIPropertyInfo.
|
428
|
+
* @GI_FUNCTION_IS_SETTER: is a setter of a #GIPropertyInfo.
|
429
|
+
* @GI_FUNCTION_WRAPS_VFUNC: represents a virtual function.
|
430
|
+
* @GI_FUNCTION_THROWS: the function may throw an error.
|
431
|
+
*
|
432
|
+
* Flags for a #GIFunctionInfo struct.
|
433
|
+
*/
|
434
|
+
typedef enum
|
435
|
+
{
|
436
|
+
GI_FUNCTION_IS_METHOD = 1 << 0,
|
437
|
+
GI_FUNCTION_IS_CONSTRUCTOR = 1 << 1,
|
438
|
+
GI_FUNCTION_IS_GETTER = 1 << 2,
|
439
|
+
GI_FUNCTION_IS_SETTER = 1 << 3,
|
440
|
+
GI_FUNCTION_WRAPS_VFUNC = 1 << 4,
|
441
|
+
GI_FUNCTION_THROWS = 1 << 5
|
442
|
+
} GIFunctionInfoFlags;
|
443
|
+
|
444
|
+
#ifndef __GI_SCANNER__
|
445
|
+
/* backwards compatibility */
|
446
|
+
typedef GIArgument GArgument;
|
447
|
+
typedef struct _GITypelib GTypelib;
|
448
|
+
#endif
|
449
|
+
|
450
|
+
G_END_DECLS
|
451
|
+
|
452
|
+
#endif /* __GITYPES_H__ */
|
453
|
+
|