rice 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +2 -2
- data/Doxyfile +1 -1
- data/Makefile.in +8 -3
- data/Rakefile +3 -3
- data/config.guess +30 -49
- data/config.sub +4 -22
- data/configure +319 -104
- data/configure.ac +6 -2
- data/doxygen.ac +2 -2
- data/extconf.rb +22 -0
- data/post-autoconf.rb +3 -3
- data/post-automake.rb +2 -2
- data/rice/Array.ipp +7 -6
- data/rice/Critical_Guard.hpp +6 -0
- data/rice/Critical_Guard.ipp +6 -0
- data/rice/Data_Object.hpp +1 -120
- data/rice/Data_Object.ipp +5 -1
- data/rice/Data_Object_defn.hpp +132 -0
- data/rice/Data_Type.ipp +18 -2
- data/rice/Enum.ipp +3 -3
- data/rice/Exception.hpp +1 -61
- data/rice/Exception_Base.hpp +2 -24
- data/rice/Exception_Base.ipp +2 -0
- data/rice/Exception_Base_defn.hpp +27 -0
- data/rice/Exception_defn.hpp +69 -0
- data/rice/Hash.hpp +5 -1
- data/rice/Hash.ipp +7 -7
- data/rice/Makefile.am +20 -3
- data/rice/Makefile.in +39 -4
- data/rice/Module.cpp +11 -3
- data/rice/Module_impl.hpp +20 -9
- data/rice/Module_impl.ipp +84 -87
- data/rice/Object.cpp +1 -1
- data/rice/VM.cpp +14 -1
- data/rice/VM.hpp +6 -1
- data/rice/config.hpp +24 -3
- data/rice/config.hpp.in +21 -0
- data/rice/detail/Auto_Function_Wrapper.hpp +97 -65
- data/rice/detail/Auto_Function_Wrapper.ipp +160 -128
- data/rice/detail/Auto_Member_Function_Wrapper.hpp +96 -64
- data/rice/detail/Auto_Member_Function_Wrapper.ipp +160 -128
- data/rice/detail/Exception_Handler.hpp +2 -112
- data/rice/detail/Exception_Handler.ipp +68 -0
- data/rice/detail/Exception_Handler_defn.hpp +96 -0
- data/rice/detail/Iterator.hpp +93 -0
- data/rice/detail/check_ruby_type.cpp +8 -2
- data/rice/detail/creation_funcs.ipp +2 -2
- data/rice/detail/define_method_and_auto_wrap.hpp +4 -2
- data/rice/detail/define_method_and_auto_wrap.ipp +14 -5
- data/rice/detail/env.hpp +4 -0
- data/rice/detail/method_data.cpp +362 -75
- data/rice/detail/method_data.cpp.rpp +301 -0
- data/rice/detail/method_data.hpp +6 -18
- data/rice/detail/mininode.cpp +1220 -0
- data/rice/detail/mininode.cpp.rpp +62 -0
- data/rice/detail/mininode.hpp +320 -0
- data/rice/detail/mininode.hpp.rpp +119 -0
- data/rice/detail/protect.cpp +4 -2
- data/rice/detail/ruby.hpp +44 -18
- data/rice/detail/ruby_version_code.hpp +6 -0
- data/rice/detail/ruby_version_code.hpp.in +6 -0
- data/rice/detail/rubysig.hpp +6 -0
- data/rice/detail/st.hpp +6 -2
- data/rice/detail/wrap_function.hpp +50 -48
- data/rice/detail/wrap_function.ipp +48 -48
- data/rice/generate_code.rb +43 -293
- data/rice/global_function.hpp +10 -4
- data/rice/global_function.ipp +1 -2
- data/rice/ruby_mark.hpp +13 -0
- data/rice/ruby_try_catch.hpp +1 -1
- data/rice/rubypp.rb +97 -0
- data/rice/to_from_ruby.ipp +3 -3
- data/ruby.ac +44 -8
- data/ruby/Makefile.in +2 -0
- data/ruby/lib/Makefile.in +2 -0
- data/ruby/lib/mkmf-rice.rb.in +4 -1
- data/ruby/lib/version.rb +3 -0
- data/sample/Makefile.am +2 -2
- data/sample/Makefile.in +4 -2
- data/test/Makefile.am +2 -1
- data/test/Makefile.in +7 -2
- data/test/test_Array.cpp +2 -2
- data/test/test_Class.cpp +4 -1
- data/test/test_Critical_Guard.cpp +4 -0
- data/test/test_Data_Object.cpp +43 -3
- data/test/test_Hash.cpp +3 -3
- data/test/test_String.cpp +8 -8
- data/test/test_VM.cpp +1 -1
- data/test/test_global_functions.cpp +45 -0
- data/test/test_rice.rb +5 -0
- metadata +115 -98
- data/rice/detail/Iterator_Definer.hpp +0 -98
data/test/test_Data_Object.cpp
CHANGED
@@ -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
|
-
|
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
|
-
|
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
|
-
|
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,
|
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,
|
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,
|
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("",
|
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",
|
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",
|
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",
|
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",
|
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",
|
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",
|
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(
|
80
|
+
ASSERT_EQUAL(RSTRING_PTR(s.value()), s.c_str());
|
81
81
|
}
|
82
82
|
|
83
83
|
TESTCASE(str)
|
data/test/test_VM.cpp
CHANGED
@@ -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
|
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:
|
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
|
-
-
|
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/
|
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/
|
59
|
-
- rice/
|
60
|
-
- rice/
|
61
|
-
- rice/
|
62
|
-
- rice/
|
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/
|
66
|
-
- rice/
|
67
|
-
- rice/
|
69
|
+
- rice/Exception_Base.ipp
|
70
|
+
- rice/Symbol.cpp
|
71
|
+
- rice/Class.cpp
|
68
72
|
- rice/Array.hpp
|
69
|
-
- rice/
|
70
|
-
- rice/Hash.hpp
|
73
|
+
- rice/Module_defn.hpp
|
71
74
|
- rice/Hash.ipp
|
72
|
-
- rice/
|
73
|
-
- rice/
|
74
|
-
- rice/
|
75
|
-
- rice/
|
76
|
-
- rice/
|
77
|
-
- rice/
|
78
|
-
- rice/
|
79
|
-
- rice/
|
80
|
-
- rice/
|
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/
|
83
|
-
- rice/Enum.hpp
|
85
|
+
- rice/Allocation_Strategies.hpp
|
84
86
|
- rice/Enum.ipp
|
85
|
-
- rice/
|
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/
|
88
|
-
- rice/
|
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/
|
106
|
-
- rice/
|
107
|
-
- rice/
|
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/
|
112
|
-
- rice/
|
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/
|
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/
|
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/
|
131
|
-
- rice/detail/
|
132
|
-
- rice/detail/
|
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/
|
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/
|
158
|
-
- rice/detail/
|
159
|
-
- rice/detail/
|
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/
|
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/
|
190
|
-
- test/
|
191
|
-
- test/
|
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.
|
232
|
+
rubygems_version: 1.3.1
|
216
233
|
signing_key:
|
217
234
|
specification_version: 2
|
218
235
|
summary: Ruby Interface for C++ Extensions
|