Commit 881f054c authored by cremno's avatar cremno

remove unused `mrb_str_body`

parent 023908af
......@@ -360,21 +360,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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment