mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mrb_flo_to_str: internal linkage
This commit is contained in:
@@ -16,7 +16,6 @@ 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_float flo);
|
||||
|
||||
mrb_value mrb_fixnum_to_str(mrb_state *mrb, mrb_value x, int base);
|
||||
|
||||
|
||||
+1
-1
@@ -106,7 +106,7 @@ num_div(mrb_state *mrb, mrb_value x)
|
||||
* representation.
|
||||
*/
|
||||
|
||||
mrb_value
|
||||
static mrb_value
|
||||
mrb_flo_to_str(mrb_state *mrb, mrb_float flo)
|
||||
{
|
||||
double n = (double)flo;
|
||||
|
||||
Reference in New Issue
Block a user