diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 17:14:31 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 17:14:31 +0000 |
commit | 34be3a5d907a83a9b71a5916a283c0ec7151d6eb (patch) | |
tree | 99235edba1f978ecd23d47aa2ea98d1d701f81af /internal.h | |
parent | f02c29ee4f0396735c260114fc9f93ba3dc8ca2e (diff) |
* numeric.c (num_step): Support for Numeric#step.size
[Feature #6636]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37515 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 6e6a071f92..5b66192ddf 100644 --- a/internal.h +++ b/internal.h @@ -154,6 +154,7 @@ void Init_newline(void); /* numeric.c */ 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); |