Skip to content

Fix for Ruby 2.4.0 integer unification#13

Open
mortonfox wants to merge 1 commit intooldmoe:masterfrom
mortonfox:ruby240-integer-unification
Open

Fix for Ruby 2.4.0 integer unification#13
mortonfox wants to merge 1 commit intooldmoe:masterfrom
mortonfox:ruby240-integer-unification

Conversation

@mortonfox
Copy link
Contributor

As of Ruby 2.4.0, Fixnum and Bignum have been unified into the Integer type. So rb_cFixnum is no longer defined. Fortunately, ruby.h defines RUBY_INTEGER_UNIFICATION if rb_cFixnum is no longer available, so we can check that.

As of Ruby 2.4.0, Fixnum and Bignum have been unified into the Integer type. So rb_cFixnum is no longer defined. Fortunately, ruby.h defines RUBY_INTEGER_UNIFICATION if rb_cFixnum is no longer available, so we can check that.
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.

2 participants