diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-23 04:35:53 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-23 04:35:53 +0000 |
commit | 0dbdad759916fb214750882cf73f4d686b3f10aa (patch) | |
tree | c6b7e399bd690789bac7dff9cc25708b4053c5fd /include | |
parent | d73f08d56d92de1ad41abb877c2f9ed6c8c15d76 (diff) | |
download | ruby-0dbdad759916fb214750882cf73f4d686b3f10aa.tar.gz |
* struct.c (rb_struct_define_without_accessor): new function.
* range.c (range_alloc): removed.
(Init_Range): use rb_struct_define_without_accessor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index dbb9a9b07b..7af65d414f 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -542,6 +542,7 @@ VALUE rb_struct_getmember(VALUE, ID); VALUE rb_struct_iv_get(VALUE, const char*); VALUE rb_struct_s_members(VALUE); VALUE rb_struct_members(VALUE); +VALUE rb_struct_define_without_accessor(char *, VALUE, ...); /* thread.c */ typedef void rb_unblock_function_t(void *); typedef VALUE rb_blocking_function_t(void *); |