Remove mrb_str_buf_new() and MRB_STR_BUF_MIN_SIZE; close #5171

This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-11-22 22:54:21 +09:00
parent abdd006df3
commit 39a11f323e
9 changed files with 12 additions and 39 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ MRB_API mrb_value mrb_string_type(mrb_state *mrb, mrb_value str);
MRB_API mrb_value mrb_str_new_capa(mrb_state *mrb, size_t capa);
MRB_API mrb_value mrb_str_buf_new(mrb_state *mrb, size_t capa);
#define mrb_str_buf_new(mrb, capa) mrb_str_new_capa(mrb, (capa))
/* NULL terminated C string from mrb_value */
MRB_API const char *mrb_string_cstr(mrb_state *mrb, mrb_value str);