This PR makes updates to allow yajl-ruby to work well with upcoming Ruby 3.2 functionality.
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
yajl-ruby
to work well with upcoming Ruby 3.2 functionality.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).