ruby-cvs:21240
From: akr ruby-lang.org
Date: Fri, 23 Nov 2007 16:00:51 +0900 (JST)
Subject: [ruby-cvs:21240] Ruby:r14003 (trunk): * struct.c (rb_struct_alloc_noinit): new function.
akr 2007-11-23 16:00:50 +0900 (Fri, 23 Nov 2007)
New Revision: 14003
Modified files:
trunk/ChangeLog
trunk/include/ruby/intern.h
trunk/range.c
trunk/struct.c
Log:
* struct.c (rb_struct_alloc_noinit): new function.
(rb_struct_define_without_accessor): add allocator to the arguments.
* range.c (range_alloc): re-introduced using rb_struct_alloc_noinit.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14003&r2=14002
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/struct.c?r1=14003&r2=14002
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/range.c?r1=14003&r2=14002
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/intern.h?r1=14003&r2=14002