Merge pull request #2523 from kkkkkt/changed_string_method_comment

changed mrb_str_size and mrb_str_bytesize comments.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-08-11 17:22:37 +09:00
+2 -2
View File
@@ -428,7 +428,7 @@ mrb_str_plus_m(mrb_state *mrb, mrb_value self)
* call-seq:
* len = strlen(String("abcd"))
*
* Returns a new string object containing a copy of <i>str</i>.
* Returns the length of string in bytes.
*/
static mrb_value
mrb_str_bytesize(mrb_state *mrb, mrb_value self)
@@ -443,7 +443,7 @@ mrb_str_bytesize(mrb_state *mrb, mrb_value self)
* call-seq:
* len = strlen(String("abcd"))
*
* Returns a new string object containing a copy of <i>str</i>.
* Returns the length of string.
*/
static mrb_value
mrb_str_size(mrb_state *mrb, mrb_value self)