| Age | Commit message (Collapse) | Author |
|
if you see compiler errors due to this commit, you'd better to use array-modifying
functions, e.g. mrb_ary_set() or mrb_ary_push(), otherwise you might see nasty
GC bugs in the future. if you are sure what you are doing, replace `RARRAY_PTR(ary)`
by `mrb_ary_ptr(ary)->ptr`. but be warned.
|
|
Mostly renaming, except that the definition of struct accessor methods
is now done in a new function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
separate mrb_range_beg_len() into two: the one truncates range into the
sequence size, and the one does not. #values_at uses the latter.
|
|
Add API `mrb_get_values_at()` to mruby/range.h .
|
|
|
|
|
|
|
|
|
|
|
|
from @take-cheeze; ref #2052
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
Introduce mrb_str_cat_lit
|
|
|
|
|
|
|
|
- reduce compile time by a little bit (full-core: ~0.7s for me)
- thanks to 'include-what-you-use' for some help
- include Standard C header files before any other (coding style)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
identifier in mruby
|
|
|
|
|
|
|
|
|
|
strlen().
|
|
|
|
|
|
|
|
|