Commit 4c0f40f6 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2523 from kkkkkt/changed_string_method_comment

changed mrb_str_size and mrb_str_bytesize comments.
parents 2b74fa54 513be005
......@@ -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)
......
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