mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Rename API mrb_str_cat2() to mrb_str_cat_cstr(). This is for naming orthogonality. mrb_str_cat2() is also left for backward compatibility.
This commit is contained in:
+1
-1
@@ -2548,7 +2548,7 @@ mrb_str_cat(mrb_state *mrb, mrb_value str, const char *ptr, mrb_int len)
|
||||
}
|
||||
|
||||
mrb_value
|
||||
mrb_str_cat2(mrb_state *mrb, mrb_value str, const char *ptr)
|
||||
mrb_str_cat_cstr(mrb_state *mrb, mrb_value str, const char *ptr)
|
||||
{
|
||||
return mrb_str_cat(mrb, str, ptr, strlen(ptr));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user