Commit 7e991e6
authored
Remove checking whether rb_gc_mark_movable exists (#876)
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.1 parent 3a00e85 commit 7e991e6
2 files changed
Lines changed: 3 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 25 | | |
33 | 26 | | |
34 | 27 | | |
| |||
691 | 684 | | |
692 | 685 | | |
693 | 686 | | |
694 | | - | |
| 687 | + | |
695 | 688 | | |
696 | 689 | | |
697 | 690 | | |
| |||
702 | 695 | | |
703 | 696 | | |
704 | 697 | | |
705 | | - | |
| 698 | + | |
706 | 699 | | |
707 | 700 | | |
708 | 701 | | |
709 | | - | |
| 702 | + | |
710 | 703 | | |
711 | 704 | | |
712 | 705 | | |
| |||
734 | 727 | | |
735 | 728 | | |
736 | 729 | | |
737 | | - | |
738 | 730 | | |
739 | 731 | | |
740 | 732 | | |
741 | 733 | | |
742 | 734 | | |
743 | 735 | | |
744 | 736 | | |
745 | | - | |
746 | 737 | | |
747 | | - | |
748 | 738 | | |
749 | 739 | | |
750 | 740 | | |
| |||
0 commit comments