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 | bd6b19fe635a12c119be291d477a498abb961b2a (patch) | |
| tree | 286e7c24a7ec3a8915dee810bb2cff0b0b83c7a1 /include/ruby | |
| parent | 683a944ffe4436161f44d2a31ffa83e173867a85 (diff) | |
| download | ruby-bd6b19fe635a12c119be291d477a498abb961b2a.tar.gz ruby-bd6b19fe635a12c119be291d477a498abb961b2a.tar.xz ruby-bd6b19fe635a12c119be291d477a498abb961b2a.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@24670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
| -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 93a35563d..46d3aeae8 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); |
