diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-11-04 09:02:58 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-11-04 09:02:58 -0400 |
commit | 93f364d65e25187ce3c1dd5172a00264804e9380 (patch) | |
tree | 1696923c349084a188f0fce742bfa9583a99847e /include | |
parent | 76a6c5d6d16cd0e55df15d66d53c6d7a9614f3d6 (diff) | |
download | ruby-93f364d65e25187ce3c1dd5172a00264804e9380.tar.gz |
Use RTEST to to check return value
rb_obj_is_kind_of returns a Ruby Qtrue or Qfalse. We should use RTEST
rather than assuming that Qfalse is 0.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions