[ruby-cvs:54878] nobu:r47730 (trunk): ruby.h: warn untyped Data

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Sep 29 00:27:25 JST 2014


nobu	2014-09-29 00:27:24 +0900 (Mon, 29 Sep 2014)

  New Revision: 47730

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

  Log:
    ruby.h: warn untyped Data
    
    * include/ruby/ruby.h (rb_data_object_alloc_warning): warn
      Data_Wrap_Struct and Data_Make_Struct only if
      RUBY_UNTYPED_DATA_WARNING is set to 1.
    
    * include/ruby/ruby.h (rb_data_object_get_warning): ditto for
      Data_Get_Struct.

  Modified files:
    trunk/ext/digest/md5/md5init.c
    trunk/include/ruby/ruby.h
    trunk/marshal.c


More information about the ruby-cvs mailing list