Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
513be005
Commit
513be005
authored
Aug 11, 2014
by
kkkkkt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed mrb_str_size and mrb_str_bytesize comments.
parent
2b74fa54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/string.c
src/string.c
+2
-2
No files found.
src/string.c
View file @
513be005
...
@@ -428,7 +428,7 @@ mrb_str_plus_m(mrb_state *mrb, mrb_value self)
...
@@ -428,7 +428,7 @@ mrb_str_plus_m(mrb_state *mrb, mrb_value self)
* call-seq:
* call-seq:
* len = strlen(String("abcd"))
* 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
static
mrb_value
mrb_str_bytesize
(
mrb_state
*
mrb
,
mrb_value
self
)
mrb_str_bytesize
(
mrb_state
*
mrb
,
mrb_value
self
)
...
@@ -443,7 +443,7 @@ mrb_str_bytesize(mrb_state *mrb, mrb_value self)
...
@@ -443,7 +443,7 @@ mrb_str_bytesize(mrb_state *mrb, mrb_value self)
* call-seq:
* call-seq:
* len = strlen(String("abcd"))
* len = strlen(String("abcd"))
*
*
* Returns
a new string object containing a copy of <i>str</i>
.
* Returns
the length of string
.
*/
*/
static
mrb_value
static
mrb_value
mrb_str_size
(
mrb_state
*
mrb
,
mrb_value
self
)
mrb_str_size
(
mrb_state
*
mrb
,
mrb_value
self
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment