diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-09 14:52:33 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-09 14:52:33 +0000 |
commit | 8767705eb238d7c2391c5cce3c2945db99fc0c24 (patch) | |
tree | 202a7fd3734af7ed64b1dd3138752bd2a82de03e /internal.h | |
parent | b78c7fa106da832f4fe7d2ad8c1f25410fa6b538 (diff) |
merge revision(s) 39376: [Backport #7903]
* random.c (rb_random_ulong_limited): fix error message for negative
value. [ruby-dev:47061] [Bug #7903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index b5871fcd55..e66b5fd038 100644 --- a/internal.h +++ b/internal.h @@ -168,6 +168,7 @@ int rb_num_to_uint(VALUE val, unsigned int *ret); VALUE num_interval_step_size(VALUE from, VALUE to, VALUE step, int excl); int ruby_float_step(VALUE from, VALUE to, VALUE step, int excl); double ruby_float_mod(double x, double y); +int rb_num_negative_p(VALUE); /* object.c */ VALUE rb_obj_equal(VALUE obj1, VALUE obj2); |