diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-05-22 14:16:55 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-05-22 14:16:55 +0900 |
| commit | 5c7fe225a6d675f3e213f8792f116035a35c63a4 (patch) | |
| tree | dffa11b3f82bb6d516b7f0eb710e9b97e08d07bc /include | |
| parent | 328563995f7c817fc4ec1e92ffcadfde101ced06 (diff) | |
| download | mruby-5c7fe225a6d675f3e213f8792f116035a35c63a4.tar.gz mruby-5c7fe225a6d675f3e213f8792f116035a35c63a4.zip | |
fp_fmt.c: remove `mrb_float_to_cstr()`.
The function was intended to be a utility function for `mruby-sprintf`.
The functionality was integrated into `sprintf.c`.
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/numeric.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/mruby/numeric.h b/include/mruby/numeric.h index 8f8635189..4e3e8976a 100644 --- a/include/mruby/numeric.h +++ b/include/mruby/numeric.h @@ -171,8 +171,6 @@ int mrb_format_float(mrb_float f, char *buf, size_t buf_size, char fmt, int prec /* 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) -/* ArgumentError if format string doesn't match /%(\.[0-9]+)?[aAeEfFgG]/ */ -int mrb_float_to_cstr(mrb_state *mrb, char *buf, size_t len, const char *fmt, mrb_float f); #endif /* MRB_NO_FLOAT */ |
