ruby-changes:46852
From: ko1 <ko1@a...>
Date: Tue, 30 May 2017 16:06:03 +0900 (JST)
Subject: [ruby-changes:46852] ko1:r58967 (trunk): add parameter names.
ko1 2017-05-30 16:05:58 +0900 (Tue, 30 May 2017) New Revision: 58967 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58967 Log: add parameter names. * vm_core.h: add parameter names for rb_iseq_new*. Modified files: trunk/vm_core.h Index: vm_core.h =================================================================== --- vm_core.h (revision 58966) +++ vm_core.h (revision 58967) @@ -842,11 +842,11 @@ typedef enum { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L842 RUBY_SYMBOL_EXPORT_BEGIN /* node -> iseq */ -rb_iseq_t *rb_iseq_new(NODE*, VALUE, VALUE, VALUE, const rb_iseq_t *parent, enum iseq_type); -rb_iseq_t *rb_iseq_new_top(NODE *node, VALUE name, VALUE path, VALUE absolute_path, const rb_iseq_t *parent); -rb_iseq_t *rb_iseq_new_main(NODE *node, VALUE path, VALUE absolute_path, const rb_iseq_t *parent); -rb_iseq_t *rb_iseq_new_with_bopt(NODE*, VALUE, VALUE, VALUE, VALUE, VALUE, enum iseq_type, VALUE); -rb_iseq_t *rb_iseq_new_with_opt(NODE*, VALUE, VALUE, VALUE, VALUE, const rb_iseq_t *parent, enum iseq_type, const rb_compile_option_t*); +rb_iseq_t *rb_iseq_new (NODE *node, VALUE name, VALUE path, VALUE absolute_path, const rb_iseq_t *parent, enum iseq_type); +rb_iseq_t *rb_iseq_new_top (NODE *node, VALUE name, VALUE path, VALUE absolute_path, const rb_iseq_t *parent); +rb_iseq_t *rb_iseq_new_main (NODE *node, VALUE path, VALUE absolute_path, const rb_iseq_t *parent); +rb_iseq_t *rb_iseq_new_with_opt(NODE* node, VALUE name, VALUE path, VALUE absolute_path, VALUE first_lineno, + const rb_iseq_t *parent, enum iseq_type, const rb_compile_option_t*); /* src -> iseq */ rb_iseq_t *rb_iseq_compile(VALUE src, VALUE file, VALUE line); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/