gobject-introspection 2.0.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,46 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: Constant
|
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 __GICONSTANTINFO_H__
|
24
|
+
#define __GICONSTANTINFO_H__
|
25
|
+
|
26
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
27
|
+
#error "Only <girepository.h> can be included directly."
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#include <gitypes.h>
|
31
|
+
|
32
|
+
G_BEGIN_DECLS
|
33
|
+
|
34
|
+
#define GI_IS_CONSTANT_INFO(info) \
|
35
|
+
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_CONSTANT)
|
36
|
+
|
37
|
+
GITypeInfo * g_constant_info_get_type (GIConstantInfo *info);
|
38
|
+
void g_constant_info_free_value(GIConstantInfo *info,
|
39
|
+
GIArgument *value);
|
40
|
+
gint g_constant_info_get_value(GIConstantInfo *info,
|
41
|
+
GIArgument *value);
|
42
|
+
G_END_DECLS
|
43
|
+
|
44
|
+
|
45
|
+
#endif /* __GICONSTANTINFO_H__ */
|
46
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: Enum and Enum values
|
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 __GIENUMINFO_H__
|
24
|
+
#define __GIENUMINFO_H__
|
25
|
+
|
26
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
27
|
+
#error "Only <girepository.h> can be included directly."
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#include <gitypes.h>
|
31
|
+
|
32
|
+
G_BEGIN_DECLS
|
33
|
+
|
34
|
+
#define GI_IS_ENUM_INFO(info) \
|
35
|
+
((g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_ENUM) || \
|
36
|
+
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_FLAGS))
|
37
|
+
|
38
|
+
#define GI_IS_VALUE_INFO(info) \
|
39
|
+
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_VALUE)
|
40
|
+
|
41
|
+
gint g_enum_info_get_n_values (GIEnumInfo *info);
|
42
|
+
GIValueInfo * g_enum_info_get_value (GIEnumInfo *info,
|
43
|
+
gint n);
|
44
|
+
gint g_enum_info_get_n_methods (GIEnumInfo *info);
|
45
|
+
GIFunctionInfo * g_enum_info_get_method (GIEnumInfo *info,
|
46
|
+
gint n);
|
47
|
+
GITypeTag g_enum_info_get_storage_type (GIEnumInfo *info);
|
48
|
+
const gchar * g_enum_info_get_error_domain (GIEnumInfo *info);
|
49
|
+
|
50
|
+
gint64 g_value_info_get_value (GIValueInfo *info);
|
51
|
+
|
52
|
+
G_END_DECLS
|
53
|
+
|
54
|
+
|
55
|
+
#endif /* __GIENUMINFO_H__ */
|
56
|
+
|
@@ -0,0 +1,52 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: Field and Field values
|
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 __GIFIELDINFO_H__
|
24
|
+
#define __GIFIELDINFO_H__
|
25
|
+
|
26
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
27
|
+
#error "Only <girepository.h> can be included directly."
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#include <gitypes.h>
|
31
|
+
|
32
|
+
G_BEGIN_DECLS
|
33
|
+
|
34
|
+
#define GI_IS_FIELD_INFO(info) \
|
35
|
+
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_FIELD)
|
36
|
+
|
37
|
+
GIFieldInfoFlags g_field_info_get_flags (GIFieldInfo *info);
|
38
|
+
gint g_field_info_get_size (GIFieldInfo *info);
|
39
|
+
gint g_field_info_get_offset (GIFieldInfo *info);
|
40
|
+
GITypeInfo * g_field_info_get_type (GIFieldInfo *info);
|
41
|
+
gboolean g_field_info_get_field (GIFieldInfo *field_info,
|
42
|
+
gpointer mem,
|
43
|
+
GIArgument *value);
|
44
|
+
gboolean g_field_info_set_field (GIFieldInfo *field_info,
|
45
|
+
gpointer mem,
|
46
|
+
const GIArgument *value);
|
47
|
+
|
48
|
+
G_END_DECLS
|
49
|
+
|
50
|
+
|
51
|
+
#endif /* __GIFIELDINFO_H__ */
|
52
|
+
|
@@ -0,0 +1,77 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: Function
|
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 __GIFUNCTIONINFO_H__
|
24
|
+
#define __GIFUNCTIONINFO_H__
|
25
|
+
|
26
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
27
|
+
#error "Only <girepository.h> can be included directly."
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#include <gitypes.h>
|
31
|
+
|
32
|
+
G_BEGIN_DECLS
|
33
|
+
|
34
|
+
#define GI_IS_FUNCTION_INFO(info) \
|
35
|
+
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_FUNCTION)
|
36
|
+
|
37
|
+
const gchar * g_function_info_get_symbol (GIFunctionInfo *info);
|
38
|
+
GIFunctionInfoFlags g_function_info_get_flags (GIFunctionInfo *info);
|
39
|
+
GIPropertyInfo * g_function_info_get_property (GIFunctionInfo *info);
|
40
|
+
GIVFuncInfo * g_function_info_get_vfunc (GIFunctionInfo *info);
|
41
|
+
|
42
|
+
#define G_INVOKE_ERROR (g_invoke_error_quark ())
|
43
|
+
GQuark g_invoke_error_quark (void);
|
44
|
+
|
45
|
+
/**
|
46
|
+
* GInvokeError:
|
47
|
+
* @G_INVOKE_ERROR_FAILED: invokation failed, unknown error.
|
48
|
+
* @G_INVOKE_ERROR_SYMBOL_NOT_FOUND: symbol couldn't be found in any of the
|
49
|
+
* libraries associated with the typelib of the function.
|
50
|
+
* @G_INVOKE_ERROR_ARGUMENT_MISMATCH: the arguments provided didn't match
|
51
|
+
* the expected arguments for the functions type signature.
|
52
|
+
*
|
53
|
+
* An error occuring while invoking a function via
|
54
|
+
* g_function_info_invoke().
|
55
|
+
*/
|
56
|
+
|
57
|
+
typedef enum
|
58
|
+
{
|
59
|
+
G_INVOKE_ERROR_FAILED,
|
60
|
+
G_INVOKE_ERROR_SYMBOL_NOT_FOUND,
|
61
|
+
G_INVOKE_ERROR_ARGUMENT_MISMATCH
|
62
|
+
} GInvokeError;
|
63
|
+
|
64
|
+
gboolean g_function_info_invoke (GIFunctionInfo *info,
|
65
|
+
const GIArgument *in_args,
|
66
|
+
int n_in_args,
|
67
|
+
const GIArgument *out_args,
|
68
|
+
int n_out_args,
|
69
|
+
GIArgument *return_value,
|
70
|
+
GError **error);
|
71
|
+
|
72
|
+
|
73
|
+
G_END_DECLS
|
74
|
+
|
75
|
+
|
76
|
+
#endif /* __GIFUNCTIONINFO_H__ */
|
77
|
+
|
@@ -0,0 +1,68 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: Interface
|
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 __GIINTERFACEINFO_H__
|
24
|
+
#define __GIINTERFACEINFO_H__
|
25
|
+
|
26
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
27
|
+
#error "Only <girepository.h> can be included directly."
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#include <gitypes.h>
|
31
|
+
|
32
|
+
G_BEGIN_DECLS
|
33
|
+
|
34
|
+
#define GI_IS_INTERFACE_INFO(info) \
|
35
|
+
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_INTERFACE)
|
36
|
+
|
37
|
+
gint g_interface_info_get_n_prerequisites (GIInterfaceInfo *info);
|
38
|
+
GIBaseInfo * g_interface_info_get_prerequisite (GIInterfaceInfo *info,
|
39
|
+
gint n);
|
40
|
+
gint g_interface_info_get_n_properties (GIInterfaceInfo *info);
|
41
|
+
GIPropertyInfo * g_interface_info_get_property (GIInterfaceInfo *info,
|
42
|
+
gint n);
|
43
|
+
gint g_interface_info_get_n_methods (GIInterfaceInfo *info);
|
44
|
+
GIFunctionInfo * g_interface_info_get_method (GIInterfaceInfo *info,
|
45
|
+
gint n);
|
46
|
+
GIFunctionInfo * g_interface_info_find_method (GIInterfaceInfo *info,
|
47
|
+
const gchar *name);
|
48
|
+
gint g_interface_info_get_n_signals (GIInterfaceInfo *info);
|
49
|
+
GISignalInfo * g_interface_info_get_signal (GIInterfaceInfo *info,
|
50
|
+
gint n);
|
51
|
+
GISignalInfo * g_interface_info_find_signal (GIInterfaceInfo *info,
|
52
|
+
const gchar *name);
|
53
|
+
gint g_interface_info_get_n_vfuncs (GIInterfaceInfo *info);
|
54
|
+
GIVFuncInfo * g_interface_info_get_vfunc (GIInterfaceInfo *info,
|
55
|
+
gint n);
|
56
|
+
GIVFuncInfo * g_interface_info_find_vfunc (GIInterfaceInfo *info,
|
57
|
+
const gchar *name);
|
58
|
+
gint g_interface_info_get_n_constants (GIInterfaceInfo *info);
|
59
|
+
GIConstantInfo * g_interface_info_get_constant (GIInterfaceInfo *info,
|
60
|
+
gint n);
|
61
|
+
|
62
|
+
GIStructInfo * g_interface_info_get_iface_struct (GIInterfaceInfo *info);
|
63
|
+
|
64
|
+
G_END_DECLS
|
65
|
+
|
66
|
+
|
67
|
+
#endif /* __GIINTERFACEINFO_H__ */
|
68
|
+
|
@@ -0,0 +1,137 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: Object
|
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 __GIOBJECTINFO_H__
|
24
|
+
#define __GIOBJECTINFO_H__
|
25
|
+
|
26
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
27
|
+
#error "Only <girepository.h> can be included directly."
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#include <gitypes.h>
|
31
|
+
|
32
|
+
G_BEGIN_DECLS
|
33
|
+
|
34
|
+
/**
|
35
|
+
* GIObjectInfoRefFunction: (skip)
|
36
|
+
* @object: object instance pointer
|
37
|
+
*
|
38
|
+
* Increases the reference count of an object instance.
|
39
|
+
*
|
40
|
+
* Returns: (transfer full): the object instance
|
41
|
+
*/
|
42
|
+
typedef void * (*GIObjectInfoRefFunction) (void *object);
|
43
|
+
|
44
|
+
/**
|
45
|
+
* GIObjectInfoUnrefFunction: (skip)
|
46
|
+
* @object: object instance pointer
|
47
|
+
*
|
48
|
+
* Decreases the reference count of an object instance.
|
49
|
+
*
|
50
|
+
*/
|
51
|
+
typedef void (*GIObjectInfoUnrefFunction) (void *object);
|
52
|
+
|
53
|
+
/**
|
54
|
+
* GIObjectInfoSetValueFunction: (skip)
|
55
|
+
* @value: a #GValue
|
56
|
+
* @object: object instance pointer
|
57
|
+
*
|
58
|
+
* Update @value and attach the object instance pointer @object to it.
|
59
|
+
*
|
60
|
+
*/
|
61
|
+
typedef void (*GIObjectInfoSetValueFunction) (GValue *value, void *object);
|
62
|
+
|
63
|
+
/**
|
64
|
+
* GIObjectInfoGetValueFunction: (skip)
|
65
|
+
* @value: a #GValue
|
66
|
+
*
|
67
|
+
* Extract an object instance out of @value
|
68
|
+
*
|
69
|
+
* Returns: (transfer full): the object instance
|
70
|
+
*/
|
71
|
+
typedef void * (*GIObjectInfoGetValueFunction) (const GValue *value);
|
72
|
+
|
73
|
+
#define GI_IS_OBJECT_INFO(info) \
|
74
|
+
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_OBJECT)
|
75
|
+
|
76
|
+
const gchar * g_object_info_get_type_name (GIObjectInfo *info);
|
77
|
+
const gchar * g_object_info_get_type_init (GIObjectInfo *info);
|
78
|
+
gboolean g_object_info_get_abstract (GIObjectInfo *info);
|
79
|
+
gboolean g_object_info_get_fundamental (GIObjectInfo *info);
|
80
|
+
GIObjectInfo * g_object_info_get_parent (GIObjectInfo *info);
|
81
|
+
gint g_object_info_get_n_interfaces (GIObjectInfo *info);
|
82
|
+
GIInterfaceInfo * g_object_info_get_interface (GIObjectInfo *info,
|
83
|
+
gint n);
|
84
|
+
gint g_object_info_get_n_fields (GIObjectInfo *info);
|
85
|
+
GIFieldInfo * g_object_info_get_field (GIObjectInfo *info,
|
86
|
+
gint n);
|
87
|
+
gint g_object_info_get_n_properties (GIObjectInfo *info);
|
88
|
+
GIPropertyInfo * g_object_info_get_property (GIObjectInfo *info,
|
89
|
+
gint n);
|
90
|
+
gint g_object_info_get_n_methods (GIObjectInfo *info);
|
91
|
+
GIFunctionInfo * g_object_info_get_method (GIObjectInfo *info,
|
92
|
+
gint n);
|
93
|
+
GIFunctionInfo * g_object_info_find_method (GIObjectInfo *info,
|
94
|
+
const gchar *name);
|
95
|
+
|
96
|
+
GIFunctionInfo * g_object_info_find_method_using_interfaces (GIObjectInfo *info,
|
97
|
+
const gchar *name,
|
98
|
+
GIObjectInfo **implementor);
|
99
|
+
|
100
|
+
gint g_object_info_get_n_signals (GIObjectInfo *info);
|
101
|
+
GISignalInfo * g_object_info_get_signal (GIObjectInfo *info,
|
102
|
+
gint n);
|
103
|
+
|
104
|
+
GISignalInfo * g_object_info_find_signal (GIObjectInfo *info,
|
105
|
+
const gchar *name);
|
106
|
+
|
107
|
+
gint g_object_info_get_n_vfuncs (GIObjectInfo *info);
|
108
|
+
GIVFuncInfo * g_object_info_get_vfunc (GIObjectInfo *info,
|
109
|
+
gint n);
|
110
|
+
GIVFuncInfo * g_object_info_find_vfunc (GIObjectInfo *info,
|
111
|
+
const gchar *name);
|
112
|
+
GIVFuncInfo * g_object_info_find_vfunc_using_interfaces (GIObjectInfo *info,
|
113
|
+
const gchar *name,
|
114
|
+
GIObjectInfo **implementor);
|
115
|
+
gint g_object_info_get_n_constants (GIObjectInfo *info);
|
116
|
+
GIConstantInfo * g_object_info_get_constant (GIObjectInfo *info,
|
117
|
+
gint n);
|
118
|
+
GIStructInfo * g_object_info_get_class_struct (GIObjectInfo *info);
|
119
|
+
|
120
|
+
const char * g_object_info_get_ref_function (GIObjectInfo *info);
|
121
|
+
GIObjectInfoRefFunction g_object_info_get_ref_function_pointer (GIObjectInfo *info);
|
122
|
+
|
123
|
+
const char * g_object_info_get_unref_function (GIObjectInfo *info);
|
124
|
+
GIObjectInfoUnrefFunction g_object_info_get_unref_function_pointer (GIObjectInfo *info);
|
125
|
+
|
126
|
+
const char * g_object_info_get_set_value_function (GIObjectInfo *info);
|
127
|
+
GIObjectInfoSetValueFunction g_object_info_get_set_value_function_pointer (GIObjectInfo *info);
|
128
|
+
|
129
|
+
const char * g_object_info_get_get_value_function (GIObjectInfo *info);
|
130
|
+
GIObjectInfoGetValueFunction g_object_info_get_get_value_function_pointer (GIObjectInfo *info);
|
131
|
+
|
132
|
+
|
133
|
+
G_END_DECLS
|
134
|
+
|
135
|
+
|
136
|
+
#endif /* __GIOBJECTINFO_H__ */
|
137
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: Property
|
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 __GIPROPERTYINFO_H__
|
24
|
+
#define __GIPROPERTYINFO_H__
|
25
|
+
|
26
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
27
|
+
#error "Only <girepository.h> can be included directly."
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#include <gitypes.h>
|
31
|
+
|
32
|
+
G_BEGIN_DECLS
|
33
|
+
|
34
|
+
#define GI_IS_PROPERTY_INFO(info) \
|
35
|
+
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_PROPERTY)
|
36
|
+
|
37
|
+
GParamFlags g_property_info_get_flags (GIPropertyInfo *info);
|
38
|
+
GITypeInfo * g_property_info_get_type (GIPropertyInfo *info);
|
39
|
+
GITransfer g_property_info_get_ownership_transfer (GIPropertyInfo *info);
|
40
|
+
|
41
|
+
G_END_DECLS
|
42
|
+
|
43
|
+
#endif /* __GIPROPERTYINFO_H__ */
|
44
|
+
|