ohler55 / oj

Optimized JSON
http://www.ohler.com/oj
MIT License
3.12k stars 250 forks source link

Remove checking whether rb_gc_mark_movable exists #876

Closed Watson1978 closed 1 year ago

Watson1978 commented 1 year ago

Currently the oj gem supports Ruby 2.7+.

rb_gc_mark_movable() has introduced at Ruby 2.7. Ref. https://github.com/ruby/ruby/blob/v2_7_0/include/ruby/intern.h#L540

So, we can use rb_gc_mark_movable() freely in oj gem.

ohler55 commented 1 year ago

39