summaryrefslogtreecommitdiff
path: root/symbol.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-14 07:23:01 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-14 07:23:01 (GMT)
commit5617e317713b55d544fb493d9346d2330c60c727 (patch)
tree7e3500fc55cc8e970e7ab840f2c3ef199a1a0d16 /symbol.c
parent18828191d4e88242d791ec65dee5b1912332de7a (diff)
symbol.c: rename rb_str_dynamic_intern
* iseq.c, marshal.c, string.c: use rb_str_intern instead of rb_str_dynamic_intern. * symbol.c (rb_str_intern): rename rb_str_dynamic_intern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/symbol.c b/symbol.c
index cc7da77..b2c9f45 100644
--- a/symbol.c
+++ b/symbol.c
@@ -155,7 +155,7 @@ rb_id_attrset(ID id)
/* make new dynamic symbol */
str = rb_str_dup(RSYMBOL((VALUE)id)->fstr);
rb_str_cat(str, "=", 1);
- id = SYM2ID(rb_str_dynamic_intern(str));
+ id = SYM2ID(rb_str_intern(str));
}
return id;
}
@@ -741,7 +741,7 @@ rb_gc_free_dsymbol(VALUE sym)
*/
VALUE
-rb_str_dynamic_intern(VALUE str)
+rb_str_intern(VALUE str)
{
#if USE_SYMBOL_GC
rb_encoding *enc, *ascii;