mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
d73f08d56d
commit
0dbdad7599
4 changed files with 45 additions and 24 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue