[ruby-cvs:54867] nobu:r47719 (trunk): digest.c: typed data

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Sep 27 10:30:17 JST 2014


nobu	2014-09-27 10:30:16 +0900 (Sat, 27 Sep 2014)

  New Revision: 47719

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

  Log:
    digest.c: typed data
    
    * ext/digest/digest.c (rb_digest_base_alloc): use typed data.
    
    * ext/digest/digest.c (rb_digest_base_copy): fail unless original
      object has same algorithm.

  Modified files:
    trunk/ext/digest/digest.c
    trunk/test/digest/test_digest.rb


More information about the ruby-cvs mailing list