gir_ffi 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.3.2 / 2012-08-24
2
+
3
+ * Correctly set FFI return type when callbacks that return GObjects have
4
+ incomplete type specification.
5
+
1
6
  == 0.3.1 / 2012-05-13
2
7
 
3
8
  * Correctly map Interface types in callbacks.
@@ -1,15 +1,31 @@
1
1
  module GObject
2
2
  module Helper
3
+ # Create a signal hander callback. Wraps the given block in such a way that
4
+ # arguments and return value are cast correctly to the ruby world and back.
5
+ #
6
+ # @param klass The class of the object that will receive the signal.
7
+ # @param signal The name of the signal
8
+ # @param &block The body of the signal handler
9
+ #
10
+ # @returns [FFI::Function] The signal handler, ready to be passed as a
11
+ # callback to C.
3
12
  def self.signal_callback klass, signal, &block
4
- sig = klass._find_signal signal
13
+ sig_info = klass._find_signal signal
5
14
 
6
- rettype = GirFFI::Builder.itypeinfo_to_ffitype sig.return_type
7
- argtypes = GirFFI::Builder.ffi_argument_types_for_signal sig
8
- callback_block = Helper.signal_callback_args(sig, klass, &block)
15
+ callback_block = signal_callback_args(sig_info, klass, &block)
9
16
 
10
- FFI::Function.new rettype, argtypes, &callback_block
17
+ builder.build_callback sig_info, &callback_block
11
18
  end
12
19
 
20
+ def self.builder= bldr
21
+ @builder = bldr
22
+ end
23
+
24
+ def self.builder
25
+ @builder ||= GirFFI::Builder
26
+ end
27
+
28
+ # FIXME: Move either to ISignalInfo or the base GObject class.
13
29
  def self.signal_callback_args sig, klass, &block
14
30
  raise ArgumentError, "Block needed" if block.nil?
15
31
  return Proc.new do |*args|
@@ -21,7 +37,7 @@ module GObject
21
37
  def self.signal_arguments_to_gvalue_array signal, instance, *rest
22
38
  sig = instance.class._find_signal signal
23
39
 
24
- arr = ::GObject::ValueArray.new sig.n_args+1
40
+ arr = ::GObject::ValueArray.new sig.n_args + 1
25
41
 
26
42
  arr.append signal_reciever_to_gvalue instance
27
43
 
@@ -85,6 +101,8 @@ module GObject
85
101
  case iface.info_type
86
102
  when :enum, :flags
87
103
  kls[arg]
104
+ when :interface
105
+ arg.to_object
88
106
  else
89
107
  kls.wrap(arg)
90
108
  end
@@ -31,6 +31,13 @@ module GirFFI
31
31
  Builder::Module.new(namespace, version).build_module_non_recursive
32
32
  end
33
33
 
34
+ def self.build_callback callable_info, &block
35
+ rettype = ffi_callback_return_type callable_info
36
+ argtypes = ffi_callback_argument_types callable_info
37
+
38
+ FFI::Function.new rettype, argtypes, &block
39
+ end
40
+
34
41
  # TODO: Move elsewhere, perhaps to Builder::Function.
35
42
  def self.attach_ffi_function lib, info
36
43
  sym = info.symbol
@@ -52,13 +59,17 @@ module GirFFI
52
59
  types
53
60
  end
54
61
 
55
- def self.ffi_argument_types_for_signal info
62
+ def self.ffi_callback_argument_types info
56
63
  types = info.args.map do |arg|
57
64
  itypeinfo_to_callback_ffitype arg.argument_type
58
65
  end
59
66
  types.unshift(:pointer).push(:pointer)
60
67
  end
61
68
 
69
+ def self.ffi_callback_return_type info
70
+ ffi_function_return_type info
71
+ end
72
+
62
73
  def self.ffi_function_return_type info
63
74
  rt = info.return_type
64
75
  # FIXME: Workaround for older gobject-introspection not identifying all
@@ -1,4 +1,4 @@
1
1
  module GirFFI
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
4
4
 
@@ -200,6 +200,21 @@ class GObjectOverridesTest < MiniTest::Spec
200
200
  assert_equal :july, res
201
201
  end
202
202
  end
203
+
204
+ describe "with info for an interface" do
205
+ before do
206
+ ifaceinfo = get_introspection_data 'Regress', 'TestInterface'
207
+ stub(arg_t = Object.new).interface { ifaceinfo }
208
+ stub(arg_t).tag { :interface }
209
+ stub(@info = Object.new).argument_type { arg_t }
210
+ end
211
+
212
+ it "casts the argument by calling #to_object on it" do
213
+ mock(ptr = Object.new).to_object { "good-result" }
214
+ res = GObject::Helper.cast_signal_argument @info, ptr
215
+ res.must_equal "good-result"
216
+ end
217
+ end
203
218
  end
204
219
  end
205
220
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gir_ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-13 00:00:00.000000000 Z
12
+ date: 2012-08-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
16
- requirement: &16863900 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: 1.0.8
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16863900
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 1.0.8
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: indentation
27
- requirement: &16863300 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: 0.0.6
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *16863300
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.0.6
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: minitest
38
- requirement: &16862540 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: 2.0.2
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *16862540
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 2.0.2
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: rr
49
- requirement: &16861560 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: 1.0.2
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *16861560
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.0.2
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: rake
60
- requirement: &16861080 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ~>
@@ -65,7 +85,12 @@ dependencies:
65
85
  version: 0.9.2
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *16861080
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.9.2
69
94
  description:
70
95
  email:
71
96
  - matijs@matijs.net
@@ -77,183 +102,183 @@ extra_rdoc_files:
77
102
  - README.rdoc
78
103
  - TODO.rdoc
79
104
  files:
80
- - lib/ffi-gtk3.rb
81
- - lib/gir_ffi.rb
82
- - lib/ffi-gtk/base.rb
83
105
  - lib/ffi-gtk2.rb
84
- - lib/ffi-gobject_introspection/i_field_info.rb
85
- - lib/ffi-gobject_introspection/i_flags_info.rb
86
- - lib/ffi-gobject_introspection/g_error.rb
87
- - lib/ffi-gobject_introspection/i_object_info.rb
88
- - lib/ffi-gobject_introspection/i_enum_info.rb
89
- - lib/ffi-gobject_introspection/i_value_info.rb
90
- - lib/ffi-gobject_introspection/i_signal_info.rb
91
- - lib/ffi-gobject_introspection/i_callback_info.rb
92
- - lib/ffi-gobject_introspection/lib.rb
93
- - lib/ffi-gobject_introspection/i_property_info.rb
94
- - lib/ffi-gobject_introspection/i_registered_type_info.rb
95
- - lib/ffi-gobject_introspection/i_repository.rb
96
- - lib/ffi-gobject_introspection/i_vfunc_info.rb
97
- - lib/ffi-gobject_introspection/i_constant_info.rb
98
- - lib/ffi-gobject_introspection/i_struct_info.rb
99
- - lib/ffi-gobject_introspection/i_callable_info.rb
100
- - lib/ffi-gobject_introspection/i_function_info.rb
101
- - lib/ffi-gobject_introspection/i_base_info.rb
102
- - lib/ffi-gobject_introspection/i_union_info.rb
103
- - lib/ffi-gobject_introspection/gobject_lib.rb
104
- - lib/ffi-gobject_introspection/i_interface_info.rb
105
- - lib/ffi-gobject_introspection/i_arg_info.rb
106
- - lib/ffi-gobject_introspection/i_type_info.rb
107
106
  - lib/ffi-gobject_introspection.rb
108
- - lib/ffi-glib.rb
109
- - lib/ffi-gobject.rb
110
- - lib/ffi-glib/array.rb
111
- - lib/ffi-glib/ptr_array.rb
112
- - lib/ffi-glib/list.rb
113
- - lib/ffi-glib/container_class_methods.rb
114
- - lib/ffi-glib/list_methods.rb
115
- - lib/ffi-glib/strv.rb
116
- - lib/ffi-glib/hash_table.rb
117
- - lib/ffi-glib/byte_array.rb
118
- - lib/ffi-glib/s_list.rb
107
+ - lib/gir_ffi.rb
108
+ - lib/ffi-gtk/base.rb
119
109
  - lib/gir_ffi/lib_c.rb
120
- - lib/gir_ffi/builder_helper.rb
121
- - lib/gir_ffi/builder.rb
122
- - lib/gir_ffi/in_out_pointer.rb
123
- - lib/gir_ffi/builder/argument/base.rb
124
- - lib/gir_ffi/builder/argument/in_base.rb
125
- - lib/gir_ffi/builder/argument/out_base.rb
126
- - lib/gir_ffi/builder/argument/in_out_base.rb
127
- - lib/gir_ffi/builder/property.rb
128
- - lib/gir_ffi/builder/module.rb
129
110
  - lib/gir_ffi/builder/function.rb
130
- - lib/gir_ffi/builder/type/with_methods.rb
131
- - lib/gir_ffi/builder/type/base.rb
132
111
  - lib/gir_ffi/builder/type/constant.rb
133
- - lib/gir_ffi/builder/type/interface.rb
134
- - lib/gir_ffi/builder/type/struct_based.rb
135
- - lib/gir_ffi/builder/type/struct.rb
136
- - lib/gir_ffi/builder/type/enum.rb
137
- - lib/gir_ffi/builder/type/registered_type.rb
138
- - lib/gir_ffi/builder/type/callback.rb
139
- - lib/gir_ffi/builder/type/unintrospectable.rb
140
- - lib/gir_ffi/builder/type/with_layout.rb
141
112
  - lib/gir_ffi/builder/type/union.rb
113
+ - lib/gir_ffi/builder/type/base.rb
114
+ - lib/gir_ffi/builder/type/callback.rb
142
115
  - lib/gir_ffi/builder/type/user_defined.rb
116
+ - lib/gir_ffi/builder/type/unintrospectable.rb
143
117
  - lib/gir_ffi/builder/type/object.rb
144
- - lib/gir_ffi/builder/type.rb
118
+ - lib/gir_ffi/builder/type/with_methods.rb
119
+ - lib/gir_ffi/builder/type/with_layout.rb
120
+ - lib/gir_ffi/builder/type/struct_based.rb
121
+ - lib/gir_ffi/builder/type/enum.rb
122
+ - lib/gir_ffi/builder/type/interface.rb
123
+ - lib/gir_ffi/builder/type/registered_type.rb
124
+ - lib/gir_ffi/builder/type/struct.rb
145
125
  - lib/gir_ffi/builder/field.rb
126
+ - lib/gir_ffi/builder/type.rb
127
+ - lib/gir_ffi/builder/module.rb
128
+ - lib/gir_ffi/builder/property.rb
146
129
  - lib/gir_ffi/builder/argument.rb
147
- - lib/gir_ffi/interface_base.rb
148
- - lib/gir_ffi/module_base.rb
149
- - lib/gir_ffi/class_base.rb
150
- - lib/gir_ffi/callback_helper.rb
151
- - lib/gir_ffi/in_pointer.rb
152
- - lib/gir_ffi/user_defined/i_object_info.rb
130
+ - lib/gir_ffi/builder/argument/base.rb
131
+ - lib/gir_ffi/builder/argument/out_base.rb
132
+ - lib/gir_ffi/builder/argument/in_out_base.rb
133
+ - lib/gir_ffi/builder/argument/in_base.rb
134
+ - lib/gir_ffi/method_stubber.rb
135
+ - lib/gir_ffi/arg_helper.rb
136
+ - lib/gir_ffi/allocation_helper.rb
137
+ - lib/gir_ffi/type_map.rb
153
138
  - lib/gir_ffi/user_defined/i_property_info.rb
154
- - lib/gir_ffi/user_defined/i_registered_type_info.rb
155
139
  - lib/gir_ffi/user_defined/i_base_info.rb
140
+ - lib/gir_ffi/user_defined/i_object_info.rb
141
+ - lib/gir_ffi/user_defined/i_registered_type_info.rb
142
+ - lib/gir_ffi/ffi_ext/pointer.rb
143
+ - lib/gir_ffi/builder_helper.rb
156
144
  - lib/gir_ffi/variable_name_generator.rb
145
+ - lib/gir_ffi/in_pointer.rb
146
+ - lib/gir_ffi/in_out_pointer.rb
157
147
  - lib/gir_ffi/version.rb
148
+ - lib/gir_ffi/callback_helper.rb
149
+ - lib/gir_ffi/builder.rb
150
+ - lib/gir_ffi/interface_base.rb
151
+ - lib/gir_ffi/info_ext/i_type_info.rb
158
152
  - lib/gir_ffi/info_ext/i_field_info.rb
159
153
  - lib/gir_ffi/info_ext/i_property_info.rb
160
- - lib/gir_ffi/info_ext/i_type_info.rb
161
- - lib/gir_ffi/allocation_helper.rb
162
- - lib/gir_ffi/ffi_ext/pointer.rb
163
- - lib/gir_ffi/method_stubber.rb
164
- - lib/gir_ffi/arg_helper.rb
165
- - lib/gir_ffi/type_map.rb
154
+ - lib/gir_ffi/module_base.rb
155
+ - lib/gir_ffi/class_base.rb
166
156
  - lib/ffi-gobject/ruby_style.rb
167
157
  - lib/ffi-gobject/ruby_closure.rb
168
158
  - lib/ffi-gobject/base.rb
159
+ - lib/ffi-gobject/object.rb
169
160
  - lib/ffi-gobject/value.rb
170
- - lib/ffi-gobject/closure.rb
171
- - lib/ffi-gobject/initially_unowned.rb
172
161
  - lib/ffi-gobject/helper.rb
173
- - lib/ffi-gobject/object.rb
174
- - test/gir_ffi_test_helper.rb
175
- - test/lib/Makefile.am
176
- - test/lib/autogen.sh
177
- - test/lib/configure.ac
178
- - test/lib/m4/jhflags.m4
179
- - test/ffi-gtk/gtk_test.rb
180
- - test/ffi-gobject_introspection/i_repository_test.rb
181
- - test/ffi-gobject_introspection/i_object_info_test.rb
182
- - test/ffi-gobject_introspection/i_base_info_test.rb
183
- - test/ffi-gobject_introspection/lib_test.rb
184
- - test/ffi-gobject_introspection/i_function_info_test.rb
185
- - test/ffi-gobject_introspection/i_constant_info_test.rb
162
+ - lib/ffi-gobject/initially_unowned.rb
163
+ - lib/ffi-gobject/closure.rb
164
+ - lib/ffi-glib.rb
165
+ - lib/ffi-glib/container_class_methods.rb
166
+ - lib/ffi-glib/array.rb
167
+ - lib/ffi-glib/list.rb
168
+ - lib/ffi-glib/hash_table.rb
169
+ - lib/ffi-glib/list_methods.rb
170
+ - lib/ffi-glib/strv.rb
171
+ - lib/ffi-glib/byte_array.rb
172
+ - lib/ffi-glib/ptr_array.rb
173
+ - lib/ffi-glib/s_list.rb
174
+ - lib/ffi-gobject_introspection/i_struct_info.rb
175
+ - lib/ffi-gobject_introspection/i_callback_info.rb
176
+ - lib/ffi-gobject_introspection/i_arg_info.rb
177
+ - lib/ffi-gobject_introspection/i_type_info.rb
178
+ - lib/ffi-gobject_introspection/i_function_info.rb
179
+ - lib/ffi-gobject_introspection/i_callable_info.rb
180
+ - lib/ffi-gobject_introspection/i_field_info.rb
181
+ - lib/ffi-gobject_introspection/gobject_lib.rb
182
+ - lib/ffi-gobject_introspection/i_vfunc_info.rb
183
+ - lib/ffi-gobject_introspection/i_interface_info.rb
184
+ - lib/ffi-gobject_introspection/i_property_info.rb
185
+ - lib/ffi-gobject_introspection/i_enum_info.rb
186
+ - lib/ffi-gobject_introspection/lib.rb
187
+ - lib/ffi-gobject_introspection/i_repository.rb
188
+ - lib/ffi-gobject_introspection/i_constant_info.rb
189
+ - lib/ffi-gobject_introspection/i_value_info.rb
190
+ - lib/ffi-gobject_introspection/i_signal_info.rb
191
+ - lib/ffi-gobject_introspection/i_union_info.rb
192
+ - lib/ffi-gobject_introspection/i_base_info.rb
193
+ - lib/ffi-gobject_introspection/i_object_info.rb
194
+ - lib/ffi-gobject_introspection/i_flags_info.rb
195
+ - lib/ffi-gobject_introspection/i_registered_type_info.rb
196
+ - lib/ffi-gobject_introspection/g_error.rb
197
+ - lib/ffi-gobject.rb
198
+ - lib/ffi-gtk3.rb
186
199
  - test/test_helper.rb
187
- - test/girffi_test.rb
188
- - test/unit/user_defined_object_info_test.rb
189
- - test/unit/union_builder_test.rb
200
+ - test/unit/user_defined_registered_type_info_test.rb
190
201
  - test/unit/unintrospectable_type_builder_test.rb
191
- - test/unit/argument_builder_test.rb
202
+ - test/unit/user_defined_type_builder_test.rb
203
+ - test/unit/object_type_builder_test.rb
192
204
  - test/unit/user_defined_property_info_test.rb
193
- - test/unit/callback_builder_test.rb
194
- - test/unit/arg_helper_test.rb
195
205
  - test/unit/i_type_info_test.rb
196
- - test/unit/user_defined_registered_type_info_test.rb
206
+ - test/unit/enum_builder_test.rb
197
207
  - test/unit/constant_builder_test.rb
198
- - test/unit/class_base_test.rb
208
+ - test/unit/builder_test.rb
209
+ - test/unit/in_pointer_test.rb
210
+ - test/unit/in_out_pointer_test.rb
211
+ - test/unit/arg_helper_test.rb
199
212
  - test/unit/function_builder_test.rb
200
- - test/unit/module_builder_test.rb
213
+ - test/unit/variable_name_generator_test.rb
214
+ - test/unit/callback_helper_test.rb
215
+ - test/unit/struct_builder_test.rb
216
+ - test/unit/class_base_test.rb
217
+ - test/unit/union_builder_test.rb
218
+ - test/unit/callback_builder_test.rb
219
+ - test/unit/argument_builder_test.rb
220
+ - test/unit/interface_builder_test.rb
201
221
  - test/unit/hash_table_element_type_provider_test.rb
222
+ - test/unit/i_field_info_test.rb
223
+ - test/unit/user_defined_object_info_test.rb
202
224
  - test/unit/list_element_type_provider_test.rb
203
- - test/unit/interface_builder_test.rb
204
- - test/unit/in_out_pointer_test.rb
205
- - test/unit/callback_helper_test.rb
206
- - test/unit/builder_test.rb
207
- - test/unit/in_pointer_test.rb
208
- - test/unit/enum_builder_test.rb
225
+ - test/unit/module_builder_test.rb
209
226
  - test/unit/gir_ffi_test.rb
210
- - test/unit/i_field_info_test.rb
211
- - test/unit/struct_builder_test.rb
212
- - test/unit/object_type_builder_test.rb
213
- - test/unit/user_defined_type_builder_test.rb
214
- - test/unit/variable_name_generator_test.rb
215
- - test/type_builder_test.rb
227
+ - test/lib/configure.ac
228
+ - test/lib/Makefile.am
229
+ - test/lib/m4/jhflags.m4
230
+ - test/lib/autogen.sh
216
231
  - test/builder_test.rb
217
- - test/integration/generated_regress_test.rb
218
- - test/integration/pretty_print_test.rb
219
- - test/integration/generated_pango_test.rb
232
+ - test/gir_ffi_test_helper.rb
233
+ - test/ffi-gtk/gtk_test.rb
220
234
  - test/integration/derived_classes_test.rb
235
+ - test/integration/generated_regress_test.rb
221
236
  - test/integration/method_lookup_test.rb
237
+ - test/integration/generated_gimarshallingtests_test.rb
238
+ - test/integration/generated_gio_test.rb
222
239
  - test/integration/generated_gtk_test.rb
240
+ - test/integration/pretty_print_test.rb
241
+ - test/integration/generated_pango_test.rb
223
242
  - test/integration/generated_gobject_test.rb
224
- - test/integration/generated_gio_test.rb
225
- - test/integration/generated_gimarshallingtests_test.rb
243
+ - test/ffi-gobject/g_object_overrides_test.rb
244
+ - test/ffi-gobject/object_class_test.rb
245
+ - test/ffi-gobject/object_test.rb
246
+ - test/ffi-gobject/gobject_test.rb
247
+ - test/ffi-gobject/value_test.rb
248
+ - test/ffi-gobject/ruby_style_test.rb
226
249
  - test/ffi-glib/s_list_test.rb
227
- - test/ffi-glib/array_test.rb
228
250
  - test/ffi-glib/hash_table_test.rb
229
- - test/ffi-glib/byte_array_test.rb
230
- - test/ffi-glib/strv_test.rb
231
- - test/ffi-glib/glib_overrides_test.rb
232
251
  - test/ffi-glib/list_test.rb
252
+ - test/ffi-glib/array_test.rb
233
253
  - test/ffi-glib/ptr_array_test.rb
234
- - test/ffi-gobject/gobject_test.rb
235
- - test/ffi-gobject/object_class_test.rb
236
- - test/ffi-gobject/g_object_overrides_test.rb
237
- - test/ffi-gobject/ruby_style_test.rb
238
- - test/ffi-gobject/object_test.rb
239
- - test/ffi-gobject/value_test.rb
254
+ - test/ffi-glib/byte_array_test.rb
255
+ - test/ffi-glib/glib_overrides_test.rb
256
+ - test/ffi-glib/strv_test.rb
257
+ - test/ffi-gobject_introspection/i_repository_test.rb
258
+ - test/ffi-gobject_introspection/i_constant_info_test.rb
259
+ - test/ffi-gobject_introspection/i_base_info_test.rb
260
+ - test/ffi-gobject_introspection/i_object_info_test.rb
261
+ - test/ffi-gobject_introspection/lib_test.rb
262
+ - test/ffi-gobject_introspection/i_function_info_test.rb
263
+ - test/type_builder_test.rb
264
+ - test/girffi_test.rb
265
+ - tasks/setup.rb
240
266
  - tasks/valgrind.rake
241
267
  - tasks/test.rake
242
- - tasks/setup.rb
243
- - examples/print_class.rb
244
- - examples/05_notification.rb
245
- - examples/demo_ffi_safe_inherited_layout.rb
246
- - examples/04_webkit.rb
247
268
  - examples/demo_ffi_nested_struct.rb
269
+ - examples/hard_coded.rb
248
270
  - examples/leak_test.rb
271
+ - examples/demo_ffi_safe_inherited_layout.rb
249
272
  - examples/demo_ffi_inherited_layout.rb
250
- - examples/hard_coded.rb
273
+ - examples/04_webkit.rb
274
+ - examples/01_empty_window.rb
251
275
  - examples/03_upgraded_hello_world.rb
276
+ - examples/print_class.rb
252
277
  - examples/02_hello_world.rb
253
- - examples/01_empty_window.rb
254
- - TODO.rdoc
255
- - DESIGN.rdoc
278
+ - examples/05_notification.rb
256
279
  - README.rdoc
280
+ - DESIGN.rdoc
281
+ - TODO.rdoc
257
282
  - History.txt
258
283
  - Rakefile
259
284
  - COPYING.LIB
@@ -279,7 +304,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
279
304
  version: '0'
280
305
  requirements: []
281
306
  rubyforge_project:
282
- rubygems_version: 1.8.11
307
+ rubygems_version: 1.8.23
283
308
  signing_key:
284
309
  specification_version: 3
285
310
  summary: FFI-based GObject binding using the GObject Introspection Repository