Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove checking whether rb_gc_mark_movable exists #876

Merged
merged 1 commit into from
Apr 22, 2023

Conversation

Watson1978
Copy link
Collaborator

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.

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 ohler55 merged commit 7e991e6 into ohler55:develop Apr 22, 2023
37 checks passed
@ohler55
Copy link
Owner

ohler55 commented Apr 22, 2023

39

@Watson1978 Watson1978 deleted the rb_gc_mark_movable branch April 22, 2023 18:49
Watson1978 added a commit that referenced this pull request May 7, 2023
ohler55 pushed a commit that referenced this pull request May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants