summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/parsers/parse_c.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-01 08:42:53 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-01 08:42:53 +0000
commit034ce45c23c8371cae592064a644a66f1a243a73 (patch)
tree81871465d730636c74a8ba04d080212f0acbf9ad /lib/rdoc/parsers/parse_c.rb
parent039cfeef8ee602f76d67e8086f47803236f466b9 (diff)
downloadruby-034ce45c23c8371cae592064a644a66f1a243a73.tar.gz
ruby-034ce45c23c8371cae592064a644a66f1a243a73.tar.xz
ruby-034ce45c23c8371cae592064a644a66f1a243a73.zip
* pack.c (htov16): converts endian using swap16. htov32(), hton16,
hton32 as well. [ruby-talk:85377] * pack.c (swap16): swap 2 bytes no matter how big short is on the platform. swap32() is also prepared. * numeric.c (rb_num2int): returns long to preserve information. rb_fix2int(), rb_num2uint(), rb_fix2uint() as well. [ruby-talk:85377] * numeric.c (rb_num2uint): should not check for value range if the source value is negative. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/parsers/parse_c.rb')
0 files changed, 0 insertions, 0 deletions