[ruby-cvs:66802] nobu:r59624 (trunk): ruby.h: fix rb_scan_args_trail_idx

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Aug 20 08:39:03 JST 2017


nobu	2017-08-20 08:39:03 +0900 (Sun, 20 Aug 2017)

  New Revision: 59624

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59624

  Log:
    ruby.h: fix rb_scan_args_trail_idx
    
    * include/ruby/ruby.h (rb_scan_args_trail_idx): fix the case both
      of optional and rest arguments are defined.
      [ruby-core:82427] [Bug #13830]
    
    * include/ruby/ruby.h (rb_scan_args_n_trail): ditto.

  Added directories:
    trunk/ext/-test-/scan_args/
  Added files:
    trunk/ext/-test-/scan_args/extconf.rb
    trunk/ext/-test-/scan_args/scan_args.c
    trunk/test/-ext-/test_scan_args.rb
  Modified files:
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list