rice 1.0.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.
- data/COPYING +23 -0
- data/Doxyfile +1253 -0
- data/Makefile.am +26 -0
- data/Makefile.in +736 -0
- data/README +881 -0
- data/README.mingw +8 -0
- data/bootstrap +8 -0
- data/config.guess +1535 -0
- data/config.sub +1644 -0
- data/configure +7310 -0
- data/configure.ac +48 -0
- data/depcomp +584 -0
- data/doxygen.ac +314 -0
- data/doxygen.am +186 -0
- data/install-sh +507 -0
- data/missing +367 -0
- data/post-autoconf.rb +22 -0
- data/post-automake.rb +28 -0
- data/rice/Address_Registration_Guard.hpp +7 -0
- data/rice/Address_Registration_Guard.ipp +34 -0
- data/rice/Address_Registration_Guard_defn.hpp +65 -0
- data/rice/Allocation_Strategies.hpp +37 -0
- data/rice/Array.hpp +220 -0
- data/rice/Array.ipp +262 -0
- data/rice/Builtin_Object.hpp +8 -0
- data/rice/Builtin_Object.ipp +50 -0
- data/rice/Builtin_Object_defn.hpp +51 -0
- data/rice/Class.cpp +57 -0
- data/rice/Class.hpp +8 -0
- data/rice/Class.ipp +4 -0
- data/rice/Class_defn.hpp +83 -0
- data/rice/Constructor.hpp +189 -0
- data/rice/Critical_Guard.hpp +34 -0
- data/rice/Critical_Guard.ipp +20 -0
- data/rice/Data_Object.hpp +127 -0
- data/rice/Data_Object.ipp +129 -0
- data/rice/Data_Type.cpp +21 -0
- data/rice/Data_Type.hpp +8 -0
- data/rice/Data_Type.ipp +227 -0
- data/rice/Data_Type_defn.hpp +219 -0
- data/rice/Data_Type_fwd.hpp +12 -0
- data/rice/Enum.hpp +118 -0
- data/rice/Enum.ipp +246 -0
- data/rice/Exception.cpp +59 -0
- data/rice/Exception.hpp +69 -0
- data/rice/Exception_Base.hpp +30 -0
- data/rice/Exception_Base.ipp +11 -0
- data/rice/Hash.hpp +206 -0
- data/rice/Hash.ipp +336 -0
- data/rice/Identifier.cpp +8 -0
- data/rice/Identifier.hpp +50 -0
- data/rice/Identifier.ipp +33 -0
- data/rice/Jump_Tag.hpp +24 -0
- data/rice/Makefile.am +112 -0
- data/rice/Makefile.in +675 -0
- data/rice/Module.cpp +75 -0
- data/rice/Module.hpp +8 -0
- data/rice/Module.ipp +6 -0
- data/rice/Module_defn.hpp +87 -0
- data/rice/Module_impl.hpp +237 -0
- data/rice/Module_impl.ipp +302 -0
- data/rice/Object.cpp +153 -0
- data/rice/Object.hpp +8 -0
- data/rice/Object.ipp +19 -0
- data/rice/Object_defn.hpp +183 -0
- data/rice/Require_Guard.hpp +21 -0
- data/rice/String.cpp +93 -0
- data/rice/String.hpp +88 -0
- data/rice/Struct.cpp +117 -0
- data/rice/Struct.hpp +162 -0
- data/rice/Struct.ipp +26 -0
- data/rice/Symbol.cpp +25 -0
- data/rice/Symbol.hpp +66 -0
- data/rice/Symbol.ipp +44 -0
- data/rice/VM.cpp +79 -0
- data/rice/VM.hpp +27 -0
- data/rice/config.hpp +23 -0
- data/rice/config.hpp.in +22 -0
- data/rice/detail/Auto_Function_Wrapper.hpp +719 -0
- data/rice/detail/Auto_Function_Wrapper.ipp +1354 -0
- data/rice/detail/Auto_Member_Function_Wrapper.hpp +685 -0
- data/rice/detail/Auto_Member_Function_Wrapper.ipp +1435 -0
- data/rice/detail/Caster.hpp +61 -0
- data/rice/detail/Exception_Handler.hpp +118 -0
- data/rice/detail/Iterator_Definer.hpp +98 -0
- data/rice/detail/Not_Copyable.hpp +25 -0
- data/rice/detail/Wrapped_Function.hpp +33 -0
- data/rice/detail/check_ruby_type.cpp +21 -0
- data/rice/detail/check_ruby_type.hpp +23 -0
- data/rice/detail/creation_funcs.hpp +45 -0
- data/rice/detail/creation_funcs.ipp +62 -0
- data/rice/detail/default_allocation_func.hpp +23 -0
- data/rice/detail/default_allocation_func.ipp +11 -0
- data/rice/detail/define_method_and_auto_wrap.hpp +27 -0
- data/rice/detail/define_method_and_auto_wrap.ipp +20 -0
- data/rice/detail/env.hpp +13 -0
- data/rice/detail/from_ruby.hpp +43 -0
- data/rice/detail/from_ruby.ipp +74 -0
- data/rice/detail/method_data.cpp +105 -0
- data/rice/detail/method_data.hpp +33 -0
- data/rice/detail/node.hpp +13 -0
- data/rice/detail/object_call.hpp +85 -0
- data/rice/detail/object_call.ipp +147 -0
- data/rice/detail/protect.cpp +27 -0
- data/rice/detail/protect.hpp +34 -0
- data/rice/detail/remove_const.hpp +21 -0
- data/rice/detail/ruby.hpp +85 -0
- data/rice/detail/rubysig.hpp +13 -0
- data/rice/detail/st.hpp +56 -0
- data/rice/detail/to_ruby.hpp +16 -0
- data/rice/detail/to_ruby.ipp +10 -0
- data/rice/detail/win32.hpp +16 -0
- data/rice/detail/wrap_function.hpp +288 -0
- data/rice/detail/wrap_function.ipp +473 -0
- data/rice/generate_code.rb +1092 -0
- data/rice/global_function.hpp +16 -0
- data/rice/global_function.ipp +11 -0
- data/rice/protect.hpp +91 -0
- data/rice/protect.ipp +803 -0
- data/rice/ruby_try_catch.hpp +86 -0
- data/rice/to_from_ruby.hpp +8 -0
- data/rice/to_from_ruby.ipp +299 -0
- data/rice/to_from_ruby_defn.hpp +71 -0
- data/ruby.ac +105 -0
- data/ruby/Makefile.am +1 -0
- data/ruby/Makefile.in +493 -0
- data/ruby/lib/Makefile.am +3 -0
- data/ruby/lib/Makefile.in +369 -0
- data/ruby/lib/mkmf-rice.rb.in +199 -0
- data/sample/Makefile.am +47 -0
- data/sample/Makefile.in +375 -0
- data/sample/enum/extconf.rb +3 -0
- data/sample/enum/sample_enum.cpp +54 -0
- data/sample/enum/test.rb +8 -0
- data/sample/inheritance/animals.cpp +98 -0
- data/sample/inheritance/extconf.rb +3 -0
- data/sample/inheritance/test.rb +7 -0
- data/sample/map/extconf.rb +3 -0
- data/sample/map/map.cpp +81 -0
- data/sample/map/test.rb +7 -0
- data/test/Makefile.am +44 -0
- data/test/Makefile.in +575 -0
- data/test/test_Address_Registration_Guard.cpp +43 -0
- data/test/test_Allocation_Strategies.cpp +77 -0
- data/test/test_Array.cpp +241 -0
- data/test/test_Builtin_Object.cpp +72 -0
- data/test/test_Class.cpp +350 -0
- data/test/test_Constructor.cpp +30 -0
- data/test/test_Critical_Guard.cpp +47 -0
- data/test/test_Data_Object.cpp +235 -0
- data/test/test_Enum.cpp +162 -0
- data/test/test_Exception.cpp +46 -0
- data/test/test_Hash.cpp +195 -0
- data/test/test_Identifier.cpp +70 -0
- data/test/test_Jump_Tag.cpp +17 -0
- data/test/test_Module.cpp +253 -0
- data/test/test_Object.cpp +148 -0
- data/test/test_String.cpp +94 -0
- data/test/test_Struct.cpp +192 -0
- data/test/test_Symbol.cpp +63 -0
- data/test/test_To_From_Ruby.cpp +281 -0
- data/test/test_VM.cpp +26 -0
- data/test/test_rice.rb +30 -0
- data/test/unittest.cpp +136 -0
- data/test/unittest.hpp +292 -0
- metadata +209 -0
data/test/unittest.hpp
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
#ifndef unittest__hpp_
|
|
2
|
+
#define unittest__hpp_
|
|
3
|
+
|
|
4
|
+
/*! \file
|
|
5
|
+
* \brief A (very) simple unit test framework.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#if defined(_MSC_VER)
|
|
9
|
+
#define NOMINMAX
|
|
10
|
+
#else
|
|
11
|
+
using namespace std;
|
|
12
|
+
#endif
|
|
13
|
+
|
|
14
|
+
#include <vector>
|
|
15
|
+
#include <string>
|
|
16
|
+
#include <stdexcept>
|
|
17
|
+
#include <sstream>
|
|
18
|
+
#include <iostream>
|
|
19
|
+
|
|
20
|
+
class Failure
|
|
21
|
+
{
|
|
22
|
+
public:
|
|
23
|
+
Failure(
|
|
24
|
+
std::string const & test_suite_name,
|
|
25
|
+
std::string const & test_case_name,
|
|
26
|
+
std::string what)
|
|
27
|
+
: test_suite_name_(test_suite_name)
|
|
28
|
+
, test_case_name_(test_case_name)
|
|
29
|
+
, what_(what)
|
|
30
|
+
{
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
friend std::ostream & operator<<(std::ostream & out, Failure const & failure);
|
|
34
|
+
|
|
35
|
+
private:
|
|
36
|
+
std::string test_suite_name_;
|
|
37
|
+
std::string test_case_name_;
|
|
38
|
+
std::string what_;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
class Test_Result
|
|
42
|
+
{
|
|
43
|
+
public:
|
|
44
|
+
void add_failure(Failure const & failure)
|
|
45
|
+
{
|
|
46
|
+
failures_.push_back(failure);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
void add_error(Failure const & failure)
|
|
50
|
+
{
|
|
51
|
+
errors_.push_back(failure);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
std::vector<Failure> const & failures() const
|
|
55
|
+
{
|
|
56
|
+
return failures_;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
std::vector<Failure> const & errors() const
|
|
60
|
+
{
|
|
61
|
+
return errors_;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
private:
|
|
65
|
+
std::vector<Failure> failures_;
|
|
66
|
+
std::vector<Failure> errors_;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
class Test_Case
|
|
70
|
+
{
|
|
71
|
+
public:
|
|
72
|
+
typedef void (*Func)();
|
|
73
|
+
|
|
74
|
+
Test_Case(
|
|
75
|
+
std::string const & name,
|
|
76
|
+
Func f)
|
|
77
|
+
: name_(name)
|
|
78
|
+
, f_(f)
|
|
79
|
+
{
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
void run()
|
|
83
|
+
{
|
|
84
|
+
f_();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
std::string const & name() const { return name_; }
|
|
88
|
+
|
|
89
|
+
size_t size() const { return 1; }
|
|
90
|
+
|
|
91
|
+
private:
|
|
92
|
+
std::string name_;
|
|
93
|
+
Func f_;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
class Test_Suite
|
|
97
|
+
{
|
|
98
|
+
public:
|
|
99
|
+
Test_Suite(std::string const & name = "");
|
|
100
|
+
|
|
101
|
+
void add_test_case(Test_Case const & test_case)
|
|
102
|
+
{
|
|
103
|
+
test_cases_.push_back(test_case);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
void setup(void (*f)()) { setup_ = f; }
|
|
107
|
+
void teardown(void (*f)()) { teardown_ = f; }
|
|
108
|
+
|
|
109
|
+
void run(Test_Result & result);
|
|
110
|
+
|
|
111
|
+
std::string const & name() const { return name_; }
|
|
112
|
+
|
|
113
|
+
size_t size() const { return test_cases_.size(); }
|
|
114
|
+
|
|
115
|
+
private:
|
|
116
|
+
std::string name_;
|
|
117
|
+
|
|
118
|
+
typedef std::vector<Test_Case> Test_Cases;
|
|
119
|
+
Test_Cases test_cases_;
|
|
120
|
+
|
|
121
|
+
void (*setup_)();
|
|
122
|
+
void (*teardown_)();
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
Test_Suite & test_suite();
|
|
127
|
+
void new_test_suite(std::string const & name);
|
|
128
|
+
|
|
129
|
+
class Assertion_Failed
|
|
130
|
+
: public std::runtime_error
|
|
131
|
+
{
|
|
132
|
+
public:
|
|
133
|
+
Assertion_Failed(std::string const & what)
|
|
134
|
+
: std::runtime_error(what)
|
|
135
|
+
{
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
// TODO: not sure how to append __LINE__ correctly here
|
|
141
|
+
#define UNIQUE_SUITE_NAME(prefix, name) \
|
|
142
|
+
prefix ## __ ## name \
|
|
143
|
+
|
|
144
|
+
#define TESTSUITE(name) \
|
|
145
|
+
struct UNIQUE_SUITE_NAME(testsuite_append, name) \
|
|
146
|
+
{ \
|
|
147
|
+
UNIQUE_SUITE_NAME(testsuite_append, name)() \
|
|
148
|
+
{ \
|
|
149
|
+
new_test_suite(#name); \
|
|
150
|
+
} \
|
|
151
|
+
} UNIQUE_SUITE_NAME(testsuite_append__initializer, name)
|
|
152
|
+
|
|
153
|
+
#define TESTCASE(name) \
|
|
154
|
+
static void UNIQUE_SUITE_NAME(test, name)(); \
|
|
155
|
+
\
|
|
156
|
+
namespace \
|
|
157
|
+
{ \
|
|
158
|
+
struct UNIQUE_SUITE_NAME(test_append, name) \
|
|
159
|
+
{ \
|
|
160
|
+
UNIQUE_SUITE_NAME(test_append, name)() \
|
|
161
|
+
{ \
|
|
162
|
+
test_suite().add_test_case( \
|
|
163
|
+
Test_Case(#name, & UNIQUE_SUITE_NAME(test, name))); \
|
|
164
|
+
} \
|
|
165
|
+
} UNIQUE_SUITE_NAME(test_append__initializer, name); \
|
|
166
|
+
} \
|
|
167
|
+
\
|
|
168
|
+
static void UNIQUE_SUITE_NAME(test, name)()
|
|
169
|
+
|
|
170
|
+
#define TESTFIXTURE(name, type) \
|
|
171
|
+
static void UNIQUE_SUITE_NAME(fixture ## __ ## name, type)(); \
|
|
172
|
+
\
|
|
173
|
+
namespace \
|
|
174
|
+
{ \
|
|
175
|
+
struct UNIQUE_SUITE_NAME(fixture_append ## __ ## name, type) \
|
|
176
|
+
{ \
|
|
177
|
+
UNIQUE_SUITE_NAME(fixture_append ## __ ## name, type)() \
|
|
178
|
+
{ \
|
|
179
|
+
test_suite().type(UNIQUE_SUITE_NAME(fixture ## __ ## name, type)); \
|
|
180
|
+
} \
|
|
181
|
+
} UNIQUE_SUITE_NAME(fixture_append__initializer ## __ ## name, type); \
|
|
182
|
+
} \
|
|
183
|
+
\
|
|
184
|
+
static void UNIQUE_SUITE_NAME(fixture ## __ ## name, type)()
|
|
185
|
+
|
|
186
|
+
#define SETUP(name) TESTFIXTURE(name, setup)
|
|
187
|
+
|
|
188
|
+
#define TEARDOWN(name) TESTFIXTURE(name, teardown)
|
|
189
|
+
|
|
190
|
+
template<typename RHS_T, typename LHS_T>
|
|
191
|
+
inline bool is_equal(RHS_T const & rhs, LHS_T const & lhs)
|
|
192
|
+
{
|
|
193
|
+
return rhs == lhs;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
inline bool is_equal(char const * lhs, char const * rhs)
|
|
197
|
+
{
|
|
198
|
+
return std::string(lhs) == std::string(rhs);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
inline bool is_equal(char * lhs, char const * rhs)
|
|
202
|
+
{
|
|
203
|
+
return std::string(lhs) == std::string(rhs);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
inline bool is_equal(char const * lhs, char * rhs)
|
|
207
|
+
{
|
|
208
|
+
return std::string(lhs) == std::string(rhs);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
template<typename T, typename U>
|
|
212
|
+
inline bool is_not_equal(T const & t, U const & u)
|
|
213
|
+
{
|
|
214
|
+
return !is_equal(t, u);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
extern size_t assertions;
|
|
218
|
+
|
|
219
|
+
template<typename T, typename U>
|
|
220
|
+
void assert_equal(
|
|
221
|
+
T const & t,
|
|
222
|
+
U const & u,
|
|
223
|
+
std::string const & s_t,
|
|
224
|
+
std::string const & s_u,
|
|
225
|
+
std::string const & file,
|
|
226
|
+
size_t line)
|
|
227
|
+
{
|
|
228
|
+
if(!is_equal(t, u))
|
|
229
|
+
{
|
|
230
|
+
std::stringstream strm;
|
|
231
|
+
strm << "Assertion failed: "
|
|
232
|
+
<< s_t << " != " << s_u
|
|
233
|
+
<< " (" << t << " != " << u << ")"
|
|
234
|
+
<< " at " << file << ":" << line;
|
|
235
|
+
throw Assertion_Failed(strm.str());
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
template<typename T, typename U>
|
|
240
|
+
void assert_not_equal(
|
|
241
|
+
T const & t,
|
|
242
|
+
U const & u,
|
|
243
|
+
std::string const & s_t,
|
|
244
|
+
std::string const & s_u,
|
|
245
|
+
std::string const & file,
|
|
246
|
+
size_t line)
|
|
247
|
+
{
|
|
248
|
+
if(!is_not_equal(t, u))
|
|
249
|
+
{
|
|
250
|
+
std::stringstream strm;
|
|
251
|
+
strm << "Assertion failed: "
|
|
252
|
+
<< s_t << " should != " << s_u
|
|
253
|
+
<< " (" << t << " should != " << u << ")"
|
|
254
|
+
<< " at " << file << ":" << line;
|
|
255
|
+
throw Assertion_Failed(strm.str());
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
#define ASSERT_EQUAL(x, y) \
|
|
260
|
+
do \
|
|
261
|
+
{ \
|
|
262
|
+
++assertions; \
|
|
263
|
+
assert_equal((x), (y), #x, #y, __FILE__, __LINE__); \
|
|
264
|
+
} while(0)
|
|
265
|
+
|
|
266
|
+
#define ASSERT_NOT_EQUAL(x, y) \
|
|
267
|
+
do \
|
|
268
|
+
{ \
|
|
269
|
+
++assertions; \
|
|
270
|
+
assert_not_equal((x), (y), #x, #y, __FILE__, __LINE__); \
|
|
271
|
+
} while(0)
|
|
272
|
+
|
|
273
|
+
#define ASSERT(x) \
|
|
274
|
+
ASSERT_EQUAL(true, !!x);
|
|
275
|
+
|
|
276
|
+
#define ASSERT_EXCEPTION_CHECK(type, code, check_exception) \
|
|
277
|
+
try \
|
|
278
|
+
{ \
|
|
279
|
+
++assertions; \
|
|
280
|
+
code; \
|
|
281
|
+
ASSERT(!"Expected exception"); \
|
|
282
|
+
} \
|
|
283
|
+
catch(type const & ex) \
|
|
284
|
+
{ \
|
|
285
|
+
check_exception; \
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
#define ASSERT_EXCEPTION(type, code) \
|
|
289
|
+
ASSERT_EXCEPTION_CHECK(type, code, )
|
|
290
|
+
|
|
291
|
+
#endif
|
|
292
|
+
|
metadata
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
rubygems_version: 0.9.4
|
|
3
|
+
specification_version: 1
|
|
4
|
+
name: rice
|
|
5
|
+
version: !ruby/object:Gem::Version
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
date: 2008-02-06 00:00:00 -05:00
|
|
8
|
+
summary: Ruby Interface for C++ Extensions
|
|
9
|
+
require_paths:
|
|
10
|
+
- ruby/lib
|
|
11
|
+
email: curlypaul924@gmail.com
|
|
12
|
+
homepage: http://rice.rubyforge.org/
|
|
13
|
+
rubyforge_project: rice
|
|
14
|
+
description: Rice is a C++ interface to Ruby's C API. It provides a type-safe and exception-safe interface in order to make embedding Ruby and writing Ruby extensions with C++ easier. It is similar to Boost.Python in many ways, but also attempts to provide an object-oriented interface to all of the Ruby C API.
|
|
15
|
+
autorequire:
|
|
16
|
+
default_executable:
|
|
17
|
+
bindir: bin
|
|
18
|
+
has_rdoc: false
|
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - ">"
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 0.0.0
|
|
24
|
+
version:
|
|
25
|
+
platform: ruby
|
|
26
|
+
signing_key:
|
|
27
|
+
cert_chain:
|
|
28
|
+
post_install_message:
|
|
29
|
+
authors:
|
|
30
|
+
- Paul Brannan
|
|
31
|
+
files:
|
|
32
|
+
- COPYING
|
|
33
|
+
- README
|
|
34
|
+
- README.mingw
|
|
35
|
+
- Doxyfile
|
|
36
|
+
- doxygen.ac
|
|
37
|
+
- doxygen.am
|
|
38
|
+
- bootstrap
|
|
39
|
+
- configure.ac
|
|
40
|
+
- configure
|
|
41
|
+
- config.guess
|
|
42
|
+
- config.sub
|
|
43
|
+
- depcomp
|
|
44
|
+
- install-sh
|
|
45
|
+
- missing
|
|
46
|
+
- post-autoconf.rb
|
|
47
|
+
- post-automake.rb
|
|
48
|
+
- ruby.ac
|
|
49
|
+
- Makefile.am
|
|
50
|
+
- Makefile.in
|
|
51
|
+
- rice/Makefile.am
|
|
52
|
+
- rice/Makefile.in
|
|
53
|
+
- ruby/Makefile.am
|
|
54
|
+
- ruby/Makefile.in
|
|
55
|
+
- ruby/lib/Makefile.am
|
|
56
|
+
- ruby/lib/Makefile.in
|
|
57
|
+
- sample/Makefile.am
|
|
58
|
+
- sample/Makefile.in
|
|
59
|
+
- test/Makefile.am
|
|
60
|
+
- test/Makefile.in
|
|
61
|
+
- rice/Module.cpp
|
|
62
|
+
- rice/Module.hpp
|
|
63
|
+
- rice/Module.ipp
|
|
64
|
+
- rice/Symbol.cpp
|
|
65
|
+
- rice/Symbol.hpp
|
|
66
|
+
- rice/Symbol.ipp
|
|
67
|
+
- rice/to_from_ruby.hpp
|
|
68
|
+
- rice/to_from_ruby.ipp
|
|
69
|
+
- rice/Builtin_Object.hpp
|
|
70
|
+
- rice/Builtin_Object.ipp
|
|
71
|
+
- rice/Data_Object.hpp
|
|
72
|
+
- rice/Data_Object.ipp
|
|
73
|
+
- rice/Array.hpp
|
|
74
|
+
- rice/Array.ipp
|
|
75
|
+
- rice/Hash.hpp
|
|
76
|
+
- rice/Hash.ipp
|
|
77
|
+
- rice/Data_Type_fwd.hpp
|
|
78
|
+
- rice/global_function.hpp
|
|
79
|
+
- rice/global_function.ipp
|
|
80
|
+
- rice/VM.cpp
|
|
81
|
+
- rice/VM.hpp
|
|
82
|
+
- rice/Jump_Tag.hpp
|
|
83
|
+
- rice/String.cpp
|
|
84
|
+
- rice/String.hpp
|
|
85
|
+
- rice/Object.cpp
|
|
86
|
+
- rice/Object.hpp
|
|
87
|
+
- rice/Object.ipp
|
|
88
|
+
- rice/Enum.hpp
|
|
89
|
+
- rice/Enum.ipp
|
|
90
|
+
- rice/protect.hpp
|
|
91
|
+
- rice/protect.ipp
|
|
92
|
+
- rice/Class.cpp
|
|
93
|
+
- rice/Class.hpp
|
|
94
|
+
- rice/Class.ipp
|
|
95
|
+
- rice/ruby_try_catch.hpp
|
|
96
|
+
- rice/to_from_ruby_defn.hpp
|
|
97
|
+
- rice/config.hpp
|
|
98
|
+
- rice/Exception.cpp
|
|
99
|
+
- rice/Exception.hpp
|
|
100
|
+
- rice/Module_defn.hpp
|
|
101
|
+
- rice/Address_Registration_Guard.hpp
|
|
102
|
+
- rice/Address_Registration_Guard.ipp
|
|
103
|
+
- rice/Data_Type_defn.hpp
|
|
104
|
+
- rice/Object_defn.hpp
|
|
105
|
+
- rice/Constructor.hpp
|
|
106
|
+
- rice/Require_Guard.hpp
|
|
107
|
+
- rice/Builtin_Object_defn.hpp
|
|
108
|
+
- rice/Data_Type.cpp
|
|
109
|
+
- rice/Data_Type.hpp
|
|
110
|
+
- rice/Data_Type.ipp
|
|
111
|
+
- rice/Module_impl.hpp
|
|
112
|
+
- rice/Module_impl.ipp
|
|
113
|
+
- rice/Address_Registration_Guard_defn.hpp
|
|
114
|
+
- rice/Class_defn.hpp
|
|
115
|
+
- rice/Critical_Guard.hpp
|
|
116
|
+
- rice/Critical_Guard.ipp
|
|
117
|
+
- rice/Struct.cpp
|
|
118
|
+
- rice/Struct.hpp
|
|
119
|
+
- rice/Struct.ipp
|
|
120
|
+
- rice/Exception_Base.hpp
|
|
121
|
+
- rice/Exception_Base.ipp
|
|
122
|
+
- rice/Allocation_Strategies.hpp
|
|
123
|
+
- rice/Identifier.cpp
|
|
124
|
+
- rice/Identifier.hpp
|
|
125
|
+
- rice/Identifier.ipp
|
|
126
|
+
- rice/generate_code.rb
|
|
127
|
+
- rice/config.hpp.in
|
|
128
|
+
- rice/detail/Not_Copyable.hpp
|
|
129
|
+
- rice/detail/wrap_function.hpp
|
|
130
|
+
- rice/detail/wrap_function.ipp
|
|
131
|
+
- rice/detail/object_call.hpp
|
|
132
|
+
- rice/detail/object_call.ipp
|
|
133
|
+
- rice/detail/check_ruby_type.cpp
|
|
134
|
+
- rice/detail/check_ruby_type.hpp
|
|
135
|
+
- rice/detail/creation_funcs.hpp
|
|
136
|
+
- rice/detail/creation_funcs.ipp
|
|
137
|
+
- rice/detail/from_ruby.hpp
|
|
138
|
+
- rice/detail/from_ruby.ipp
|
|
139
|
+
- rice/detail/method_data.cpp
|
|
140
|
+
- rice/detail/method_data.hpp
|
|
141
|
+
- rice/detail/default_allocation_func.hpp
|
|
142
|
+
- rice/detail/default_allocation_func.ipp
|
|
143
|
+
- rice/detail/rubysig.hpp
|
|
144
|
+
- rice/detail/ruby.hpp
|
|
145
|
+
- rice/detail/protect.cpp
|
|
146
|
+
- rice/detail/protect.hpp
|
|
147
|
+
- rice/detail/env.hpp
|
|
148
|
+
- rice/detail/win32.hpp
|
|
149
|
+
- rice/detail/to_ruby.hpp
|
|
150
|
+
- rice/detail/to_ruby.ipp
|
|
151
|
+
- rice/detail/Caster.hpp
|
|
152
|
+
- rice/detail/Iterator_Definer.hpp
|
|
153
|
+
- rice/detail/remove_const.hpp
|
|
154
|
+
- rice/detail/Exception_Handler.hpp
|
|
155
|
+
- rice/detail/Auto_Member_Function_Wrapper.hpp
|
|
156
|
+
- rice/detail/Auto_Member_Function_Wrapper.ipp
|
|
157
|
+
- rice/detail/st.hpp
|
|
158
|
+
- rice/detail/Wrapped_Function.hpp
|
|
159
|
+
- rice/detail/Auto_Function_Wrapper.hpp
|
|
160
|
+
- rice/detail/Auto_Function_Wrapper.ipp
|
|
161
|
+
- rice/detail/node.hpp
|
|
162
|
+
- rice/detail/define_method_and_auto_wrap.hpp
|
|
163
|
+
- rice/detail/define_method_and_auto_wrap.ipp
|
|
164
|
+
- ruby/lib/mkmf-rice.rb.in
|
|
165
|
+
- sample/enum/extconf.rb
|
|
166
|
+
- sample/enum/sample_enum.cpp
|
|
167
|
+
- sample/enum/test.rb
|
|
168
|
+
- sample/map/extconf.rb
|
|
169
|
+
- sample/map/map.cpp
|
|
170
|
+
- sample/map/test.rb
|
|
171
|
+
- sample/inheritance/extconf.rb
|
|
172
|
+
- sample/inheritance/animals.cpp
|
|
173
|
+
- sample/inheritance/test.rb
|
|
174
|
+
- test/test_Array.cpp
|
|
175
|
+
- test/test_Module.cpp
|
|
176
|
+
- test/test_Symbol.cpp
|
|
177
|
+
- test/test_Identifier.cpp
|
|
178
|
+
- test/test_Hash.cpp
|
|
179
|
+
- test/test_Data_Object.cpp
|
|
180
|
+
- test/unittest.cpp
|
|
181
|
+
- test/unittest.hpp
|
|
182
|
+
- test/test_VM.cpp
|
|
183
|
+
- test/test_Allocation_Strategies.cpp
|
|
184
|
+
- test/test_Class.cpp
|
|
185
|
+
- test/test_Critical_Guard.cpp
|
|
186
|
+
- test/test_Enum.cpp
|
|
187
|
+
- test/test_String.cpp
|
|
188
|
+
- test/test_Object.cpp
|
|
189
|
+
- test/test_Builtin_Object.cpp
|
|
190
|
+
- test/test_Constructor.cpp
|
|
191
|
+
- test/test_Jump_Tag.cpp
|
|
192
|
+
- test/test_To_From_Ruby.cpp
|
|
193
|
+
- test/test_Exception.cpp
|
|
194
|
+
- test/test_Struct.cpp
|
|
195
|
+
- test/test_Address_Registration_Guard.cpp
|
|
196
|
+
test_files:
|
|
197
|
+
- test/test_rice.rb
|
|
198
|
+
rdoc_options: []
|
|
199
|
+
|
|
200
|
+
extra_rdoc_files:
|
|
201
|
+
- README
|
|
202
|
+
executables: []
|
|
203
|
+
|
|
204
|
+
extensions:
|
|
205
|
+
- configure
|
|
206
|
+
requirements: []
|
|
207
|
+
|
|
208
|
+
dependencies: []
|
|
209
|
+
|