Feature #6626 » 0001-string.c-rb_str_subpos.patch
include/ruby/intern.h | ||
---|---|---|
long rb_str_sublen(VALUE, long);
|
||
VALUE rb_str_substr(VALUE, long, long);
|
||
VALUE rb_str_subseq(VALUE, long, long);
|
||
char *rb_str_subpos(VALUE, long, long*);
|
||
void rb_str_modify(VALUE);
|
||
void rb_str_modify_expand(VALUE, long);
|
||
VALUE rb_str_freeze(VALUE);
|
string.c | ||
---|---|---|
return str2;
|
||
}
|
||
static char *
|
||
char *
|
||
rb_str_subpos(VALUE str, long beg, long *lenp)
|
||
{
|
||
long len = *lenp;
|