summaryrefslogtreecommitdiffhomepage
path: root/src/proc.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-11-29 08:47:28 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-11-29 08:47:28 +0900
commit9c6398a444259a82b4ed531323b153bbce03af62 (patch)
treec5a2ba787a39c09434242f72eb83b180f8585489 /src/proc.c
parent9ac386923d6a2dc62b5ec61fa8bcbc2f1f551be9 (diff)
downloadmruby-9c6398a444259a82b4ed531323b153bbce03af62.tar.gz
mruby-9c6398a444259a82b4ed531323b153bbce03af62.zip
rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513
Diffstat (limited to 'src/proc.c')
-rw-r--r--src/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proc.c b/src/proc.c
index cfb677f0a..471126b6d 100644
--- a/src/proc.c
+++ b/src/proc.c
@@ -204,8 +204,8 @@ mrb_init_proc(mrb_state *mrb)
mrb_define_method(mrb, mrb->proc_class, "arity", mrb_proc_arity, MRB_ARGS_NONE());
m = mrb_proc_new(mrb, call_irep);
- mrb_define_method_raw(mrb, mrb->proc_class, mrb_intern2(mrb, "call", 4), m);
- mrb_define_method_raw(mrb, mrb->proc_class, mrb_intern2(mrb, "[]", 2), m);
+ mrb_define_method_raw(mrb, mrb->proc_class, mrb_intern(mrb, "call", 4), m);
+ mrb_define_method_raw(mrb, mrb->proc_class, mrb_intern(mrb, "[]", 2), m);
mrb_define_class_method(mrb, mrb->kernel_module, "lambda", proc_lambda, MRB_ARGS_NONE()); /* 15.3.1.2.6 */
mrb_define_method(mrb, mrb->kernel_module, "lambda", proc_lambda, MRB_ARGS_NONE()); /* 15.3.1.3.27 */