do not use "to_f" to retrieve floats in mrb_get_args(); close #1965

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-03-28 11:04:15 +09:00
parent b8e434a5e6
commit 514cafe6c3
3 changed files with 3 additions and 20 deletions
+1
View File
@@ -23,6 +23,7 @@ mrb_value mrb_fixnum_plus(mrb_state *mrb, mrb_value x, mrb_value y);
mrb_value mrb_fixnum_minus(mrb_state *mrb, mrb_value x, mrb_value y);
mrb_value mrb_fixnum_mul(mrb_state *mrb, mrb_value x, mrb_value y);
mrb_value mrb_num_div(mrb_state *mrb, mrb_value x, mrb_value y);
mrb_float mrb_to_flo(mrb_state *mrb, mrb_value x);
#if defined(__cplusplus)
} /* extern "C" { */