This PR makes updates to allow this gem to work properly with Ruby 3.2.
The addition of the rb_undef_alloc_func calls ensures that we undefine allocate for T_DATA classes. This relates to a change in Ruby introduced here: https://github.com/ruby/ruby/pull/4604 (opened from this issue).
This PR makes updates to allow this gem to work properly with Ruby 3.2.
The addition of the
rb_undef_alloc_func
calls ensures that we undefine allocate for T_DATA classes. This relates to a change in Ruby introduced here: https://github.com/ruby/ruby/pull/4604 (opened from this issue).