ruby-changes:41132
From: nobu <ko1@a...>
Date: Sun, 20 Dec 2015 00:14:57 +0900 (JST)
Subject: [ruby-changes:41132] nobu:r53205 (trunk): fix commit miss
nobu 2015-12-20 00:14:50 +0900 (Sun, 20 Dec 2015) New Revision: 53205 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53205 Log: fix commit miss * proc.c: fix expanded name. Modified files: trunk/proc.c Index: proc.c =================================================================== --- proc.c (revision 53204) +++ proc.c (revision 53205) @@ -1026,7 +1026,7 @@ iseq_location(const rb_iseq_t *iseq) https://github.com/ruby/ruby/blob/trunk/proc.c#L1026 VALUE rb_proc_location(VALUE self) { - return iseq_location(rb_get_proc_iseq(self, 0)); + return iseq_location(rb_proc_get_iseq(self, 0)); } static VALUE @@ -1062,7 +1062,7 @@ static VALUE https://github.com/ruby/ruby/blob/trunk/proc.c#L1062 rb_proc_parameters(VALUE self) { int is_proc; - const rb_iseq_t *iseq = rb_get_proc_iseq(self, &is_proc); + const rb_iseq_t *iseq = rb_proc_get_iseq(self, &is_proc); if (!iseq) { return unnamed_parameters(rb_proc_arity(self)); } @@ -2292,7 +2292,7 @@ method_def_iseq(const rb_method_definiti https://github.com/ruby/ruby/blob/trunk/proc.c#L2292 case VM_METHOD_TYPE_ISEQ: return rb_iseq_check(def->body.iseq.iseqptr); case VM_METHOD_TYPE_BMETHOD: - return rb_get_proc_iseq(def->body.proc, 0); + return rb_proc_get_iseq(def->body.proc, 0); case VM_METHOD_TYPE_ALIAS: return method_def_iseq(def->body.alias.original_me->def); case VM_METHOD_TYPE_CFUNC: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/