rice 1.0.2 → 1.1.0

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.
Files changed (92) hide show
  1. data/COPYING +2 -2
  2. data/Doxyfile +1 -1
  3. data/Makefile.in +8 -3
  4. data/Rakefile +3 -3
  5. data/config.guess +30 -49
  6. data/config.sub +4 -22
  7. data/configure +319 -104
  8. data/configure.ac +6 -2
  9. data/doxygen.ac +2 -2
  10. data/extconf.rb +22 -0
  11. data/post-autoconf.rb +3 -3
  12. data/post-automake.rb +2 -2
  13. data/rice/Array.ipp +7 -6
  14. data/rice/Critical_Guard.hpp +6 -0
  15. data/rice/Critical_Guard.ipp +6 -0
  16. data/rice/Data_Object.hpp +1 -120
  17. data/rice/Data_Object.ipp +5 -1
  18. data/rice/Data_Object_defn.hpp +132 -0
  19. data/rice/Data_Type.ipp +18 -2
  20. data/rice/Enum.ipp +3 -3
  21. data/rice/Exception.hpp +1 -61
  22. data/rice/Exception_Base.hpp +2 -24
  23. data/rice/Exception_Base.ipp +2 -0
  24. data/rice/Exception_Base_defn.hpp +27 -0
  25. data/rice/Exception_defn.hpp +69 -0
  26. data/rice/Hash.hpp +5 -1
  27. data/rice/Hash.ipp +7 -7
  28. data/rice/Makefile.am +20 -3
  29. data/rice/Makefile.in +39 -4
  30. data/rice/Module.cpp +11 -3
  31. data/rice/Module_impl.hpp +20 -9
  32. data/rice/Module_impl.ipp +84 -87
  33. data/rice/Object.cpp +1 -1
  34. data/rice/VM.cpp +14 -1
  35. data/rice/VM.hpp +6 -1
  36. data/rice/config.hpp +24 -3
  37. data/rice/config.hpp.in +21 -0
  38. data/rice/detail/Auto_Function_Wrapper.hpp +97 -65
  39. data/rice/detail/Auto_Function_Wrapper.ipp +160 -128
  40. data/rice/detail/Auto_Member_Function_Wrapper.hpp +96 -64
  41. data/rice/detail/Auto_Member_Function_Wrapper.ipp +160 -128
  42. data/rice/detail/Exception_Handler.hpp +2 -112
  43. data/rice/detail/Exception_Handler.ipp +68 -0
  44. data/rice/detail/Exception_Handler_defn.hpp +96 -0
  45. data/rice/detail/Iterator.hpp +93 -0
  46. data/rice/detail/check_ruby_type.cpp +8 -2
  47. data/rice/detail/creation_funcs.ipp +2 -2
  48. data/rice/detail/define_method_and_auto_wrap.hpp +4 -2
  49. data/rice/detail/define_method_and_auto_wrap.ipp +14 -5
  50. data/rice/detail/env.hpp +4 -0
  51. data/rice/detail/method_data.cpp +362 -75
  52. data/rice/detail/method_data.cpp.rpp +301 -0
  53. data/rice/detail/method_data.hpp +6 -18
  54. data/rice/detail/mininode.cpp +1220 -0
  55. data/rice/detail/mininode.cpp.rpp +62 -0
  56. data/rice/detail/mininode.hpp +320 -0
  57. data/rice/detail/mininode.hpp.rpp +119 -0
  58. data/rice/detail/protect.cpp +4 -2
  59. data/rice/detail/ruby.hpp +44 -18
  60. data/rice/detail/ruby_version_code.hpp +6 -0
  61. data/rice/detail/ruby_version_code.hpp.in +6 -0
  62. data/rice/detail/rubysig.hpp +6 -0
  63. data/rice/detail/st.hpp +6 -2
  64. data/rice/detail/wrap_function.hpp +50 -48
  65. data/rice/detail/wrap_function.ipp +48 -48
  66. data/rice/generate_code.rb +43 -293
  67. data/rice/global_function.hpp +10 -4
  68. data/rice/global_function.ipp +1 -2
  69. data/rice/ruby_mark.hpp +13 -0
  70. data/rice/ruby_try_catch.hpp +1 -1
  71. data/rice/rubypp.rb +97 -0
  72. data/rice/to_from_ruby.ipp +3 -3
  73. data/ruby.ac +44 -8
  74. data/ruby/Makefile.in +2 -0
  75. data/ruby/lib/Makefile.in +2 -0
  76. data/ruby/lib/mkmf-rice.rb.in +4 -1
  77. data/ruby/lib/version.rb +3 -0
  78. data/sample/Makefile.am +2 -2
  79. data/sample/Makefile.in +4 -2
  80. data/test/Makefile.am +2 -1
  81. data/test/Makefile.in +7 -2
  82. data/test/test_Array.cpp +2 -2
  83. data/test/test_Class.cpp +4 -1
  84. data/test/test_Critical_Guard.cpp +4 -0
  85. data/test/test_Data_Object.cpp +43 -3
  86. data/test/test_Hash.cpp +3 -3
  87. data/test/test_String.cpp +8 -8
  88. data/test/test_VM.cpp +1 -1
  89. data/test/test_global_functions.cpp +45 -0
  90. data/test/test_rice.rb +5 -0
  91. metadata +115 -98
  92. data/rice/detail/Iterator_Definer.hpp +0 -98
@@ -2,6 +2,8 @@
2
2
  #include "rice/Critical_Guard.hpp"
3
3
  #include <stdexcept>
4
4
 
5
+ #if RICE__RUBY_VERSION_CODE < 190
6
+
5
7
  using namespace Rice;
6
8
 
7
9
  TESTSUITE(Critical_Guard);
@@ -45,3 +47,5 @@ TESTCASE(exception)
45
47
  ASSERT(!rb_thread_critical);
46
48
  }
47
49
 
50
+ #endif
51
+
@@ -10,6 +10,14 @@ TESTSUITE(Data_Object);
10
10
  namespace
11
11
  {
12
12
  struct Foo { Foo() : x_(42) { } int x_; };
13
+
14
+ bool test_ruby_mark__marked = false;
15
+ }
16
+
17
+ template<>
18
+ void ruby_mark(Foo * foo)
19
+ {
20
+ test_ruby_mark__marked = true;
13
21
  }
14
22
 
15
23
  SETUP(Data_Object)
@@ -35,7 +43,13 @@ TESTCASE(construct_from_pointer_with_defaults)
35
43
  Data_Object<Foo> wrapped_foo(foo);
36
44
  ASSERT_EQUAL(foo, wrapped_foo.get());
37
45
  ASSERT_EQUAL(Data_Type<Foo>::klass(), wrapped_foo.class_of());
38
- ASSERT_EQUAL(RUBY_DATA_FUNC(0), RDATA(wrapped_foo.value())->dmark);
46
+ typedef void (*Mark_Func)(void *);
47
+ typedef void (*Mark_Func_Foo)(Foo *);
48
+ Mark_Func expected_mark_func =
49
+ Mark_Func(Mark_Func_Foo(ruby_mark<Foo>));
50
+ ASSERT_EQUAL(
51
+ expected_mark_func,
52
+ RDATA(wrapped_foo.value())->dmark);
39
53
  ASSERT_EQUAL(
40
54
  RUBY_DATA_FUNC(Default_Allocation_Strategy<Foo>::free),
41
55
  RUBY_DATA_FUNC(RDATA(wrapped_foo.value())->dfree));
@@ -49,7 +63,13 @@ TESTCASE(construct_from_pointer_and_klass)
49
63
  Data_Object<Foo> wrapped_foo(foo, Data_Type<Foo>::klass());
50
64
  ASSERT_EQUAL(foo, wrapped_foo.get());
51
65
  ASSERT_EQUAL(Data_Type<Foo>::klass(), wrapped_foo.class_of());
52
- ASSERT_EQUAL(RUBY_DATA_FUNC(0), RDATA(wrapped_foo.value())->dmark);
66
+ typedef void (*Mark_Func)(void *);
67
+ typedef void (*Mark_Func_Foo)(Foo *);
68
+ Mark_Func expected_mark_func =
69
+ Mark_Func(Mark_Func_Foo(ruby_mark<Foo>));
70
+ ASSERT_EQUAL(
71
+ expected_mark_func,
72
+ RDATA(wrapped_foo.value())->dmark);
53
73
  ASSERT_EQUAL(
54
74
  RUBY_DATA_FUNC(Default_Allocation_Strategy<Foo>::free),
55
75
  RUBY_DATA_FUNC(RDATA(wrapped_foo.value())->dfree));
@@ -63,7 +83,13 @@ TESTCASE(construct_from_pointer_and_alternate_klass)
63
83
  Data_Object<Foo> wrapped_foo(foo, rb_cObject);
64
84
  ASSERT_EQUAL(foo, wrapped_foo.get());
65
85
  ASSERT_EQUAL(rb_cObject, CLASS_OF(wrapped_foo.value()));
66
- ASSERT_EQUAL(RUBY_DATA_FUNC(0), RDATA(wrapped_foo.value())->dmark);
86
+ typedef void (*Mark_Func)(void *);
87
+ typedef void (*Mark_Func_Foo)(Foo *);
88
+ Mark_Func expected_mark_func =
89
+ Mark_Func(Mark_Func_Foo(ruby_mark<Foo>));
90
+ ASSERT_EQUAL(
91
+ expected_mark_func,
92
+ RDATA(wrapped_foo.value())->dmark);
67
93
  ASSERT_EQUAL(
68
94
  RUBY_DATA_FUNC(Default_Allocation_Strategy<Foo>::free),
69
95
  RUBY_DATA_FUNC(RDATA(wrapped_foo.value())->dfree));
@@ -233,3 +259,17 @@ TESTCASE(from_ruby_copy)
233
259
  Data_Object<Foo> wrapped_foo(foo);
234
260
  ASSERT_EQUAL(foo->x_, from_ruby<Foo>(wrapped_foo).x_);
235
261
  }
262
+
263
+ TESTCASE(ruby_mark)
264
+ {
265
+ Data_Type<Foo> rb_cFoo;
266
+ Foo * foo = new Foo;
267
+ Data_Object<Foo> wrapped_foo(foo);
268
+
269
+ test_ruby_mark__marked = false;
270
+
271
+ rb_gc_start();
272
+
273
+ ASSERT_EQUAL(true, test_ruby_mark__marked);
274
+ }
275
+
data/test/test_Hash.cpp CHANGED
@@ -17,7 +17,7 @@ TESTCASE(default_construct)
17
17
  {
18
18
  Hash h;
19
19
  ASSERT_EQUAL(T_HASH, rb_type(h));
20
- ASSERT_EQUAL(0, RHASH(h.value())->tbl->num_entries);
20
+ ASSERT_EQUAL(0, RHASH_TBL(h.value())->num_entries);
21
21
  }
22
22
 
23
23
  TESTCASE(construct_from_object)
@@ -25,7 +25,7 @@ TESTCASE(construct_from_object)
25
25
  Object o(rb_hash_new());
26
26
  Hash h(o);
27
27
  ASSERT_EQUAL(T_HASH, rb_type(h));
28
- ASSERT_EQUAL(0, RHASH(h.value())->tbl->num_entries);
28
+ ASSERT_EQUAL(0, RHASH_TBL(h.value())->num_entries);
29
29
  }
30
30
 
31
31
  TESTCASE(construct_from_value)
@@ -33,7 +33,7 @@ TESTCASE(construct_from_value)
33
33
  VALUE v(rb_hash_new());
34
34
  Hash h(v);
35
35
  ASSERT_EQUAL(T_HASH, rb_type(h));
36
- ASSERT_EQUAL(0, RHASH(h.value())->tbl->num_entries);
36
+ ASSERT_EQUAL(0, RHASH_TBL(h.value())->num_entries);
37
37
  }
38
38
 
39
39
  TESTCASE(copy_construct)
data/test/test_String.cpp CHANGED
@@ -14,14 +14,14 @@ TESTCASE(default_construct)
14
14
  {
15
15
  String s;
16
16
  ASSERT_EQUAL(T_STRING, rb_type(s));
17
- ASSERT_EQUAL("", RSTRING(s.value())->ptr);
17
+ ASSERT_EQUAL("", RSTRING_PTR(s.value()));
18
18
  }
19
19
 
20
20
  TESTCASE(construct_from_value)
21
21
  {
22
22
  String s(rb_str_new2("foo"));
23
23
  ASSERT_EQUAL(T_STRING, rb_type(s));
24
- ASSERT_EQUAL("foo", RSTRING(s.value())->ptr);
24
+ ASSERT_EQUAL("foo", RSTRING_PTR(s.value()));
25
25
  }
26
26
 
27
27
  TESTCASE(construct_from_object)
@@ -29,35 +29,35 @@ TESTCASE(construct_from_object)
29
29
  Object o(rb_str_new2("foo"));
30
30
  String s(o);
31
31
  ASSERT_EQUAL(T_STRING, rb_type(s));
32
- ASSERT_EQUAL("foo", RSTRING(s.value())->ptr);
32
+ ASSERT_EQUAL("foo", RSTRING_PTR(s.value()));
33
33
  }
34
34
 
35
35
  TESTCASE(construct_from_identifier)
36
36
  {
37
37
  String s(Identifier("foo"));
38
38
  ASSERT_EQUAL(T_STRING, rb_type(s));
39
- ASSERT_EQUAL("foo", RSTRING(s.value())->ptr);
39
+ ASSERT_EQUAL("foo", RSTRING_PTR(s.value()));
40
40
  }
41
41
 
42
42
  TESTCASE(construct_from_c_string)
43
43
  {
44
44
  String s("foo");
45
45
  ASSERT_EQUAL(T_STRING, rb_type(s));
46
- ASSERT_EQUAL("foo", RSTRING(s.value())->ptr);
46
+ ASSERT_EQUAL("foo", RSTRING_PTR(s.value()));
47
47
  }
48
48
 
49
49
  TESTCASE(construct_from_std_string)
50
50
  {
51
51
  String s(std::string("foo"));
52
52
  ASSERT_EQUAL(T_STRING, rb_type(s));
53
- ASSERT_EQUAL("foo", RSTRING(s.value())->ptr);
53
+ ASSERT_EQUAL("foo", RSTRING_PTR(s.value()));
54
54
  }
55
55
 
56
56
  TESTCASE(format)
57
57
  {
58
58
  String s(String::format("%s %d", "foo", 42));
59
59
  ASSERT_EQUAL(T_STRING, rb_type(s));
60
- ASSERT_EQUAL("foo 42", RSTRING(s.value())->ptr);
60
+ ASSERT_EQUAL("foo 42", RSTRING_PTR(s.value()));
61
61
  }
62
62
 
63
63
  TESTCASE(length)
@@ -77,7 +77,7 @@ TESTCASE(bracket)
77
77
  TESTCASE(c_str)
78
78
  {
79
79
  String s("foo");
80
- ASSERT_EQUAL(RSTRING(s.value())->ptr, s.c_str());
80
+ ASSERT_EQUAL(RSTRING_PTR(s.value()), s.c_str());
81
81
  }
82
82
 
83
83
  TESTCASE(str)
data/test/test_VM.cpp CHANGED
@@ -11,7 +11,7 @@ TESTSUITE(VM);
11
11
 
12
12
  SETUP(VM)
13
13
  {
14
- std::vector<char *> args;
14
+ std::vector<const char *> args;
15
15
  args.push_back("test_VM");
16
16
  args.push_back("-e");
17
17
  args.push_back("puts \"HELLO\"");
@@ -0,0 +1,45 @@
1
+ #include "unittest.hpp"
2
+ #include "rice/global_function.hpp"
3
+
4
+ using namespace Rice;
5
+
6
+ TESTSUITE(GlobalFunction);
7
+
8
+ SETUP(GlobalFunction)
9
+ {
10
+ ruby_init();
11
+ }
12
+
13
+ namespace {
14
+
15
+ bool method_to_wrap_called = false;
16
+ void method_to_wrap(Object self) {
17
+ method_to_wrap_called = true;
18
+ }
19
+
20
+ int method_with_args_arg0;
21
+
22
+ void method_with_args(Object self, int arg) {
23
+ method_with_args_arg0 = arg;
24
+ }
25
+
26
+ }
27
+
28
+ TESTCASE(exposes_global_functions)
29
+ {
30
+ define_global_function("method_to_wrap", &method_to_wrap);
31
+ Module m = Module(rb_mKernel);
32
+ m.call("method_to_wrap");
33
+
34
+ ASSERT(method_to_wrap_called);
35
+ }
36
+
37
+ TESTCASE(exposes_global_functions_with_arguments)
38
+ {
39
+ define_global_function("method_with_args", &method_with_args);
40
+ Module m = Module(rb_mKernel);
41
+ m.call("method_with_args", 10);
42
+
43
+ ASSERT_EQUAL(10, method_with_args_arg0);
44
+ }
45
+
data/test/test_rice.rb CHANGED
@@ -6,6 +6,7 @@ class RiceTest < Test::Unit::TestCase
6
6
  VERBOSE = ARGV.include?('-v')
7
7
 
8
8
  EXEEXT = Config::CONFIG['EXEEXT']
9
+ RUBY = Config::CONFIG['RUBY_INSTALL_NAME']
9
10
 
10
11
  def test_unittest
11
12
  run_external_test("./unittest#{EXEEXT}")
@@ -15,6 +16,10 @@ class RiceTest < Test::Unit::TestCase
15
16
  run_external_test("./vm_unittest#{EXEEXT}")
16
17
  end
17
18
 
19
+ def test_vm_unittest
20
+ run_external_test("#{RUBY} test_multiple_extensions.rb")
21
+ end
22
+
18
23
  def run_external_test(executable)
19
24
  if VERBOSE then
20
25
  system(executable)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Brannan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-07-22 00:00:00 -04:00
12
+ date: 2009-04-27 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -18,7 +18,7 @@ email: curlypaul924@gmail.com
18
18
  executables: []
19
19
 
20
20
  extensions:
21
- - configure
21
+ - extconf.rb
22
22
  extra_rdoc_files:
23
23
  - README
24
24
  files:
@@ -28,6 +28,7 @@ files:
28
28
  - Doxyfile
29
29
  - doxygen.ac
30
30
  - doxygen.am
31
+ - extconf.rb
31
32
  - bootstrap
32
33
  - configure.ac
33
34
  - configure
@@ -53,112 +54,127 @@ files:
53
54
  - sample/Makefile.in
54
55
  - test/Makefile.am
55
56
  - test/Makefile.in
56
- - rice/Module.cpp
57
+ - rice/Exception_Base.hpp
58
+ - rice/Constructor.hpp
59
+ - rice/Object_defn.hpp
60
+ - rice/VM.cpp
61
+ - rice/VM.hpp
57
62
  - rice/Module.hpp
58
- - rice/Module.ipp
59
- - rice/Symbol.cpp
60
- - rice/Symbol.hpp
61
- - rice/Symbol.ipp
62
- - rice/to_from_ruby.hpp
63
- - rice/to_from_ruby.ipp
63
+ - rice/Critical_Guard.ipp
64
+ - rice/Identifier.ipp
65
+ - rice/Exception_defn.hpp
66
+ - rice/Data_Type_fwd.hpp
67
+ - rice/config.hpp
64
68
  - rice/Builtin_Object.hpp
65
- - rice/Builtin_Object.ipp
66
- - rice/Data_Object.hpp
67
- - rice/Data_Object.ipp
69
+ - rice/Exception_Base.ipp
70
+ - rice/Symbol.cpp
71
+ - rice/Class.cpp
68
72
  - rice/Array.hpp
69
- - rice/Array.ipp
70
- - rice/Hash.hpp
73
+ - rice/Module_defn.hpp
71
74
  - rice/Hash.ipp
72
- - rice/Data_Type_fwd.hpp
73
- - rice/global_function.hpp
74
- - rice/global_function.ipp
75
- - rice/VM.cpp
76
- - rice/VM.hpp
77
- - rice/Jump_Tag.hpp
78
- - rice/String.cpp
79
- - rice/String.hpp
80
- - rice/Object.cpp
75
+ - rice/Exception.hpp
76
+ - rice/Struct.ipp
77
+ - rice/protect.hpp
78
+ - rice/Data_Object.hpp
79
+ - rice/Class.ipp
80
+ - rice/Module.cpp
81
+ - rice/Hash.hpp
82
+ - rice/Symbol.ipp
83
+ - rice/Class_defn.hpp
81
84
  - rice/Object.hpp
82
- - rice/Object.ipp
83
- - rice/Enum.hpp
85
+ - rice/Allocation_Strategies.hpp
84
86
  - rice/Enum.ipp
85
- - rice/protect.hpp
87
+ - rice/Object.cpp
88
+ - rice/Address_Registration_Guard_defn.hpp
89
+ - rice/Builtin_Object.ipp
90
+ - rice/String.hpp
86
91
  - rice/protect.ipp
87
- - rice/Class.cpp
88
- - rice/Class.hpp
89
- - rice/Class.ipp
90
- - rice/ruby_try_catch.hpp
91
- - rice/to_from_ruby_defn.hpp
92
- - rice/config.hpp
93
- - rice/Exception.cpp
94
- - rice/Exception.hpp
95
- - rice/Module_defn.hpp
96
- - rice/Address_Registration_Guard.hpp
97
- - rice/Address_Registration_Guard.ipp
98
- - rice/Data_Type_defn.hpp
99
- - rice/Object_defn.hpp
100
- - rice/Constructor.hpp
92
+ - rice/Exception_Base_defn.hpp
93
+ - rice/Array.ipp
101
94
  - rice/Require_Guard.hpp
95
+ - rice/Module_impl.ipp
96
+ - rice/Identifier.cpp
97
+ - rice/Data_Object.ipp
98
+ - rice/Exception.cpp
99
+ - rice/Data_Type.ipp
100
+ - rice/Symbol.hpp
102
101
  - rice/Builtin_Object_defn.hpp
102
+ - rice/Struct.cpp
103
103
  - rice/Data_Type.cpp
104
+ - rice/ruby_try_catch.hpp
104
105
  - rice/Data_Type.hpp
105
- - rice/Data_Type.ipp
106
- - rice/Module_impl.hpp
107
- - rice/Module_impl.ipp
108
- - rice/Address_Registration_Guard_defn.hpp
109
- - rice/Class_defn.hpp
106
+ - rice/String.cpp
107
+ - rice/Object.ipp
108
+ - rice/Data_Type_defn.hpp
110
109
  - rice/Critical_Guard.hpp
111
- - rice/Critical_Guard.ipp
112
- - rice/Struct.cpp
110
+ - rice/Jump_Tag.hpp
111
+ - rice/to_from_ruby.ipp
112
+ - rice/to_from_ruby.hpp
113
+ - rice/Module_impl.hpp
113
114
  - rice/Struct.hpp
114
- - rice/Struct.ipp
115
- - rice/Exception_Base.hpp
116
- - rice/Exception_Base.ipp
117
- - rice/Allocation_Strategies.hpp
118
- - rice/Identifier.cpp
119
115
  - rice/Identifier.hpp
120
- - rice/Identifier.ipp
116
+ - rice/global_function.hpp
117
+ - rice/ruby_mark.hpp
118
+ - rice/Data_Object_defn.hpp
119
+ - rice/Address_Registration_Guard.hpp
120
+ - rice/Class.hpp
121
+ - rice/global_function.ipp
122
+ - rice/to_from_ruby_defn.hpp
123
+ - rice/Address_Registration_Guard.ipp
124
+ - rice/Enum.hpp
125
+ - rice/Module.ipp
121
126
  - rice/generate_code.rb
127
+ - rice/rubypp.rb
122
128
  - rice/config.hpp.in
123
- - rice/detail/Not_Copyable.hpp
124
- - rice/detail/wrap_function.hpp
129
+ - rice/detail/creation_funcs.hpp
125
130
  - rice/detail/wrap_function.ipp
126
- - rice/detail/object_call.hpp
127
- - rice/detail/object_call.ipp
128
131
  - rice/detail/check_ruby_type.cpp
132
+ - rice/detail/demangle.cpp
129
133
  - rice/detail/check_ruby_type.hpp
130
- - rice/detail/creation_funcs.hpp
131
- - rice/detail/creation_funcs.ipp
132
- - rice/detail/from_ruby.hpp
133
- - rice/detail/from_ruby.ipp
134
- - rice/detail/method_data.cpp
135
- - rice/detail/method_data.hpp
136
- - rice/detail/default_allocation_func.hpp
137
- - rice/detail/default_allocation_func.ipp
138
- - rice/detail/rubysig.hpp
139
- - rice/detail/ruby.hpp
134
+ - rice/detail/Auto_Member_Function_Wrapper.ipp
135
+ - rice/detail/mininode.cpp
136
+ - rice/detail/Auto_Member_Function_Wrapper.hpp
140
137
  - rice/detail/protect.cpp
138
+ - rice/detail/node.hpp
139
+ - rice/detail/Wrapped_Function.hpp
141
140
  - rice/detail/protect.hpp
142
- - rice/detail/env.hpp
141
+ - rice/detail/mininode.cpp.rpp
142
+ - rice/detail/demangle.hpp
143
+ - rice/detail/define_method_and_auto_wrap.hpp
144
+ - rice/detail/default_allocation_func.ipp
145
+ - rice/detail/wrap_function.hpp
146
+ - rice/detail/Caster.hpp
147
+ - rice/detail/object_call.hpp
148
+ - rice/detail/from_ruby.ipp
149
+ - rice/detail/ruby.hpp
150
+ - rice/detail/st.hpp
151
+ - rice/detail/from_ruby.hpp
143
152
  - rice/detail/win32.hpp
153
+ - rice/detail/mininode.hpp.rpp
154
+ - rice/detail/creation_funcs.ipp
144
155
  - rice/detail/to_ruby.hpp
145
- - rice/detail/to_ruby.ipp
146
- - rice/detail/Caster.hpp
147
- - rice/detail/Iterator_Definer.hpp
148
156
  - rice/detail/remove_const.hpp
149
- - rice/detail/Exception_Handler.hpp
150
- - rice/detail/Auto_Member_Function_Wrapper.hpp
151
- - rice/detail/Auto_Member_Function_Wrapper.ipp
152
- - rice/detail/st.hpp
153
- - rice/detail/Wrapped_Function.hpp
154
- - rice/detail/demangle.cpp
155
- - rice/detail/demangle.hpp
156
157
  - rice/detail/Auto_Function_Wrapper.hpp
157
- - rice/detail/Auto_Function_Wrapper.ipp
158
- - rice/detail/node.hpp
159
- - rice/detail/define_method_and_auto_wrap.hpp
158
+ - rice/detail/env.hpp
159
+ - rice/detail/method_data.cpp.rpp
160
+ - rice/detail/to_ruby.ipp
161
+ - rice/detail/method_data.hpp
162
+ - rice/detail/Exception_Handler.hpp
163
+ - rice/detail/object_call.ipp
164
+ - rice/detail/mininode.hpp
165
+ - rice/detail/rubysig.hpp
166
+ - rice/detail/ruby_version_code.hpp
167
+ - rice/detail/method_data.cpp
168
+ - rice/detail/Iterator.hpp
169
+ - rice/detail/Not_Copyable.hpp
170
+ - rice/detail/Exception_Handler_defn.hpp
160
171
  - rice/detail/define_method_and_auto_wrap.ipp
172
+ - rice/detail/Auto_Function_Wrapper.ipp
173
+ - rice/detail/Exception_Handler.ipp
174
+ - rice/detail/default_allocation_func.hpp
175
+ - rice/detail/ruby_version_code.hpp.in
161
176
  - ruby/lib/mkmf-rice.rb.in
177
+ - ruby/lib/version.rb
162
178
  - sample/enum/extconf.rb
163
179
  - sample/enum/sample_enum.cpp
164
180
  - sample/enum/test.rb
@@ -168,27 +184,28 @@ files:
168
184
  - sample/inheritance/extconf.rb
169
185
  - sample/inheritance/animals.cpp
170
186
  - sample/inheritance/test.rb
187
+ - test/test_Exception.cpp
188
+ - test/test_To_From_Ruby.cpp
189
+ - test/test_String.cpp
190
+ - test/test_Data_Object.cpp
191
+ - test/test_Critical_Guard.cpp
192
+ - test/test_VM.cpp
171
193
  - test/test_Array.cpp
194
+ - test/test_global_functions.cpp
195
+ - test/test_Struct.cpp
196
+ - test/test_Builtin_Object.cpp
172
197
  - test/test_Module.cpp
173
- - test/test_Symbol.cpp
198
+ - test/test_Allocation_Strategies.cpp
174
199
  - test/test_Identifier.cpp
175
- - test/test_Hash.cpp
176
- - test/test_Data_Object.cpp
177
- - test/unittest.cpp
178
200
  - test/unittest.hpp
179
- - test/test_VM.cpp
180
- - test/test_Allocation_Strategies.cpp
181
- - test/test_Class.cpp
182
- - test/test_Critical_Guard.cpp
183
- - test/test_Enum.cpp
184
- - test/test_String.cpp
185
- - test/test_Object.cpp
186
- - test/test_Builtin_Object.cpp
187
201
  - test/test_Constructor.cpp
188
202
  - test/test_Jump_Tag.cpp
189
- - test/test_To_From_Ruby.cpp
190
- - test/test_Exception.cpp
191
- - test/test_Struct.cpp
203
+ - test/test_Class.cpp
204
+ - test/test_Object.cpp
205
+ - test/test_Hash.cpp
206
+ - test/test_Symbol.cpp
207
+ - test/unittest.cpp
208
+ - test/test_Enum.cpp
192
209
  - test/test_Address_Registration_Guard.cpp
193
210
  has_rdoc: false
194
211
  homepage: http://rice.rubyforge.org/
@@ -212,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
229
  requirements: []
213
230
 
214
231
  rubyforge_project: rice
215
- rubygems_version: 1.2.0
232
+ rubygems_version: 1.3.1
216
233
  signing_key:
217
234
  specification_version: 2
218
235
  summary: Ruby Interface for C++ Extensions