diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-05 15:39:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-05 15:39:26 +0000 |
commit | 95512f277788ec12b4d368e337dc7397944e1183 (patch) | |
tree | ed41e3526e58fdb1e2952a36615ee56e365faa16 /ChangeLog | |
parent | 306a16d20126d1ec6e9d06f508aa95dd32ebe086 (diff) | |
download | ruby-95512f277788ec12b4d368e337dc7397944e1183.tar.gz |
ruby.h: rb_num2ulong_inline
* include/ruby/ruby.h (NUM2ULONG): optimize by inline as well as
NUM2LONG, and cast to unsigned long explicitly for the platforms
where SIZEOF_VALUE is larger than SIZEOF_LONG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ -Mon Aug 6 00:38:52 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> +Mon Aug 6 00:39:24 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * include/ruby/ruby.h (NUM2ULONG): optimize by inline as well as + NUM2LONG, and cast to unsigned long explicitly for the platforms + where SIZEOF_VALUE is larger than SIZEOF_LONG. * include/ruby/ruby.h (NUM2SSIZET): fix type to cast. |