[ruby-cvs:61174] nobu:r54013 (trunk): win32ole_event.c: use rb_write_error_str

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Mar 7 10:58:09 JST 2016


nobu	2016-03-07 10:58:09 +0900 (Mon, 07 Mar 2016)

  New Revision: 54013

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

  Log:
    win32ole_event.c: use rb_write_error_str
    
    * ext/win32ole/win32ole_event.c (rescue_callback): use
      rb_write_error_str instead of rb_write_error, to respect
      the encoding and prevent the message from GC.
    * internal.h (rb_write_error_str): export.

  Modified files:
    trunk/ChangeLog
    trunk/ext/win32ole/win32ole_event.c
    trunk/internal.h


More information about the ruby-cvs mailing list