diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-28 01:32:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-28 01:32:15 +0000 |
commit | 1f2255604087e9a7d7efcb2df61b5ca0e2daa200 (patch) | |
tree | 6af1e6dfb53a9f62443335cce60a95938d1b88de /internal.h | |
parent | 9d10f9ee8fa07c173ec5da712d6e6d803a2e558b (diff) |
internal.h: moved RClass
* internal.h (struct RClass): moved from ruby/ruby.h to hide the
internals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal.h b/internal.h index c2e5a5b757..58ff89763c 100644 --- a/internal.h +++ b/internal.h @@ -479,6 +479,16 @@ struct rb_classext_struct { rb_alloc_func_t allocator; }; +typedef struct rb_classext_struct rb_classext_t; + +#undef RClass +struct RClass { + struct RBasic basic; + VALUE super; + rb_classext_t *ptr; + struct st_table *m_tbl; +}; + void rb_class_subclass_add(VALUE super, VALUE klass); void rb_class_remove_from_super_subclasses(VALUE); |