[ruby-cvs:50304] ko1:r43162 (trunk): * iseq.c, internal.h: change to public (but internal) functions

ko1 at ruby-lang.org ko1 at ruby-lang.org
Mon Oct 7 14:12:09 JST 2013


ko1	2013-10-07 14:12:08 +0900 (Mon, 07 Oct 2013)

  New Revision: 43162

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43162

  Log:
    * iseq.c, internal.h: change to public (but internal) functions
    * VALUE rb_iseq_path(VALUE iseqval);
    * VALUE rb_iseq_absolute_path(VALUE iseqval);
    * VALUE rb_iseq_label(VALUE iseqval);
    * VALUE rb_iseq_base_label(VALUE iseqval);
    * VALUE rb_iseq_first_lineno(VALUE iseqval);
      And new (temporary) function:
    * VALUE rb_iseq_klass(VALUE iseqval);
    * iseq.c. vm_core.h (int rb_iseq_first_lineno): remove
      function `int rb_iseq_first_lineno(const rb_iseq_t *iseq)'.
      Use `VALUE rb_iseq_first_lineno(VALUE iseqval)' instead.
    * proc.c. vm_insnhelper.c, vm_method.c: catch up this change.

  Modified files:
    trunk/ChangeLog
    trunk/internal.h
    trunk/iseq.c
    trunk/proc.c
    trunk/vm_core.h
    trunk/vm_insnhelper.c
    trunk/vm_method.c


More information about the ruby-cvs mailing list