Use `NIL_P` instead of `RB_NIL_P`

`RB_NIL_P` is new in Ruby 2.4. Even though we're linking to the older
name, I think it still makes sense to expose the newer name to Rust.
This commit is contained in:
Sean Griffin 2017-12-04 13:30:21 -07:00
parent b5965c87d1
commit 91fe2c5828
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ bool HELIX_RB_TYPE_P(VALUE v, int type) {
}
bool HELIX_RB_NIL_P(VALUE v) {
return RB_NIL_P(v);
return NIL_P(v);
}
bool HELIX_RTEST(VALUE v) {