numeric.c: Remove prototype declarations to internal.h
* numeric.c (fix_plus): Remove rb_nucomp_add prototype declaration. * numeric.c (fix_mul): Remove rb_nucomp_mul prototype declaration. * internal.h (rb_nucomp_add, rb_nucomp_mul): add prototype declarations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
09550d14b6
commit
903161e0af
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
|||||||
|
Wed May 4 23:13:58 2016 Yuichiro Kaneko <yui-knk@ruby-lang.org>
|
||||||
|
|
||||||
|
* numeric.c (fix_plus): Remove rb_nucomp_add prototype
|
||||||
|
declaration.
|
||||||
|
|
||||||
|
* numeric.c (fix_mul): Remove rb_nucomp_mul prototype
|
||||||
|
declaration.
|
||||||
|
|
||||||
|
* internal.h (rb_nucomp_add, rb_nucomp_mul): add prototype
|
||||||
|
declarations.
|
||||||
|
|
||||||
Wed May 4 18:38:00 2016 Kazuki Tsujimoto <kazuki@callcc.net>
|
Wed May 4 18:38:00 2016 Kazuki Tsujimoto <kazuki@callcc.net>
|
||||||
|
|
||||||
* lib/net/http/header.rb (Net::HTTPHeader#{each_header,each_name,
|
* lib/net/http/header.rb (Net::HTTPHeader#{each_header,each_name,
|
||||||
|
@ -895,6 +895,10 @@ int rb_local_defined(ID, const struct rb_block_struct *);
|
|||||||
const char * rb_insns_name(int i);
|
const char * rb_insns_name(int i);
|
||||||
VALUE rb_insns_name_array(void);
|
VALUE rb_insns_name_array(void);
|
||||||
|
|
||||||
|
/* complex.c */
|
||||||
|
VALUE rb_nucomp_add(VALUE, VALUE);
|
||||||
|
VALUE rb_nucomp_mul(VALUE, VALUE);
|
||||||
|
|
||||||
/* cont.c */
|
/* cont.c */
|
||||||
VALUE rb_obj_is_fiber(VALUE);
|
VALUE rb_obj_is_fiber(VALUE);
|
||||||
void rb_fiber_reset_root_local_storage(VALUE);
|
void rb_fiber_reset_root_local_storage(VALUE);
|
||||||
|
@ -3248,7 +3248,6 @@ fix_plus(VALUE x, VALUE y)
|
|||||||
return DBL2NUM((double)FIX2LONG(x) + RFLOAT_VALUE(y));
|
return DBL2NUM((double)FIX2LONG(x) + RFLOAT_VALUE(y));
|
||||||
}
|
}
|
||||||
else if (RB_TYPE_P(y, T_COMPLEX)) {
|
else if (RB_TYPE_P(y, T_COMPLEX)) {
|
||||||
VALUE rb_nucomp_add(VALUE, VALUE);
|
|
||||||
return rb_nucomp_add(y, x);
|
return rb_nucomp_add(y, x);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -3351,7 +3350,6 @@ fix_mul(VALUE x, VALUE y)
|
|||||||
return DBL2NUM((double)FIX2LONG(x) * RFLOAT_VALUE(y));
|
return DBL2NUM((double)FIX2LONG(x) * RFLOAT_VALUE(y));
|
||||||
}
|
}
|
||||||
else if (RB_TYPE_P(y, T_COMPLEX)) {
|
else if (RB_TYPE_P(y, T_COMPLEX)) {
|
||||||
VALUE rb_nucomp_mul(VALUE, VALUE);
|
|
||||||
return rb_nucomp_mul(y, x);
|
return rb_nucomp_mul(y, x);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user