gobject-introspection 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +7 -7
- data/ext/gobject-introspection/rb-gi-argument.c +28 -3
- data/ext/gobject-introspection/rb-gi-constructor-info.c +6 -1
- data/ext/gobject-introspection/rb-gi-function-info.c +29 -4
- data/ext/gobject-introspection/rb-gi-loader.c +19 -3
- data/ext/gobject-introspection/rb-gi-struct-info.c +28 -16
- data/lib/2.0/gobject_introspection.so +0 -0
- data/lib/gobject-introspection/callable-info.rb +16 -7
- data/lib/gobject-introspection/loader.rb +47 -19
- data/test/test-object-info.rb +1 -1
- data/test/test-signal-info.rb +2 -2
- data/test/test-struct-info.rb +1 -1
- 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 +30 -0
- data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +31 -0
- data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +36 -0
- data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +12 -0
- data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +26 -0
- data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +19 -0
- data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +23 -0
- data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +38 -0
- data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +72 -2
- data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +12 -0
- data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +11 -0
- data/vendor/local/include/gobject-introspection-1.0/girepository.h +68 -8
- data/vendor/local/include/gobject-introspection-1.0/girffi.h +25 -1
- data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +12 -0
- data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +24 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +31 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +25 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypes.h +84 -13
- data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +27 -0
- data/vendor/local/include/gobject-introspection-1.0/giversionmacros.h +128 -0
- data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +17 -0
- data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GLib-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/libxml2-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/win32-1.0.typelib +0 -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 +5 -4
- 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 +1865 -913
- 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 +49 -16
- 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 +10 -4
- 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 +32 -1
- 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 +1 -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.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo +0 -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/field.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/function.tmpl +8 -9
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/interface.tmpl +2 -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 +17 -5
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/enum.tmpl +8 -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 +12 -13
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/interface.tmpl +17 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/property.tmpl +3 -4
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/signal.tmpl +10 -9
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +7 -7
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +5 -4
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/field.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl +8 -14
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/interface.tmpl +16 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/property.tmpl +2 -3
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/signal.tmpl +6 -7
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +7 -13
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +10 -19
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +24 -3
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +4 -7
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +375 -61
- 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 +43 -75
- 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 +1 -20
- 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 +33 -15
- 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 +51 -22
- 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.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -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 +285 -254
- 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 +41 -25
- 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 +67 -15
- 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.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.py +10 -6
- 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 +14 -8
- 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 +16 -2
- 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 +150 -169
- 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 +64 -3
- 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 +5 -44
- 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 +1 -1
- data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +4 -4
- data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +5 -5
- data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +352 -143
- data/vendor/local/share/gir-1.0/GLib-2.0.gir +6402 -3872
- data/vendor/local/share/gir-1.0/GModule-2.0.gir +42 -24
- data/vendor/local/share/gir-1.0/GObject-2.0.gir +1543 -887
- data/vendor/local/share/gir-1.0/Gio-2.0.gir +10859 -3705
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +10 -14
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +112 -9
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +2 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +11 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +106 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +107 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.c +3 -3
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.h +145 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +166 -10
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +790 -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 +79 -28
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +462 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +2 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +7 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +14 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +10 -0
- data/vendor/local/share/man/man1/g-ir-compiler.1 +1 -10
- metadata +38 -23
- data/lib/1.9/gobject_introspection.so +0 -0
- data/lib/2.1/gobject_introspection.so +0 -0
@@ -0,0 +1,128 @@
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
2
|
+
* GObject introspection: Versioning and export macros
|
3
|
+
*
|
4
|
+
* Copyright (C) 2014 Chun-wei Fan
|
5
|
+
*
|
6
|
+
* This library is free software; you can redistribute it and/or
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
8
|
+
* License as published by the Free Software Foundation; either
|
9
|
+
* version 2 of the License, or (at your option) any later version.
|
10
|
+
*
|
11
|
+
* This library is distributed in the hope that it will be useful,
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14
|
+
* Lesser General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Lesser General Public
|
17
|
+
* License along with this library; if not, write to the
|
18
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
19
|
+
* Boston, MA 02111-1307, USA.
|
20
|
+
*/
|
21
|
+
|
22
|
+
#include <glib.h>
|
23
|
+
|
24
|
+
#ifndef __GIVERSIONMACROS_H__
|
25
|
+
#define __GIVERSIONMACROS_H__
|
26
|
+
|
27
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
28
|
+
#error "Only <girepository.h> can be included directly."
|
29
|
+
#endif
|
30
|
+
|
31
|
+
#ifndef _GI_EXTERN
|
32
|
+
#define _GI_EXTERN extern
|
33
|
+
#endif
|
34
|
+
|
35
|
+
#define GI_AVAILABLE_IN_ALL _GI_EXTERN
|
36
|
+
|
37
|
+
/* XXX: Every new stable minor release should add a set of macros here
|
38
|
+
*
|
39
|
+
* We are using the GLib versions here as the G-I minor versions
|
40
|
+
* need to be in sync with the GLib minor versions. Api's added
|
41
|
+
* at or before 1.30 are marked as GI_AVAILABLE_IN_ALL
|
42
|
+
*/
|
43
|
+
|
44
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_32
|
45
|
+
# define GI_DEPRECATED_IN_1_32 GLIB_DEPRECATED
|
46
|
+
# define GI_DEPRECATED_IN_1_32_FOR(f) GLIB_DEPRECATED_FOR(f)
|
47
|
+
#else
|
48
|
+
# define GI_DEPRECATED_IN_1_32 _GI_EXTERN
|
49
|
+
# define GI_DEPRECATED_IN_1_32_FOR(f) _GI_EXTERN
|
50
|
+
#endif
|
51
|
+
|
52
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_32
|
53
|
+
# define GI_AVAILABLE_IN_1_32 GLIB_UNAVAILABLE(2, 32)
|
54
|
+
#else
|
55
|
+
# define GI_AVAILABLE_IN_1_32 _GI_EXTERN
|
56
|
+
#endif
|
57
|
+
|
58
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_34
|
59
|
+
# define GI_DEPRECATED_IN_1_34 GLIB_DEPRECATED
|
60
|
+
# define GI_DEPRECATED_IN_1_34_FOR(f) GLIB_DEPRECATED_FOR(f)
|
61
|
+
#else
|
62
|
+
# define GI_DEPRECATED_IN_1_34 _GI_EXTERN
|
63
|
+
# define GI_DEPRECATED_IN_1_34_FOR(f) _GI_EXTERN
|
64
|
+
#endif
|
65
|
+
|
66
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_34
|
67
|
+
# define GI_AVAILABLE_IN_1_34 GLIB_UNAVAILABLE(2, 34)
|
68
|
+
#else
|
69
|
+
# define GI_AVAILABLE_IN_1_34 _GI_EXTERN
|
70
|
+
#endif
|
71
|
+
|
72
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_36
|
73
|
+
# define GI_DEPRECATED_IN_1_36 GLIB_DEPRECATED
|
74
|
+
# define GI_DEPRECATED_IN_1_36_FOR(f) GLIB_DEPRECATED_FOR(f)
|
75
|
+
#else
|
76
|
+
# define GI_DEPRECATED_IN_1_36 _GI_EXTERN
|
77
|
+
# define GI_DEPRECATED_IN_1_36_FOR(f) _GI_EXTERN
|
78
|
+
#endif
|
79
|
+
|
80
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_36
|
81
|
+
# define GI_AVAILABLE_IN_1_36 GLIB_UNAVAILABLE(2, 36)
|
82
|
+
#else
|
83
|
+
# define GI_AVAILABLE_IN_1_36 _GI_EXTERN
|
84
|
+
#endif
|
85
|
+
|
86
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_38
|
87
|
+
# define GI_DEPRECATED_IN_1_38 GLIB_DEPRECATED
|
88
|
+
# define GI_DEPRECATED_IN_1_38_FOR(f) GLIB_DEPRECATED_FOR(f)
|
89
|
+
#else
|
90
|
+
# define GI_DEPRECATED_IN_1_38 _GI_EXTERN
|
91
|
+
# define GI_DEPRECATED_IN_1_38_FOR(f) _GI_EXTERN
|
92
|
+
#endif
|
93
|
+
|
94
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
|
95
|
+
# define GI_AVAILABLE_IN_1_38 GLIB_UNAVAILABLE(2, 38)
|
96
|
+
#else
|
97
|
+
# define GI_AVAILABLE_IN_1_38 _GI_EXTERN
|
98
|
+
#endif
|
99
|
+
|
100
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_40
|
101
|
+
# define GI_DEPRECATED_IN_1_40 GLIB_DEPRECATED
|
102
|
+
# define GI_DEPRECATED_IN_1_40_FOR(f) GLIB_DEPRECATED_FOR(f)
|
103
|
+
#else
|
104
|
+
# define GI_DEPRECATED_IN_1_40 _GI_EXTERN
|
105
|
+
# define GI_DEPRECATED_IN_1_40_FOR(f) _GI_EXTERN
|
106
|
+
#endif
|
107
|
+
|
108
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_40
|
109
|
+
# define GI_AVAILABLE_IN_1_40 GLIB_UNAVAILABLE(2, 40)
|
110
|
+
#else
|
111
|
+
# define GI_AVAILABLE_IN_1_40 _GI_EXTERN
|
112
|
+
#endif
|
113
|
+
|
114
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_42
|
115
|
+
# define GI_DEPRECATED_IN_1_42 GLIB_DEPRECATED
|
116
|
+
# define GI_DEPRECATED_IN_1_42_FOR(f) GLIB_DEPRECATED_FOR(f)
|
117
|
+
#else
|
118
|
+
# define GI_DEPRECATED_IN_1_42 _GI_EXTERN
|
119
|
+
# define GI_DEPRECATED_IN_1_42_FOR(f) _GI_EXTERN
|
120
|
+
#endif
|
121
|
+
|
122
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_42
|
123
|
+
# define GI_AVAILABLE_IN_1_42 GLIB_UNAVAILABLE(2, 42)
|
124
|
+
#else
|
125
|
+
# define GI_AVAILABLE_IN_1_42 _GI_EXTERN
|
126
|
+
#endif
|
127
|
+
|
128
|
+
#endif /* __GIVERSIONMACROS_H__ */
|
@@ -31,16 +31,33 @@
|
|
31
31
|
|
32
32
|
G_BEGIN_DECLS
|
33
33
|
|
34
|
+
/**
|
35
|
+
* GI_IS_VFUNC_INFO
|
36
|
+
* @info: an info structure
|
37
|
+
*
|
38
|
+
* Checks if @info is a #GIVfuncInfo.
|
39
|
+
*/
|
34
40
|
#define GI_IS_VFUNC_INFO(info) \
|
35
41
|
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_VFUNC)
|
36
42
|
|
43
|
+
GI_AVAILABLE_IN_ALL
|
37
44
|
GIVFuncInfoFlags g_vfunc_info_get_flags (GIVFuncInfo *info);
|
45
|
+
|
46
|
+
GI_AVAILABLE_IN_ALL
|
38
47
|
gint g_vfunc_info_get_offset (GIVFuncInfo *info);
|
48
|
+
|
49
|
+
GI_AVAILABLE_IN_ALL
|
39
50
|
GISignalInfo * g_vfunc_info_get_signal (GIVFuncInfo *info);
|
51
|
+
|
52
|
+
GI_AVAILABLE_IN_ALL
|
40
53
|
GIFunctionInfo * g_vfunc_info_get_invoker (GIVFuncInfo *info);
|
54
|
+
|
55
|
+
GI_AVAILABLE_IN_ALL
|
41
56
|
gpointer g_vfunc_info_get_address (GIVFuncInfo *info,
|
42
57
|
GType implementor_gtype,
|
43
58
|
GError **error);
|
59
|
+
|
60
|
+
GI_AVAILABLE_IN_ALL
|
44
61
|
gboolean g_vfunc_info_invoke (GIVFuncInfo *info,
|
45
62
|
GType implementor,
|
46
63
|
const GIArgument *in_args,
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -21,7 +21,7 @@
|
|
21
21
|
import optparse
|
22
22
|
|
23
23
|
from giscanner import message
|
24
|
-
from giscanner.annotationparser import
|
24
|
+
from giscanner.annotationparser import GtkDocCommentBlockParser, GtkDocCommentBlockWriter
|
25
25
|
from giscanner.scannermain import (get_preprocessor_option_group,
|
26
26
|
create_source_scanner,
|
27
27
|
process_packages)
|
@@ -58,14 +58,15 @@ def annotation_main(args):
|
|
58
58
|
ss = create_source_scanner(options, args)
|
59
59
|
|
60
60
|
if options.extract:
|
61
|
-
|
62
|
-
|
61
|
+
parser = GtkDocCommentBlockParser()
|
62
|
+
writer = GtkDocCommentBlockWriter(indent=False)
|
63
|
+
blocks = parser.parse_comment_blocks(ss.get_comments())
|
63
64
|
print '/' + ('*' * 60) + '/'
|
64
65
|
print '/* THIS FILE IS GENERATED DO NOT EDIT */'
|
65
66
|
print '/' + ('*' * 60) + '/'
|
66
67
|
print
|
67
68
|
for block in sorted(blocks.values()):
|
68
|
-
print
|
69
|
+
print writer.write(block)
|
69
70
|
print
|
70
71
|
print
|
71
72
|
print '/' + ('*' * 60) + '/'
|
Binary file
|
Binary file
|