[ruby-cvs:65522] nobu:r58350 (trunk): ruby.h: check argc to rb_yield_values

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Apr 14 17:33:08 JST 2017


nobu	2017-04-14 17:33:08 +0900 (Fri, 14 Apr 2017)

  New Revision: 58350

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

  Log:
    ruby.h: check argc to rb_yield_values
    
    * include/ruby/ruby.h (rb_yield_values): check if argc matches the
      number of variadic arguments, and replace with rb_yield_values2.

  Modified files:
    trunk/include/ruby/ruby.h
    trunk/vm_eval.c


More information about the ruby-cvs mailing list