Add MRB_WORD_BOXING mode (represent mrb_value as a word)

This commit is contained in:
kimu_shu
2013-05-26 09:43:30 +09:00
parent d78f23d28b
commit e720782f81
15 changed files with 411 additions and 146 deletions
+1 -1
View File
@@ -2222,7 +2222,7 @@ mrb_str_to_dbl(mrb_state *mrb, mrb_value str, int badcheck)
static mrb_value
mrb_str_to_f(mrb_state *mrb, mrb_value self)
{
return mrb_float_value(mrb_str_to_dbl(mrb, self, 0/*Qfalse*/));
return mrb_float_value(mrb, mrb_str_to_dbl(mrb, self, 0/*Qfalse*/));
}
/* 15.2.10.5.40 */