[ruby-cvs:59510] nobu:r52359 (trunk): ENC_ASSERT

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Oct 29 23:31:49 JST 2015


nobu	2015-10-29 23:31:48 +0900 (Thu, 29 Oct 2015)

  New Revision: 52359

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

  Log:
    ENC_ASSERT
    
    * encoding.c (ENC_ASSERT): make an expression, and prevent the
      argument from further expansions.
    
    * encoding.c (rb_enc_check_str): assert before using.

  Modified files:
    trunk/encoding.c


More information about the ruby-cvs mailing list