| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
mrb_define_method setting mrb->proc_class for method proc
|
|
|
|
when class nothing
|
|
|
|
|
|
Class.new do not call `class_eval'
|
|
and set self for block argument
|
|
for block argument
|
|
|
|
that not have methods each other
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MRI:
"str" * "3"
=> TypeError: no implicit conversion of String into Integer
mruby:
"str" * "3"
=> TypeError: String can't be coerced into int
|
|
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
|
|
|
|
|
|
|
|
|
|
Make type casts safer
|
|
|
|
|
|
|
|
use flags 4 for *this object is embed*
use flags 8~64 for *embed string length*
|
|
According to CONTRIBUTING.md,
Don't use C++ style comments
/* This is the prefered comment style */
Use C++ style comments only for temporary comment e.g. commenting out some code lines.
|
|
|
|
|
|
|
|
|
|
|
|
|