[ruby-cvs:50605] ko1:r43463 (trunk): * include/ruby/ruby.h: introduce new flags for T_TYPEDDATA.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Oct 29 18:42:46 JST 2013


ko1	2013-10-29 18:42:45 +0900 (Tue, 29 Oct 2013)

  New Revision: 43463

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

  Log:
    * include/ruby/ruby.h: introduce new flags for T_TYPEDDATA.
      * RUBY_TYPED_FREE_IMMEDIATELY: free the data given by DATA_PTR()
        with dfree function immediately.  Otherwise (default), the data
        freed at finalizaton point.
      * RUBY_TYPED_WB_PROTECTED: make this object with FL_WB_PROTECT
        (not shady).
    * gc.c (obj_free): support RUBY_TYPED_FREE_IMMEDIATELY.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list