From bd6b19fe635a12c119be291d477a498abb961b2a Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 26 Aug 2009 10:20:30 +0000 Subject: * 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 --- include/ruby/intern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/ruby') 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); -- cgit