diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-26 10:20:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-26 10:20:30 +0000 |
commit | 96760236079b15674a6322a2ca41b1528b51afbd (patch) | |
tree | 286e7c24a7ec3a8915dee810bb2cff0b0b83c7a1 /include | |
parent | 47a1a7b67d272596860c8969f8581c175f7d5704 (diff) | |
download | ruby-96760236079b15674a6322a2ca41b1528b51afbd.tar.gz |
* random.c (random_rand): unified random_int and random_float.
[ruby-dev:39158]. and fixes [ruby-core:24655], [ruby-core:24677],
[ruby-core:24679].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 93a35563d4..46d3aeae8a 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -466,6 +466,7 @@ VALUE rb_class_inherited_p(VALUE, VALUE); VALUE rb_convert_type(VALUE,int,const char*,const char*); VALUE rb_check_convert_type(VALUE,int,const char*,const char*); VALUE rb_check_to_integer(VALUE, const char *); +VALUE rb_check_to_float(VALUE); VALUE rb_to_int(VALUE); VALUE rb_Integer(VALUE); VALUE rb_to_float(VALUE); |