kosaki b2a2ba1191 * include/ruby/ruby.h: add NUM2SHORT(), NUM2USHORT() macros.
* numeric.c: ditto.

* test/-ext-/num2int/test_num2int.rb: add testcases for NUM2SHORT().
* ext/-test-/num2int/num2int.c: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-14 03:54:34 +00:00
..
2011-11-04 07:19:23 +00:00
2011-09-25 07:42:38 +00:00
2011-11-04 07:19:23 +00:00
2011-11-09 13:26:06 +00:00
2011-11-04 07:19:23 +00:00