Change the second argument of mrb_flo_to_str().

Export mrb_flo_to_str() as API.
This commit is contained in:
Masaki Muranaka
2013-03-29 21:56:41 +09:00
parent 710f625254
commit f82ae7653a
2 changed files with 11 additions and 3 deletions
+2
View File
@@ -16,6 +16,8 @@ extern "C" {
#define FIXABLE(f) (POSFIXABLE(f) && NEGFIXABLE(f))
mrb_value mrb_flo_to_fixnum(mrb_state *mrb, mrb_value val);
mrb_value mrb_flo_to_str(mrb_state *mrb, mrb_value flo, int max_digit);
mrb_value mrb_fix2str(mrb_state *mrb, mrb_value x, int base);
mrb_value mrb_fixnum_plus(mrb_state *mrb, mrb_value x, mrb_value y);