nmatrix icon indicating copy to clipboard operation
nmatrix copied to clipboard

Update to new TypedData system

Open v0dro opened this issue 7 years ago • 2 comments

The latest Ruby updates the traditional Data_* macros into TypeData_* macros for creating Ruby objects from C extensions. This allows for more sophisticated typedata management at the C level. The old system will be deprecated soon and we should upgrade.

Here's the docs: https://github.com/ruby/ruby/blob/trunk/doc/extension.rdoc#encapsulate-c-data-into-a-ruby-object

v0dro avatar Jun 01 '17 06:06 v0dro

Presumably this is not backwards compatible, right? So we should probably do some kind of #ifdef?

translunar avatar Jun 01 '17 15:06 translunar

Yep.

v0dro avatar Jun 02 '17 06:06 v0dro