summaryrefslogtreecommitdiffhomepage
path: root/src/vm.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-09-25 21:46:26 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-09-25 23:52:00 +0900
commita365f9a67d4bf082ee9a414fe247bd18148d7081 (patch)
tree83a9b4aaf39757b26093eb09951785d447893eda /src/vm.c
parent3c1a2612e739a73c4c1be090aecfcbd2e9c0a7f8 (diff)
downloadmruby-a365f9a67d4bf082ee9a414fe247bd18148d7081.tar.gz
mruby-a365f9a67d4bf082ee9a414fe247bd18148d7081.zip
Rename symbol-to-string functions; close #4684
* mrb_sym2name -> mrb_sym_name * mrb_sym2name_len -> mrb_sym_name_len * mrb_sym2str -> mrb_sym_str
Diffstat (limited to 'src/vm.c')
-rw-r--r--src/vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm.c b/src/vm.c
index ec19d3eec..6d342a381 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -2156,7 +2156,7 @@ RETRY_TRY_BLOCK:
}
pc = ci->pc;
ci = mrb->c->ci;
- DEBUG(fprintf(stderr, "from :%s\n", mrb_sym2name(mrb, ci->mid)));
+ DEBUG(fprintf(stderr, "from :%s\n", mrb_sym_name(mrb, ci->mid)));
proc = mrb->c->ci->proc;
irep = proc->body.irep;
pool = irep->pool;