diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/string.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/string.c b/src/string.c index 6570c89fb..a22060e37 100644 --- a/src/string.c +++ b/src/string.c @@ -361,21 +361,6 @@ str_make_shared(mrb_state *mrb, struct RString *s) } /* - * call-seq: - * char* str = String("abcd"), len=strlen("abcd") - * - * Returns a new string object containing a copy of <i>str</i>. - */ -const char* -mrb_str_body(mrb_value str, int *len_p) -{ - struct RString *s = mrb_str_ptr(str); - - *len_p = RSTR_LEN(s); - return RSTR_PTR(s); -} - -/* * call-seq: (Caution! String("abcd") change) * String("abcdefg") = String("abcd") + String("efg") * |
