[ruby-cvs:62952] shyouhei:r55788 (trunk): hide struct internal [Feature #9916]

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Mon Aug 1 16:23:56 JST 2016


shyouhei	2016-08-01 16:23:56 +0900 (Mon, 01 Aug 2016)

  New Revision: 55788

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

  Log:
    hide struct internal [Feature #9916]
    
    * include/ruby/ruby.h (struct RStruct): no longer.
    
    * internal.h (struct RStruct): moved here.
    
    * struct.c (rb_struct_ptr): a compensation function for the lack
      of RSTRUCT_PTR.  But now that we have RSTRUCT_GET/SET, that must
      not be used anyway.  I mark this deprecated.  Dont use it.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/intern.h
    trunk/include/ruby/ruby.h
    trunk/internal.h
    trunk/struct.c


More information about the ruby-cvs mailing list