ruby-cvs:20650
From: akr ruby-lang.org
Date: Sun, 9 Sep 2007 00:07:19 +0900 (JST)
Subject: [ruby-cvs:20650] Ruby:r13413 (trunk): * eval_method.ci (rb_get_alloc_func): new function to get allocation
akr 2007-09-09 00:07:18 +0900 (Sun, 09 Sep 2007)
New Revision: 13413
Modified files:
trunk/ChangeLog
trunk/eval_method.ci
trunk/include/ruby/intern.h
trunk/inits.c
trunk/marshal.c
trunk/range.c
Log:
* eval_method.ci (rb_get_alloc_func): new function to get allocation
function.
* include/ruby/intern.h (rb_alloc_func_t): declared.
(rb_define_alloc_func): declared.
(rb_marshal_define_compat): declared.
* range.c: use T_STRUCT for Range.
* inits.c: move Init_marshal() prior to Init_Range() because
Init_Range calls rb_marshal_define_compat which needs
marshal's compat_allocator_tbl initialized.
* marshal.c: support marshal format compatibility layer designed for
marshaling T_STRUCT Range using T_OBJECT format.
(rb_marshal_define_compat): defined.
[ruby-dev:31710]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13413&r2=13412
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/eval_method.ci?r1=13413&r2=13412
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/range.c?r1=13413&r2=13412
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/marshal.c?r1=13413&r2=13412
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/inits.c?r1=13413&r2=13412
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/intern.h?r1=13413&r2=13412