| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Float#round fix bug for infinity and nan cases
|
|
Use bool-macro instead of magic-number
|
|
|
|
|
|
|
|
Accepting String value for mrb_get_args("i")
causes unintentional expression.
* `"str" * "3"` => `"strstrstr"`
This change prevents String->Integer conversion for mrb_get_args("i")
and fixes above problem.
See also:
https://github.com/mruby/mruby/issues/1903
|
|
|
|
|
|
|
|
|
|
|
|
|
|
strlen()
|
|
|
|
|
|
Reduce implicit type casts.
|
|
|
|
|
|
fix bool number to macro
|
|
fix bug when `0 + other object`
|
|
fix bug when `0 * other object`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add MRB_INT_BIT
|
|
add including limits.h.
|
|
Because Android's libc(bionic) defines SIZE_MAX at limits.h.
|
|
Suppress warnings.
|
|
|
|
|
|
|
|
|
|
|
|
set bit field for mrb_bool
|
|
|
|
|
|
|
|
|
|
|
|
use mrb_str_cat_lit for literals
|