summaryrefslogtreecommitdiff
path: root/ext/psych/yaml/yaml_private.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-16 07:20:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-16 07:20:23 +0000
commit71430123d3cc7d5b261313213f17787f6e6f384d (patch)
treed4698956cff1467709e7dbba2accdb810323f125 /ext/psych/yaml/yaml_private.h
parent3efb36c25c6f8bbdccf7da3d24966289346fdd14 (diff)
ruby.h: use FIX2LONG
* include/ruby/ruby.h (RBIGNUM_SIGN): use FIX2LONG() instead of FIX2INT() for optimization, since rb_big_cmp() returns only Fixnum -1..+1 for Finxum 0. (RBIGNUM_POSITIVE_P, RBIGNUM_NEGATIVE_P): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/psych/yaml/yaml_private.h')
0 files changed, 0 insertions, 0 deletions