gobject-introspection 3.4.1 → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gobject-introspection/rb-gi-arguments-in.c +17 -1
- data/ext/gobject-introspection/rb-gi-arguments-out.c +9 -7
- data/lib/gobject-introspection/loader.rb +1 -1
- data/lib/gobject-introspection/type-tag.rb +2 -0
- data/test/run-test.rb +5 -5
- metadata +5 -9
- data/ext/gobject-introspection/gobject-introspection-enum-types.c +0 -230
- data/ext/gobject-introspection/gobject-introspection-enum-types.h +0 -42
- data/ext/gobject-introspection/rbgiversion.h +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7a2baea0ab1dc1bf6e428925a2e938a3376577633c8ee7951eb8bec251e74a2
|
4
|
+
data.tar.gz: 023ee01f88d19a5af15eddeac3ab5ebe1586db5aceeff014ff6fc90e7cb586b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b05615ae7256287160b5523cd325f84d977c0f331e8ab78070550a1e8a2a785f342ce1e444279c5c4311ca76c9754d8789a0be4c926a28782127bdc46eb768b
|
7
|
+
data.tar.gz: 6f16b9140d2e98af52178d5d32b7af8756a9da0f8406adac472aa31d9e0331895f051500c0b0eee0c6fc41803ed9221b2e60c99ce64f669bc7d80f7678af6418
|
@@ -1004,7 +1004,15 @@ rb_gi_arguments_in_init_arg_ruby_array_c(RBGIArguments *args,
|
|
1004
1004
|
rb_arg);
|
1005
1005
|
break;
|
1006
1006
|
case GI_TYPE_TAG_UTF8:
|
1007
|
-
|
1007
|
+
/* Workaround for rsvg_handle_set_stylesheet():
|
1008
|
+
https://gitlab.gnome.org/GNOME/librsvg/-/issues/596 */
|
1009
|
+
if (strcmp(metadata->name, "css") == 0) {
|
1010
|
+
metadata->in_arg->v_pointer = RVAL2CSTR(rb_arg);
|
1011
|
+
rb_gi_arguments_in_init_arg_ruby_array_set_length(args,
|
1012
|
+
metadata,
|
1013
|
+
RSTRING_LEN(rb_arg));
|
1014
|
+
metadata->free_func = NULL;
|
1015
|
+
} else {
|
1008
1016
|
GIArgument *array_argument = metadata->in_arg;
|
1009
1017
|
gchar **raw_array;
|
1010
1018
|
long length;
|
@@ -1669,7 +1677,15 @@ rb_gi_arguments_in_init_arg_ruby_ghash_body(VALUE value_data)
|
|
1669
1677
|
case GI_TYPE_TAG_FLOAT:
|
1670
1678
|
case GI_TYPE_TAG_DOUBLE:
|
1671
1679
|
case GI_TYPE_TAG_GTYPE:
|
1680
|
+
rb_raise(rb_eNotImpError,
|
1681
|
+
"TODO: Ruby -> GIArgument(GHash)[value][%s]",
|
1682
|
+
g_type_tag_to_string(metadata->value_type.tag));
|
1683
|
+
break;
|
1672
1684
|
case GI_TYPE_TAG_UTF8:
|
1685
|
+
value_destroy_func = g_free;
|
1686
|
+
value_ruby_to_c_func = ruby_to_c_utf8;
|
1687
|
+
value_ruby_to_c_data.context = "Ruby -> GIArgument(GHash)[value][utf8]";
|
1688
|
+
break;
|
1673
1689
|
case GI_TYPE_TAG_FILENAME:
|
1674
1690
|
case GI_TYPE_TAG_ARRAY:
|
1675
1691
|
rb_raise(rb_eNotImpError,
|
@@ -505,16 +505,18 @@ rb_gi_arguments_out_init_arg_interface(RBGIArguments *args,
|
|
505
505
|
g_info_type_to_string(metadata->type.interface_type));
|
506
506
|
break;
|
507
507
|
case GI_INFO_TYPE_STRUCT:
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
508
|
+
/* Should we care gtype? */
|
509
|
+
if (metadata->type.pointer_p) {
|
510
|
+
gpointer *struct_location = RB_ALLOC(gpointer);
|
511
|
+
*struct_location = NULL;
|
512
|
+
argument->v_pointer = struct_location;
|
513
|
+
} else {
|
514
|
+
gsize struct_size =
|
515
|
+
g_struct_info_get_size(metadata->type.interface_info);
|
514
516
|
argument->v_pointer = xmalloc(struct_size);
|
515
517
|
memset(argument->v_pointer, 0, struct_size);
|
516
|
-
metadata->free_func = rb_gi_arguments_out_free_interface_struct;
|
517
518
|
}
|
519
|
+
metadata->free_func = rb_gi_arguments_out_free_interface_struct;
|
518
520
|
break;
|
519
521
|
case GI_INFO_TYPE_BOXED:
|
520
522
|
rb_raise(rb_eNotImpError,
|
@@ -681,10 +681,10 @@ module GObjectIntrospection
|
|
681
681
|
def normalize_arguments!(arguments, abort_tag)
|
682
682
|
arguments.size.times do |i|
|
683
683
|
argument = arguments[i]
|
684
|
-
next if argument.nil?
|
685
684
|
type = @in_arg_types[i]
|
686
685
|
converted_argument = type.try_convert(argument)
|
687
686
|
if converted_argument.nil?
|
687
|
+
next if argument.nil?
|
688
688
|
if abort_tag
|
689
689
|
throw(abort_tag)
|
690
690
|
elsif @on_invalid == :fallback
|
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C) 2012-
|
3
|
+
# Copyright (C) 2012-2020 Ruby-GNOME Project Team
|
4
4
|
#
|
5
5
|
# This library is free software; you can redistribute it and/or
|
6
6
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -16,11 +16,11 @@
|
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
17
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
|
-
|
20
|
-
|
19
|
+
ruby_gnome_base = File.join(File.dirname(__FILE__), "..", "..")
|
20
|
+
ruby_gnome_base = File.expand_path(ruby_gnome_base)
|
21
21
|
|
22
|
-
glib_base = File.join(
|
23
|
-
gobject_introspection_base = File.join(
|
22
|
+
glib_base = File.join(ruby_gnome_base, "glib2")
|
23
|
+
gobject_introspection_base = File.join(ruby_gnome_base, "gobject-introspection")
|
24
24
|
|
25
25
|
modules = [
|
26
26
|
[glib_base, "glib2"],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gobject-introspection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glib2
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.4.
|
19
|
+
version: 3.4.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.4.
|
26
|
+
version: 3.4.2
|
27
27
|
description: Ruby/GObjectIntrospection provides bindings of GObject Introspection
|
28
28
|
and a loader module that can generate dynamically Ruby bindings of any GObject C
|
29
29
|
libraries
|
@@ -38,8 +38,6 @@ files:
|
|
38
38
|
- Rakefile
|
39
39
|
- ext/gobject-introspection/depend
|
40
40
|
- ext/gobject-introspection/extconf.rb
|
41
|
-
- ext/gobject-introspection/gobject-introspection-enum-types.c
|
42
|
-
- ext/gobject-introspection/gobject-introspection-enum-types.h
|
43
41
|
- ext/gobject-introspection/gobject_introspection.def
|
44
42
|
- ext/gobject-introspection/rb-gi-arg-info.c
|
45
43
|
- ext/gobject-introspection/rb-gi-argument.c
|
@@ -88,7 +86,6 @@ files:
|
|
88
86
|
- ext/gobject-introspection/rb-gi-vfunc-info.c
|
89
87
|
- ext/gobject-introspection/rb-gobject-introspection.c
|
90
88
|
- ext/gobject-introspection/rb-gobject-introspection.h
|
91
|
-
- ext/gobject-introspection/rbgiversion.h
|
92
89
|
- extconf.rb
|
93
90
|
- gobject-introspection.gemspec
|
94
91
|
- lib/gi.rb
|
@@ -154,8 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
151
|
- !ruby/object:Gem::Version
|
155
152
|
version: '0'
|
156
153
|
requirements: []
|
157
|
-
|
158
|
-
rubygems_version: 2.7.6.2
|
154
|
+
rubygems_version: 3.2.0.pre1
|
159
155
|
signing_key:
|
160
156
|
specification_version: 4
|
161
157
|
summary: Ruby/GObjectIntrospection is a Ruby binding of GObject Introspection.
|
@@ -1,230 +0,0 @@
|
|
1
|
-
|
2
|
-
/* Generated by glib-mkenums.rb ($Id$) */
|
3
|
-
|
4
|
-
#include "gobject-introspection-enum-types.h"
|
5
|
-
#include <girepository.h>
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
/* enumerations from "/usr/include/gobject-introspection-1.0/girepository.h" */
|
10
|
-
GType
|
11
|
-
g_i_repository_load_flags_get_type (void)
|
12
|
-
{
|
13
|
-
static GType etype = 0;
|
14
|
-
if (etype == 0) {
|
15
|
-
static const GFlagsValue values[] = {
|
16
|
-
{ G_IREPOSITORY_LOAD_FLAG_LAZY, "G_IREPOSITORY_LOAD_FLAG_LAZY", "g-irepository-load-flag-lazy" },
|
17
|
-
{ 0, NULL, NULL }
|
18
|
-
};
|
19
|
-
etype = g_flags_register_static ("GIRepositoryLoadFlags", values);
|
20
|
-
}
|
21
|
-
return etype;
|
22
|
-
}
|
23
|
-
|
24
|
-
GType
|
25
|
-
g_i_repository_error_get_type (void)
|
26
|
-
{
|
27
|
-
static GType etype = 0;
|
28
|
-
if (etype == 0) {
|
29
|
-
static const GEnumValue values[] = {
|
30
|
-
{ G_IREPOSITORY_ERROR_TYPELIB_NOT_FOUND, "G_IREPOSITORY_ERROR_TYPELIB_NOT_FOUND", "typelib-not-found" },
|
31
|
-
{ G_IREPOSITORY_ERROR_NAMESPACE_MISMATCH, "G_IREPOSITORY_ERROR_NAMESPACE_MISMATCH", "namespace-mismatch" },
|
32
|
-
{ G_IREPOSITORY_ERROR_NAMESPACE_VERSION_CONFLICT, "G_IREPOSITORY_ERROR_NAMESPACE_VERSION_CONFLICT", "namespace-version-conflict" },
|
33
|
-
{ G_IREPOSITORY_ERROR_LIBRARY_NOT_FOUND, "G_IREPOSITORY_ERROR_LIBRARY_NOT_FOUND", "library-not-found" },
|
34
|
-
{ 0, NULL, NULL }
|
35
|
-
};
|
36
|
-
etype = g_enum_register_static ("GIRepositoryError", values);
|
37
|
-
}
|
38
|
-
return etype;
|
39
|
-
}
|
40
|
-
|
41
|
-
|
42
|
-
/* enumerations from "/usr/include/gobject-introspection-1.0/gitypes.h" */
|
43
|
-
GType
|
44
|
-
g_i_info_type_get_type (void)
|
45
|
-
{
|
46
|
-
static GType etype = 0;
|
47
|
-
if (etype == 0) {
|
48
|
-
static const GEnumValue values[] = {
|
49
|
-
{ GI_INFO_TYPE_INVALID, "GI_INFO_TYPE_INVALID", "invalid" },
|
50
|
-
{ GI_INFO_TYPE_FUNCTION, "GI_INFO_TYPE_FUNCTION", "function" },
|
51
|
-
{ GI_INFO_TYPE_CALLBACK, "GI_INFO_TYPE_CALLBACK", "callback" },
|
52
|
-
{ GI_INFO_TYPE_STRUCT, "GI_INFO_TYPE_STRUCT", "struct" },
|
53
|
-
{ GI_INFO_TYPE_BOXED, "GI_INFO_TYPE_BOXED", "boxed" },
|
54
|
-
{ GI_INFO_TYPE_ENUM, "GI_INFO_TYPE_ENUM", "enum" },
|
55
|
-
{ GI_INFO_TYPE_FLAGS, "GI_INFO_TYPE_FLAGS", "flags" },
|
56
|
-
{ GI_INFO_TYPE_OBJECT, "GI_INFO_TYPE_OBJECT", "object" },
|
57
|
-
{ GI_INFO_TYPE_INTERFACE, "GI_INFO_TYPE_INTERFACE", "interface" },
|
58
|
-
{ GI_INFO_TYPE_CONSTANT, "GI_INFO_TYPE_CONSTANT", "constant" },
|
59
|
-
{ GI_INFO_TYPE_INVALID_0, "GI_INFO_TYPE_INVALID_0", "invalid-0" },
|
60
|
-
{ GI_INFO_TYPE_UNION, "GI_INFO_TYPE_UNION", "union" },
|
61
|
-
{ GI_INFO_TYPE_VALUE, "GI_INFO_TYPE_VALUE", "value" },
|
62
|
-
{ GI_INFO_TYPE_SIGNAL, "GI_INFO_TYPE_SIGNAL", "signal" },
|
63
|
-
{ GI_INFO_TYPE_VFUNC, "GI_INFO_TYPE_VFUNC", "vfunc" },
|
64
|
-
{ GI_INFO_TYPE_PROPERTY, "GI_INFO_TYPE_PROPERTY", "property" },
|
65
|
-
{ GI_INFO_TYPE_FIELD, "GI_INFO_TYPE_FIELD", "field" },
|
66
|
-
{ GI_INFO_TYPE_ARG, "GI_INFO_TYPE_ARG", "arg" },
|
67
|
-
{ GI_INFO_TYPE_TYPE, "GI_INFO_TYPE_TYPE", "type" },
|
68
|
-
{ GI_INFO_TYPE_UNRESOLVED, "GI_INFO_TYPE_UNRESOLVED", "unresolved" },
|
69
|
-
{ 0, NULL, NULL }
|
70
|
-
};
|
71
|
-
etype = g_enum_register_static ("GIInfoType", values);
|
72
|
-
}
|
73
|
-
return etype;
|
74
|
-
}
|
75
|
-
|
76
|
-
GType
|
77
|
-
g_i_transfer_get_type (void)
|
78
|
-
{
|
79
|
-
static GType etype = 0;
|
80
|
-
if (etype == 0) {
|
81
|
-
static const GEnumValue values[] = {
|
82
|
-
{ GI_TRANSFER_NOTHING, "GI_TRANSFER_NOTHING", "nothing" },
|
83
|
-
{ GI_TRANSFER_CONTAINER, "GI_TRANSFER_CONTAINER", "container" },
|
84
|
-
{ GI_TRANSFER_EVERYTHING, "GI_TRANSFER_EVERYTHING", "everything" },
|
85
|
-
{ 0, NULL, NULL }
|
86
|
-
};
|
87
|
-
etype = g_enum_register_static ("GITransfer", values);
|
88
|
-
}
|
89
|
-
return etype;
|
90
|
-
}
|
91
|
-
|
92
|
-
GType
|
93
|
-
g_i_direction_get_type (void)
|
94
|
-
{
|
95
|
-
static GType etype = 0;
|
96
|
-
if (etype == 0) {
|
97
|
-
static const GEnumValue values[] = {
|
98
|
-
{ GI_DIRECTION_IN, "GI_DIRECTION_IN", "in" },
|
99
|
-
{ GI_DIRECTION_OUT, "GI_DIRECTION_OUT", "out" },
|
100
|
-
{ GI_DIRECTION_INOUT, "GI_DIRECTION_INOUT", "inout" },
|
101
|
-
{ 0, NULL, NULL }
|
102
|
-
};
|
103
|
-
etype = g_enum_register_static ("GIDirection", values);
|
104
|
-
}
|
105
|
-
return etype;
|
106
|
-
}
|
107
|
-
|
108
|
-
GType
|
109
|
-
g_i_scope_type_get_type (void)
|
110
|
-
{
|
111
|
-
static GType etype = 0;
|
112
|
-
if (etype == 0) {
|
113
|
-
static const GEnumValue values[] = {
|
114
|
-
{ GI_SCOPE_TYPE_INVALID, "GI_SCOPE_TYPE_INVALID", "invalid" },
|
115
|
-
{ GI_SCOPE_TYPE_CALL, "GI_SCOPE_TYPE_CALL", "call" },
|
116
|
-
{ GI_SCOPE_TYPE_ASYNC, "GI_SCOPE_TYPE_ASYNC", "async" },
|
117
|
-
{ GI_SCOPE_TYPE_NOTIFIED, "GI_SCOPE_TYPE_NOTIFIED", "notified" },
|
118
|
-
{ 0, NULL, NULL }
|
119
|
-
};
|
120
|
-
etype = g_enum_register_static ("GIScopeType", values);
|
121
|
-
}
|
122
|
-
return etype;
|
123
|
-
}
|
124
|
-
|
125
|
-
GType
|
126
|
-
g_i_type_tag_get_type (void)
|
127
|
-
{
|
128
|
-
static GType etype = 0;
|
129
|
-
if (etype == 0) {
|
130
|
-
static const GEnumValue values[] = {
|
131
|
-
{ GI_TYPE_TAG_VOID, "GI_TYPE_TAG_VOID", "void" },
|
132
|
-
{ GI_TYPE_TAG_BOOLEAN, "GI_TYPE_TAG_BOOLEAN", "boolean" },
|
133
|
-
{ GI_TYPE_TAG_INT8, "GI_TYPE_TAG_INT8", "int8" },
|
134
|
-
{ GI_TYPE_TAG_UINT8, "GI_TYPE_TAG_UINT8", "uint8" },
|
135
|
-
{ GI_TYPE_TAG_INT16, "GI_TYPE_TAG_INT16", "int16" },
|
136
|
-
{ GI_TYPE_TAG_UINT16, "GI_TYPE_TAG_UINT16", "uint16" },
|
137
|
-
{ GI_TYPE_TAG_INT32, "GI_TYPE_TAG_INT32", "int32" },
|
138
|
-
{ GI_TYPE_TAG_UINT32, "GI_TYPE_TAG_UINT32", "uint32" },
|
139
|
-
{ GI_TYPE_TAG_INT64, "GI_TYPE_TAG_INT64", "int64" },
|
140
|
-
{ GI_TYPE_TAG_UINT64, "GI_TYPE_TAG_UINT64", "uint64" },
|
141
|
-
{ GI_TYPE_TAG_FLOAT, "GI_TYPE_TAG_FLOAT", "float" },
|
142
|
-
{ GI_TYPE_TAG_DOUBLE, "GI_TYPE_TAG_DOUBLE", "double" },
|
143
|
-
{ GI_TYPE_TAG_GTYPE, "GI_TYPE_TAG_GTYPE", "gtype" },
|
144
|
-
{ GI_TYPE_TAG_UTF8, "GI_TYPE_TAG_UTF8", "utf8" },
|
145
|
-
{ GI_TYPE_TAG_FILENAME, "GI_TYPE_TAG_FILENAME", "filename" },
|
146
|
-
{ GI_TYPE_TAG_ARRAY, "GI_TYPE_TAG_ARRAY", "array" },
|
147
|
-
{ GI_TYPE_TAG_INTERFACE, "GI_TYPE_TAG_INTERFACE", "interface" },
|
148
|
-
{ GI_TYPE_TAG_GLIST, "GI_TYPE_TAG_GLIST", "glist" },
|
149
|
-
{ GI_TYPE_TAG_GSLIST, "GI_TYPE_TAG_GSLIST", "gslist" },
|
150
|
-
{ GI_TYPE_TAG_GHASH, "GI_TYPE_TAG_GHASH", "ghash" },
|
151
|
-
{ GI_TYPE_TAG_ERROR, "GI_TYPE_TAG_ERROR", "error" },
|
152
|
-
{ GI_TYPE_TAG_UNICHAR, "GI_TYPE_TAG_UNICHAR", "unichar" },
|
153
|
-
{ 0, NULL, NULL }
|
154
|
-
};
|
155
|
-
etype = g_enum_register_static ("GITypeTag", values);
|
156
|
-
}
|
157
|
-
return etype;
|
158
|
-
}
|
159
|
-
|
160
|
-
GType
|
161
|
-
g_i_array_type_get_type (void)
|
162
|
-
{
|
163
|
-
static GType etype = 0;
|
164
|
-
if (etype == 0) {
|
165
|
-
static const GEnumValue values[] = {
|
166
|
-
{ GI_ARRAY_TYPE_C, "GI_ARRAY_TYPE_C", "c" },
|
167
|
-
{ GI_ARRAY_TYPE_ARRAY, "GI_ARRAY_TYPE_ARRAY", "array" },
|
168
|
-
{ GI_ARRAY_TYPE_PTR_ARRAY, "GI_ARRAY_TYPE_PTR_ARRAY", "ptr-array" },
|
169
|
-
{ GI_ARRAY_TYPE_BYTE_ARRAY, "GI_ARRAY_TYPE_BYTE_ARRAY", "byte-array" },
|
170
|
-
{ 0, NULL, NULL }
|
171
|
-
};
|
172
|
-
etype = g_enum_register_static ("GIArrayType", values);
|
173
|
-
}
|
174
|
-
return etype;
|
175
|
-
}
|
176
|
-
|
177
|
-
GType
|
178
|
-
g_i_field_info_flags_get_type (void)
|
179
|
-
{
|
180
|
-
static GType etype = 0;
|
181
|
-
if (etype == 0) {
|
182
|
-
static const GFlagsValue values[] = {
|
183
|
-
{ GI_FIELD_IS_READABLE, "GI_FIELD_IS_READABLE", "readable" },
|
184
|
-
{ GI_FIELD_IS_WRITABLE, "GI_FIELD_IS_WRITABLE", "writable" },
|
185
|
-
{ 0, NULL, NULL }
|
186
|
-
};
|
187
|
-
etype = g_flags_register_static ("GIFieldInfoFlags", values);
|
188
|
-
}
|
189
|
-
return etype;
|
190
|
-
}
|
191
|
-
|
192
|
-
GType
|
193
|
-
g_iv_func_info_flags_get_type (void)
|
194
|
-
{
|
195
|
-
static GType etype = 0;
|
196
|
-
if (etype == 0) {
|
197
|
-
static const GFlagsValue values[] = {
|
198
|
-
{ GI_VFUNC_MUST_CHAIN_UP, "GI_VFUNC_MUST_CHAIN_UP", "must-chain-up" },
|
199
|
-
{ GI_VFUNC_MUST_OVERRIDE, "GI_VFUNC_MUST_OVERRIDE", "must-override" },
|
200
|
-
{ GI_VFUNC_MUST_NOT_OVERRIDE, "GI_VFUNC_MUST_NOT_OVERRIDE", "must-not-override" },
|
201
|
-
{ GI_VFUNC_THROWS, "GI_VFUNC_THROWS", "throws" },
|
202
|
-
{ 0, NULL, NULL }
|
203
|
-
};
|
204
|
-
etype = g_flags_register_static ("GIVFuncInfoFlags", values);
|
205
|
-
}
|
206
|
-
return etype;
|
207
|
-
}
|
208
|
-
|
209
|
-
GType
|
210
|
-
g_i_function_info_flags_get_type (void)
|
211
|
-
{
|
212
|
-
static GType etype = 0;
|
213
|
-
if (etype == 0) {
|
214
|
-
static const GFlagsValue values[] = {
|
215
|
-
{ GI_FUNCTION_IS_METHOD, "GI_FUNCTION_IS_METHOD", "is-method" },
|
216
|
-
{ GI_FUNCTION_IS_CONSTRUCTOR, "GI_FUNCTION_IS_CONSTRUCTOR", "is-constructor" },
|
217
|
-
{ GI_FUNCTION_IS_GETTER, "GI_FUNCTION_IS_GETTER", "is-getter" },
|
218
|
-
{ GI_FUNCTION_IS_SETTER, "GI_FUNCTION_IS_SETTER", "is-setter" },
|
219
|
-
{ GI_FUNCTION_WRAPS_VFUNC, "GI_FUNCTION_WRAPS_VFUNC", "wraps-vfunc" },
|
220
|
-
{ GI_FUNCTION_THROWS, "GI_FUNCTION_THROWS", "throws" },
|
221
|
-
{ 0, NULL, NULL }
|
222
|
-
};
|
223
|
-
etype = g_flags_register_static ("GIFunctionInfoFlags", values);
|
224
|
-
}
|
225
|
-
return etype;
|
226
|
-
}
|
227
|
-
|
228
|
-
|
229
|
-
/* Generated data ends here */
|
230
|
-
|
@@ -1,42 +0,0 @@
|
|
1
|
-
|
2
|
-
/* Generated by glib-mkenums.rb ($Id$) */
|
3
|
-
|
4
|
-
#ifndef __GOBJECT_INTROSPECTION_ENUM_TYPES_H__
|
5
|
-
#define __GOBJECT_INTROSPECTION_ENUM_TYPES_H__
|
6
|
-
|
7
|
-
#include <glib-object.h>
|
8
|
-
|
9
|
-
G_BEGIN_DECLS
|
10
|
-
|
11
|
-
/* enumerations from "/usr/include/gobject-introspection-1.0/girepository.h" */
|
12
|
-
GType g_i_repository_load_flags_get_type (void);
|
13
|
-
#define G_TYPE_I_REPOSITORY_LOAD_FLAGS (g_i_repository_load_flags_get_type())
|
14
|
-
GType g_i_repository_error_get_type (void);
|
15
|
-
#define G_TYPE_I_REPOSITORY_ERROR (g_i_repository_error_get_type())
|
16
|
-
|
17
|
-
/* enumerations from "/usr/include/gobject-introspection-1.0/gitypes.h" */
|
18
|
-
GType g_i_info_type_get_type (void);
|
19
|
-
#define G_TYPE_I_INFO_TYPE (g_i_info_type_get_type())
|
20
|
-
GType g_i_transfer_get_type (void);
|
21
|
-
#define G_TYPE_I_TRANSFER (g_i_transfer_get_type())
|
22
|
-
GType g_i_direction_get_type (void);
|
23
|
-
#define G_TYPE_I_DIRECTION (g_i_direction_get_type())
|
24
|
-
GType g_i_scope_type_get_type (void);
|
25
|
-
#define G_TYPE_I_SCOPE_TYPE (g_i_scope_type_get_type())
|
26
|
-
GType g_i_type_tag_get_type (void);
|
27
|
-
#define G_TYPE_I_TYPE_TAG (g_i_type_tag_get_type())
|
28
|
-
GType g_i_array_type_get_type (void);
|
29
|
-
#define G_TYPE_I_ARRAY_TYPE (g_i_array_type_get_type())
|
30
|
-
GType g_i_field_info_flags_get_type (void);
|
31
|
-
#define G_TYPE_I_FIELD_INFO_FLAGS (g_i_field_info_flags_get_type())
|
32
|
-
GType g_iv_func_info_flags_get_type (void);
|
33
|
-
#define G_TYPE_IV_FUNC_INFO_FLAGS (g_iv_func_info_flags_get_type())
|
34
|
-
GType g_i_function_info_flags_get_type (void);
|
35
|
-
#define G_TYPE_I_FUNCTION_INFO_FLAGS (g_i_function_info_flags_get_type())
|
36
|
-
|
37
|
-
G_END_DECLS
|
38
|
-
|
39
|
-
#endif /* __GOBJECT_INTROSPECTION_ENUM_TYPES_H__ */
|
40
|
-
|
41
|
-
/* Generated data ends here */
|
42
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
|
-
/************************************************
|
3
|
-
|
4
|
-
rbgiversion.h -
|
5
|
-
|
6
|
-
This file was generated by mkmf-gnome2.rb.
|
7
|
-
|
8
|
-
************************************************/
|
9
|
-
|
10
|
-
#ifndef __RBGI_VERSION_H__
|
11
|
-
#define __RBGI_VERSION_H__
|
12
|
-
|
13
|
-
#define GI_MAJOR_VERSION (1)
|
14
|
-
#define GI_MINOR_VERSION (46)
|
15
|
-
#define GI_MICRO_VERSION (0)
|
16
|
-
|
17
|
-
#define GI_CHECK_VERSION(major,minor,micro) \
|
18
|
-
(GI_MAJOR_VERSION > (major) || \
|
19
|
-
(GI_MAJOR_VERSION == (major) && GI_MINOR_VERSION > (minor)) || \
|
20
|
-
(GI_MAJOR_VERSION == (major) && GI_MINOR_VERSION == (minor) && \
|
21
|
-
GI_MICRO_VERSION >= (micro)))
|
22
|
-
|
23
|
-
|
24
|
-
#endif /* __RBGI_VERSION_H__ */
|