| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
Refactor string.c
|
|
Fix indents in mrb_str_inspect() of string.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define `resize_capa` as a function
|
|
remove `mrb_str_offset`
|
|
|
|
|
|
|
|
This increases readability and maintainability,
and it also doesn't use reserved identifiers.
|
|
The new name is better and less confusing, because:
- `mrb_str_append` calls `mrb_str_to_str` and this function doesn't
- `mrb_str_buf_append` _is_ `mrb_str_cat` for `mrb_value` strings
|
|
|
|
|
|
|
|
It does the same as `mrb_str_cat`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This has a possibility of naming conflicts
|
|
|
|
|
|
strlen()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use flags 4 for *this object is embed*
use flags 8~64 for *embed string length*
|
|
null-terminated string should not be included in search targets.
|
|
ref #1782
|