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).
The new ext-export.clang and ext-export.gcc files address the problem where Ruby can't find the ruby_abi_version in libraries that call out to C. This change was introduced here: https://github.com/ruby/ruby/pull/5474 (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).The new
ext-export.clang
andext-export.gcc
files address the problem where Ruby can't find the ruby_abi_version in libraries that call out to C. This change was introduced here: https://github.com/ruby/ruby/pull/5474 (opened from this issue)