From a869e4e540f4acba2d0a5dc0af3344424e61b75b Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Tue, 15 Mar 2022 19:10:49 +0900 Subject: [PATCH] numeric.h: remove obsolete functions. - mrb_flo_to_fixnum() - mrb_to_flo() This commit removes weird abbreviation `_flo`. --- include/mruby/numeric.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/mruby/numeric.h b/include/mruby/numeric.h index 99b642172..425b0253d 100644 --- a/include/mruby/numeric.h +++ b/include/mruby/numeric.h @@ -170,10 +170,6 @@ mrb_float mrb_div_float(mrb_float x, mrb_float y); mrb_value mrb_float_to_str(mrb_state *mrb, mrb_value x, const char *fmt); int mrb_format_float(mrb_float f, char *buf, size_t buf_size, char fmt, int prec, char sign); -/* obsolete functions; will be removed */ -#define mrb_flo_to_fixnum(mrb, val) mrb_float_to_integer(mrb, val) -#define mrb_to_flo(mrb, x) mrb_as_float(mrb, x) - #endif /* MRB_NO_FLOAT */ MRB_END_DECL