[ruby-cvs:51725] nobu:r44579 (trunk): ext: use PRIsVALUE for rb_raise and rb_warn

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Jan 13 09:57:39 JST 2014


nobu	2014-01-13 09:57:38 +0900 (Mon, 13 Jan 2014)

  New Revision: 44579

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

  Log:
    ext: use PRIsVALUE for rb_raise and rb_warn
    
    * ext/bigdecimal/bigdecimal.c (BigDecimal_new): use PRIsVALUE for
      rb_raise() and rb_warn().
    * ext/openssl/ossl_cipher.c (ossl_cipher_init): ditto.
    * ext/racc/cparse/cparse.c (extract_user_token): ditto.
    * ext/syslog/syslog.c (mSyslog_log): ditto.
    
    * ext/openssl/ossl.h (OSSL_Check_Kind, OSSL_Check_Instance): now
      ossl_raise() also accepts PRIsVALUE.
    * ext/openssl/ossl_asn1.c (ossl_asn1_default_tag):

  Modified files:
    trunk/ext/bigdecimal/bigdecimal.c
    trunk/ext/openssl/ossl.h
    trunk/ext/openssl/ossl_asn1.c
    trunk/ext/openssl/ossl_cipher.c
    trunk/ext/racc/cparse/cparse.c
    trunk/ext/syslog/syslog.c


More information about the ruby-cvs mailing list