rename API mrb_str_dup_static() -> mrb_str_pool()

This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-11-20 08:37:16 +09:00
parent 217595c325
commit fb386011df
5 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -440,7 +440,7 @@ new_lit(codegen_scope *s, mrb_value val)
switch (mrb_type(val)) {
case MRB_TT_STRING:
*pv = mrb_str_dup_static(s->mrb, val);
*pv = mrb_str_pool(s->mrb, val);
break;
case MRB_TT_FLOAT: