[ruby-cvs:74180] mrkn:r67076 (trunk): Introduce RVALUE_EMBED_LEN_MAX to remove a magic number

mrkn at ruby-lang.org mrkn at ruby-lang.org
Fri Feb 15 00:29:04 JST 2019


mrkn	2019-02-15 00:29:04 +0900 (Fri, 15 Feb 2019)

  New Revision: 67076

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

  Log:
    Introduce RVALUE_EMBED_LEN_MAX to remove a magic number
    
    * include/ruby/ruby.h: replace a magic number with RVALUE_EMBED_LEN_MAX,
      which indicates the number of VALUE elements can be embedded in a RVALUE.
    
    * internal.h: ditto.

  Modified files:
    trunk/include/ruby/ruby.h
    trunk/internal.h


More information about the ruby-cvs mailing list