diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-31 19:17:18 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-31 19:17:18 +0000 |
commit | 258131446c394684678736507723ab404c892301 (patch) | |
tree | d5fec98a61ee1ad347f10c824c95490a5e98b6f7 /internal.h | |
parent | 3d410dde5c35e60fcfdcb3640ab3edcb40550055 (diff) | |
download | ruby-258131446c394684678736507723ab404c892301.tar.gz |
* class.c (rb_class_has_methods): added to reduce depenedency
to internal class data structure.
* internal.h: ditto.
* hash.c (has_extra_methods): use added function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 95ce1f0daa..01485dee6c 100644 --- a/internal.h +++ b/internal.h @@ -667,6 +667,8 @@ VALUE rb_singleton_class_clone_and_attach(VALUE obj, VALUE attach); VALUE rb_singleton_class_get(VALUE obj); void Init_class_hierarchy(void); +int rb_class_has_methods(VALUE c); + /* compar.c */ VALUE rb_invcmp(VALUE, VALUE); |