rice2 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. checksums.yaml +7 -0
  2. data/COPYING +23 -0
  3. data/Doxyfile +2268 -0
  4. data/Makefile.am +26 -0
  5. data/Makefile.in +929 -0
  6. data/README.md +1054 -0
  7. data/README.mingw +8 -0
  8. data/Rakefile +24 -0
  9. data/aclocal.m4 +1090 -0
  10. data/bootstrap +8 -0
  11. data/config.guess +1667 -0
  12. data/config.sub +1793 -0
  13. data/configure +8209 -0
  14. data/configure.ac +55 -0
  15. data/depcomp +791 -0
  16. data/doxygen.ac +314 -0
  17. data/doxygen.am +186 -0
  18. data/extconf.rb +66 -0
  19. data/install-sh +529 -0
  20. data/missing +215 -0
  21. data/post-autoconf.rb +22 -0
  22. data/post-automake.rb +28 -0
  23. data/rice/Address_Registration_Guard.cpp +22 -0
  24. data/rice/Address_Registration_Guard.hpp +7 -0
  25. data/rice/Address_Registration_Guard.ipp +37 -0
  26. data/rice/Address_Registration_Guard_defn.hpp +75 -0
  27. data/rice/Arg.hpp +8 -0
  28. data/rice/Arg_impl.hpp +129 -0
  29. data/rice/Arg_operators.cpp +21 -0
  30. data/rice/Arg_operators.hpp +19 -0
  31. data/rice/Array.hpp +214 -0
  32. data/rice/Array.ipp +256 -0
  33. data/rice/Builtin_Object.hpp +8 -0
  34. data/rice/Builtin_Object.ipp +50 -0
  35. data/rice/Builtin_Object_defn.hpp +50 -0
  36. data/rice/Class.cpp +57 -0
  37. data/rice/Class.hpp +8 -0
  38. data/rice/Class.ipp +6 -0
  39. data/rice/Class_defn.hpp +83 -0
  40. data/rice/Constructor.hpp +47 -0
  41. data/rice/Data_Object.hpp +8 -0
  42. data/rice/Data_Object.ipp +133 -0
  43. data/rice/Data_Object_defn.hpp +138 -0
  44. data/rice/Data_Type.cpp +54 -0
  45. data/rice/Data_Type.hpp +8 -0
  46. data/rice/Data_Type.ipp +365 -0
  47. data/rice/Data_Type_defn.hpp +261 -0
  48. data/rice/Data_Type_fwd.hpp +12 -0
  49. data/rice/Director.cpp +13 -0
  50. data/rice/Director.hpp +39 -0
  51. data/rice/Enum.hpp +117 -0
  52. data/rice/Enum.ipp +246 -0
  53. data/rice/Exception.cpp +59 -0
  54. data/rice/Exception.hpp +13 -0
  55. data/rice/Exception_Base.hpp +8 -0
  56. data/rice/Exception_Base.ipp +13 -0
  57. data/rice/Exception_Base_defn.hpp +27 -0
  58. data/rice/Exception_defn.hpp +69 -0
  59. data/rice/Hash.hpp +227 -0
  60. data/rice/Hash.ipp +329 -0
  61. data/rice/Identifier.cpp +8 -0
  62. data/rice/Identifier.hpp +50 -0
  63. data/rice/Identifier.ipp +33 -0
  64. data/rice/Jump_Tag.hpp +24 -0
  65. data/rice/Makefile.am +122 -0
  66. data/rice/Makefile.in +885 -0
  67. data/rice/Module.cpp +84 -0
  68. data/rice/Module.hpp +8 -0
  69. data/rice/Module.ipp +6 -0
  70. data/rice/Module_defn.hpp +88 -0
  71. data/rice/Module_impl.hpp +281 -0
  72. data/rice/Module_impl.ipp +345 -0
  73. data/rice/Object.cpp +169 -0
  74. data/rice/Object.hpp +8 -0
  75. data/rice/Object.ipp +33 -0
  76. data/rice/Object_defn.hpp +214 -0
  77. data/rice/Require_Guard.hpp +21 -0
  78. data/rice/String.cpp +94 -0
  79. data/rice/String.hpp +91 -0
  80. data/rice/Struct.cpp +117 -0
  81. data/rice/Struct.hpp +162 -0
  82. data/rice/Struct.ipp +26 -0
  83. data/rice/Symbol.cpp +25 -0
  84. data/rice/Symbol.hpp +66 -0
  85. data/rice/Symbol.ipp +44 -0
  86. data/rice/config.hpp +47 -0
  87. data/rice/config.hpp.in +46 -0
  88. data/rice/detail/Arguments.hpp +118 -0
  89. data/rice/detail/Auto_Function_Wrapper.hpp +898 -0
  90. data/rice/detail/Auto_Function_Wrapper.ipp +3694 -0
  91. data/rice/detail/Auto_Member_Function_Wrapper.hpp +897 -0
  92. data/rice/detail/Auto_Member_Function_Wrapper.ipp +2774 -0
  93. data/rice/detail/Caster.hpp +103 -0
  94. data/rice/detail/Exception_Handler.hpp +8 -0
  95. data/rice/detail/Exception_Handler.ipp +68 -0
  96. data/rice/detail/Exception_Handler_defn.hpp +96 -0
  97. data/rice/detail/Iterator.hpp +93 -0
  98. data/rice/detail/Not_Copyable.hpp +25 -0
  99. data/rice/detail/Wrapped_Function.hpp +33 -0
  100. data/rice/detail/cfp.hpp +24 -0
  101. data/rice/detail/cfp.ipp +51 -0
  102. data/rice/detail/check_ruby_type.cpp +27 -0
  103. data/rice/detail/check_ruby_type.hpp +23 -0
  104. data/rice/detail/creation_funcs.hpp +37 -0
  105. data/rice/detail/creation_funcs.ipp +36 -0
  106. data/rice/detail/default_allocation_func.hpp +23 -0
  107. data/rice/detail/default_allocation_func.ipp +11 -0
  108. data/rice/detail/define_method_and_auto_wrap.hpp +31 -0
  109. data/rice/detail/define_method_and_auto_wrap.ipp +30 -0
  110. data/rice/detail/demangle.cpp +56 -0
  111. data/rice/detail/demangle.hpp +19 -0
  112. data/rice/detail/env.hpp +11 -0
  113. data/rice/detail/from_ruby.hpp +43 -0
  114. data/rice/detail/from_ruby.ipp +60 -0
  115. data/rice/detail/method_data.cpp +92 -0
  116. data/rice/detail/method_data.hpp +21 -0
  117. data/rice/detail/node.hpp +13 -0
  118. data/rice/detail/protect.cpp +29 -0
  119. data/rice/detail/protect.hpp +34 -0
  120. data/rice/detail/ruby.hpp +74 -0
  121. data/rice/detail/ruby_version_code.hpp +6 -0
  122. data/rice/detail/ruby_version_code.hpp.in +6 -0
  123. data/rice/detail/st.hpp +22 -0
  124. data/rice/detail/to_ruby.hpp +22 -0
  125. data/rice/detail/to_ruby.ipp +36 -0
  126. data/rice/detail/traits.hpp +43 -0
  127. data/rice/detail/win32.hpp +16 -0
  128. data/rice/detail/wrap_function.hpp +66 -0
  129. data/rice/global_function.hpp +33 -0
  130. data/rice/global_function.ipp +22 -0
  131. data/rice/protect.hpp +38 -0
  132. data/rice/protect.ipp +1134 -0
  133. data/rice/ruby_mark.hpp +13 -0
  134. data/rice/ruby_try_catch.hpp +86 -0
  135. data/rice/rubypp.rb +97 -0
  136. data/rice/to_from_ruby.hpp +8 -0
  137. data/rice/to_from_ruby.ipp +418 -0
  138. data/rice/to_from_ruby_defn.hpp +70 -0
  139. data/ruby.ac +135 -0
  140. data/ruby/Makefile.am +1 -0
  141. data/ruby/Makefile.in +628 -0
  142. data/ruby/lib/Makefile.am +3 -0
  143. data/ruby/lib/Makefile.in +506 -0
  144. data/ruby/lib/mkmf-rice.rb.in +217 -0
  145. data/ruby/lib/version.rb +3 -0
  146. data/sample/Makefile.am +47 -0
  147. data/sample/Makefile.in +489 -0
  148. data/sample/enum/extconf.rb +3 -0
  149. data/sample/enum/sample_enum.cpp +54 -0
  150. data/sample/enum/test.rb +8 -0
  151. data/sample/inheritance/animals.cpp +98 -0
  152. data/sample/inheritance/extconf.rb +3 -0
  153. data/sample/inheritance/test.rb +7 -0
  154. data/sample/map/extconf.rb +3 -0
  155. data/sample/map/map.cpp +81 -0
  156. data/sample/map/test.rb +7 -0
  157. data/test/Makefile.am +72 -0
  158. data/test/Makefile.in +1213 -0
  159. data/test/ext/Makefile.am +41 -0
  160. data/test/ext/Makefile.in +483 -0
  161. data/test/ext/t1/Foo.hpp +10 -0
  162. data/test/ext/t1/extconf.rb +2 -0
  163. data/test/ext/t1/t1.cpp +15 -0
  164. data/test/ext/t2/extconf.rb +2 -0
  165. data/test/ext/t2/t2.cpp +11 -0
  166. data/test/test_Address_Registration_Guard.cpp +43 -0
  167. data/test/test_Array.cpp +248 -0
  168. data/test/test_Builtin_Object.cpp +71 -0
  169. data/test/test_Class.cpp +496 -0
  170. data/test/test_Constructor.cpp +128 -0
  171. data/test/test_Data_Object.cpp +275 -0
  172. data/test/test_Data_Type.cpp +348 -0
  173. data/test/test_Director.cpp +308 -0
  174. data/test/test_Enum.cpp +215 -0
  175. data/test/test_Exception.cpp +47 -0
  176. data/test/test_Hash.cpp +212 -0
  177. data/test/test_Identifier.cpp +70 -0
  178. data/test/test_Jump_Tag.cpp +17 -0
  179. data/test/test_Memory_Management.cpp +50 -0
  180. data/test/test_Module.cpp +497 -0
  181. data/test/test_Object.cpp +159 -0
  182. data/test/test_String.cpp +107 -0
  183. data/test/test_Struct.cpp +205 -0
  184. data/test/test_Symbol.cpp +63 -0
  185. data/test/test_To_From_Ruby.cpp +428 -0
  186. data/test/test_global_functions.cpp +114 -0
  187. data/test/test_rice.rb +41 -0
  188. data/test/unittest.cpp +136 -0
  189. data/test/unittest.hpp +294 -0
  190. metadata +297 -0
metadata ADDED
@@ -0,0 +1,297 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rice2
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Paul Brannan
8
+ - Jason Roelofs
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2020-06-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: minitest
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: mustache
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ description: |
71
+ Rice is a C++ interface to Ruby's C API. It provides a type-safe and
72
+ exception-safe interface in order to make embedding Ruby and writing
73
+ Ruby extensions with C++ easier. It is similar to Boost.Python in many
74
+ ways, but also attempts to provide an object-oriented interface to all
75
+ of the Ruby C API.
76
+ email:
77
+ - curlypaul924@gmail.com
78
+ - jasonroelofs@gmail.com
79
+ executables: []
80
+ extensions:
81
+ - extconf.rb
82
+ extra_rdoc_files:
83
+ - README.md
84
+ files:
85
+ - COPYING
86
+ - Doxyfile
87
+ - Makefile.am
88
+ - Makefile.in
89
+ - README.md
90
+ - README.mingw
91
+ - Rakefile
92
+ - aclocal.m4
93
+ - bootstrap
94
+ - config.guess
95
+ - config.sub
96
+ - configure
97
+ - configure.ac
98
+ - depcomp
99
+ - doxygen.ac
100
+ - doxygen.am
101
+ - extconf.rb
102
+ - install-sh
103
+ - missing
104
+ - post-autoconf.rb
105
+ - post-automake.rb
106
+ - rice/Address_Registration_Guard.cpp
107
+ - rice/Address_Registration_Guard.hpp
108
+ - rice/Address_Registration_Guard.ipp
109
+ - rice/Address_Registration_Guard_defn.hpp
110
+ - rice/Arg.hpp
111
+ - rice/Arg_impl.hpp
112
+ - rice/Arg_operators.cpp
113
+ - rice/Arg_operators.hpp
114
+ - rice/Array.hpp
115
+ - rice/Array.ipp
116
+ - rice/Builtin_Object.hpp
117
+ - rice/Builtin_Object.ipp
118
+ - rice/Builtin_Object_defn.hpp
119
+ - rice/Class.cpp
120
+ - rice/Class.hpp
121
+ - rice/Class.ipp
122
+ - rice/Class_defn.hpp
123
+ - rice/Constructor.hpp
124
+ - rice/Data_Object.hpp
125
+ - rice/Data_Object.ipp
126
+ - rice/Data_Object_defn.hpp
127
+ - rice/Data_Type.cpp
128
+ - rice/Data_Type.hpp
129
+ - rice/Data_Type.ipp
130
+ - rice/Data_Type_defn.hpp
131
+ - rice/Data_Type_fwd.hpp
132
+ - rice/Director.cpp
133
+ - rice/Director.hpp
134
+ - rice/Enum.hpp
135
+ - rice/Enum.ipp
136
+ - rice/Exception.cpp
137
+ - rice/Exception.hpp
138
+ - rice/Exception_Base.hpp
139
+ - rice/Exception_Base.ipp
140
+ - rice/Exception_Base_defn.hpp
141
+ - rice/Exception_defn.hpp
142
+ - rice/Hash.hpp
143
+ - rice/Hash.ipp
144
+ - rice/Identifier.cpp
145
+ - rice/Identifier.hpp
146
+ - rice/Identifier.ipp
147
+ - rice/Jump_Tag.hpp
148
+ - rice/Makefile.am
149
+ - rice/Makefile.in
150
+ - rice/Module.cpp
151
+ - rice/Module.hpp
152
+ - rice/Module.ipp
153
+ - rice/Module_defn.hpp
154
+ - rice/Module_impl.hpp
155
+ - rice/Module_impl.ipp
156
+ - rice/Object.cpp
157
+ - rice/Object.hpp
158
+ - rice/Object.ipp
159
+ - rice/Object_defn.hpp
160
+ - rice/Require_Guard.hpp
161
+ - rice/String.cpp
162
+ - rice/String.hpp
163
+ - rice/Struct.cpp
164
+ - rice/Struct.hpp
165
+ - rice/Struct.ipp
166
+ - rice/Symbol.cpp
167
+ - rice/Symbol.hpp
168
+ - rice/Symbol.ipp
169
+ - rice/config.hpp
170
+ - rice/config.hpp.in
171
+ - rice/detail/Arguments.hpp
172
+ - rice/detail/Auto_Function_Wrapper.hpp
173
+ - rice/detail/Auto_Function_Wrapper.ipp
174
+ - rice/detail/Auto_Member_Function_Wrapper.hpp
175
+ - rice/detail/Auto_Member_Function_Wrapper.ipp
176
+ - rice/detail/Caster.hpp
177
+ - rice/detail/Exception_Handler.hpp
178
+ - rice/detail/Exception_Handler.ipp
179
+ - rice/detail/Exception_Handler_defn.hpp
180
+ - rice/detail/Iterator.hpp
181
+ - rice/detail/Not_Copyable.hpp
182
+ - rice/detail/Wrapped_Function.hpp
183
+ - rice/detail/cfp.hpp
184
+ - rice/detail/cfp.ipp
185
+ - rice/detail/check_ruby_type.cpp
186
+ - rice/detail/check_ruby_type.hpp
187
+ - rice/detail/creation_funcs.hpp
188
+ - rice/detail/creation_funcs.ipp
189
+ - rice/detail/default_allocation_func.hpp
190
+ - rice/detail/default_allocation_func.ipp
191
+ - rice/detail/define_method_and_auto_wrap.hpp
192
+ - rice/detail/define_method_and_auto_wrap.ipp
193
+ - rice/detail/demangle.cpp
194
+ - rice/detail/demangle.hpp
195
+ - rice/detail/env.hpp
196
+ - rice/detail/from_ruby.hpp
197
+ - rice/detail/from_ruby.ipp
198
+ - rice/detail/method_data.cpp
199
+ - rice/detail/method_data.hpp
200
+ - rice/detail/node.hpp
201
+ - rice/detail/protect.cpp
202
+ - rice/detail/protect.hpp
203
+ - rice/detail/ruby.hpp
204
+ - rice/detail/ruby_version_code.hpp
205
+ - rice/detail/ruby_version_code.hpp.in
206
+ - rice/detail/st.hpp
207
+ - rice/detail/to_ruby.hpp
208
+ - rice/detail/to_ruby.ipp
209
+ - rice/detail/traits.hpp
210
+ - rice/detail/win32.hpp
211
+ - rice/detail/wrap_function.hpp
212
+ - rice/global_function.hpp
213
+ - rice/global_function.ipp
214
+ - rice/protect.hpp
215
+ - rice/protect.ipp
216
+ - rice/ruby_mark.hpp
217
+ - rice/ruby_try_catch.hpp
218
+ - rice/rubypp.rb
219
+ - rice/to_from_ruby.hpp
220
+ - rice/to_from_ruby.ipp
221
+ - rice/to_from_ruby_defn.hpp
222
+ - ruby.ac
223
+ - ruby/Makefile.am
224
+ - ruby/Makefile.in
225
+ - ruby/lib/Makefile.am
226
+ - ruby/lib/Makefile.in
227
+ - ruby/lib/mkmf-rice.rb.in
228
+ - ruby/lib/version.rb
229
+ - sample/Makefile.am
230
+ - sample/Makefile.in
231
+ - sample/enum/extconf.rb
232
+ - sample/enum/sample_enum.cpp
233
+ - sample/enum/test.rb
234
+ - sample/inheritance/animals.cpp
235
+ - sample/inheritance/extconf.rb
236
+ - sample/inheritance/test.rb
237
+ - sample/map/extconf.rb
238
+ - sample/map/map.cpp
239
+ - sample/map/test.rb
240
+ - test/Makefile.am
241
+ - test/Makefile.in
242
+ - test/ext/Makefile.am
243
+ - test/ext/Makefile.in
244
+ - test/ext/t1/Foo.hpp
245
+ - test/ext/t1/extconf.rb
246
+ - test/ext/t1/t1.cpp
247
+ - test/ext/t2/extconf.rb
248
+ - test/ext/t2/t2.cpp
249
+ - test/test_Address_Registration_Guard.cpp
250
+ - test/test_Array.cpp
251
+ - test/test_Builtin_Object.cpp
252
+ - test/test_Class.cpp
253
+ - test/test_Constructor.cpp
254
+ - test/test_Data_Object.cpp
255
+ - test/test_Data_Type.cpp
256
+ - test/test_Director.cpp
257
+ - test/test_Enum.cpp
258
+ - test/test_Exception.cpp
259
+ - test/test_Hash.cpp
260
+ - test/test_Identifier.cpp
261
+ - test/test_Jump_Tag.cpp
262
+ - test/test_Memory_Management.cpp
263
+ - test/test_Module.cpp
264
+ - test/test_Object.cpp
265
+ - test/test_String.cpp
266
+ - test/test_Struct.cpp
267
+ - test/test_Symbol.cpp
268
+ - test/test_To_From_Ruby.cpp
269
+ - test/test_global_functions.cpp
270
+ - test/test_rice.rb
271
+ - test/unittest.cpp
272
+ - test/unittest.hpp
273
+ homepage: https://github.com/jasonroelofs/rice
274
+ licenses:
275
+ - MIT
276
+ metadata: {}
277
+ post_install_message:
278
+ rdoc_options: []
279
+ require_paths:
280
+ - ruby/lib
281
+ required_ruby_version: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '2.4'
286
+ required_rubygems_version: !ruby/object:Gem::Requirement
287
+ requirements:
288
+ - - ">="
289
+ - !ruby/object:Gem::Version
290
+ version: '0'
291
+ requirements: []
292
+ rubygems_version: 3.0.3
293
+ signing_key:
294
+ specification_version: 4
295
+ summary: Ruby Interface for C++ Extensions
296
+ test_files:
297
+ - test/test_rice.rb