mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Global renaming regarding integer and float.
Consistent number conversion function names: * `mrb_value` to immediate (C) value * `mrb_int()` -> `mrb_as_int()` * `mrb_to_flo()` -> `mrb_as_float()` * `mrb_value` to `mrb_value` (converted) * `mrb_to_int()' * `mrb_Integer()` - removed * `mrb_Float()` -> `mrb_to_float` Consistent function name (avoid `_flo` suffix): * `mrb_div_flo()` -> `mrb_div_float`
This commit is contained in:
@@ -35,7 +35,7 @@ str_casecmp_p(const char *s1, mrb_int len1, const char *s2, mrb_int len2)
|
||||
static mrb_value
|
||||
int_chr_binary(mrb_state *mrb, mrb_value num)
|
||||
{
|
||||
mrb_int cp = mrb_int(mrb, num);
|
||||
mrb_int cp = mrb_as_int(mrb, num);
|
||||
char c;
|
||||
mrb_value str;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user