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
db7b01c0
Commit
db7b01c0
authored
Aug 04, 2014
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
turn string obsolete functions into macros
parent
6aa6e75f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
16 deletions
+3
-16
include/mruby/string.h
include/mruby/string.h
+3
-16
No files found.
include/mruby/string.h
View file @
db7b01c0
...
...
@@ -108,22 +108,9 @@ mrb_value mrb_str_dump(mrb_state *mrb, mrb_value str);
mrb_value
mrb_str_inspect
(
mrb_state
*
mrb
,
mrb_value
str
);
/* For backward compatibility */
static
inline
mrb_value
mrb_str_cat2
(
mrb_state
*
mrb
,
mrb_value
str
,
const
char
*
ptr
)
{
return
mrb_str_cat_cstr
(
mrb
,
str
,
ptr
);
}
static
inline
mrb_value
mrb_str_buf_cat
(
mrb_state
*
mrb
,
mrb_value
str
,
const
char
*
ptr
,
size_t
len
)
{
return
mrb_str_cat
(
mrb
,
str
,
ptr
,
len
);
}
static
inline
mrb_value
mrb_str_buf_append
(
mrb_state
*
mrb
,
mrb_value
str
,
mrb_value
str2
)
{
return
mrb_str_cat_str
(
mrb
,
str
,
str2
);
}
#define mrb_str_cat2(mrb, str, ptr) mrb_str_cat_cstr(mrb, str, ptr)
#define mrb_str_buf_cat(mrb, str, ptr, len) mrb_str_cat(mrb, str, ptr, len)
#define mrb_str_buf_append(mrb, str, str2) mrb_str_cat_str(mrb, str, str2)
#if defined(__cplusplus)
}
/* extern "C" { */
...
...
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