summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-23 04:35:53 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-23 04:35:53 +0000
commit0dbdad759916fb214750882cf73f4d686b3f10aa (patch)
treec6b7e399bd690789bac7dff9cc25708b4053c5fd /include/ruby
parentd73f08d56d92de1ad41abb877c2f9ed6c8c15d76 (diff)
* 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/ruby')
-rw-r--r--include/ruby/intern.h1
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 *);