diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-29 09:42:45 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-29 09:42:45 +0000 |
commit | 52811ab159e7a9927eba9aa30bc14684ff0852fe (patch) | |
tree | c64356b1bb1edbffaa1e63999d908565bd27b77f /ChangeLog | |
parent | 5aa527fadee91ef03e4a3acb173b8da5f56a43ac (diff) | |
download | ruby-52811ab159e7a9927eba9aa30bc14684ff0852fe.tar.gz |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Tue Oct 29 18:37:33 2013 Koichi Sasada <ko1@atdot.net> + + * 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. + Tue Oct 29 16:49:03 2013 Koichi Sasada <ko1@atdot.net> * gc.c (vm_malloc_increase): decrease it more carefully. |