From 80c7472281eb0e846992abce8a68a09f293cbb43 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 7 Mar 2016 04:28:32 +0000 Subject: internal.h: functions for class internals * internal.h: move function declarations for class internals from include/ruby/intern.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ include/ruby/intern.h | 4 ---- internal.h | 4 ++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0494527b86..2dc4cbd558 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 7 13:28:30 2016 Nobuyoshi Nakada + + * internal.h: move function declarations for class internals from + include/ruby/intern.h. + Mon Mar 7 10:58:07 2016 Nobuyoshi Nakada * ext/win32ole/win32ole_event.c (rescue_callback): use diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 99b850c895..816bc7e140 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -186,20 +186,16 @@ VALUE rb_Complex(VALUE, VALUE); DEPRECATED(VALUE rb_complex_set_real(VALUE, VALUE)); DEPRECATED(VALUE rb_complex_set_imag(VALUE, VALUE)); /* class.c */ -VALUE rb_class_boot(VALUE); VALUE rb_class_new(VALUE); VALUE rb_mod_init_copy(VALUE, VALUE); VALUE rb_singleton_class_clone(VALUE); void rb_singleton_class_attached(VALUE,VALUE); -VALUE rb_make_metaclass(VALUE, VALUE); void rb_check_inheritable(VALUE); -VALUE rb_class_inherited(VALUE, VALUE); VALUE rb_define_class_id(ID, VALUE); VALUE rb_define_class_id_under(VALUE, ID, VALUE); VALUE rb_module_new(void); VALUE rb_define_module_id(ID); VALUE rb_define_module_id_under(VALUE, ID); -VALUE rb_include_class_new(VALUE, VALUE); VALUE rb_mod_included_modules(VALUE); VALUE rb_mod_include_p(VALUE, VALUE); VALUE rb_mod_ancestors(VALUE); diff --git a/internal.h b/internal.h index dfd09844c8..edf7f4f6c4 100644 --- a/internal.h +++ b/internal.h @@ -694,6 +694,10 @@ VALUE rb_integer_float_cmp(VALUE x, VALUE y); VALUE rb_integer_float_eq(VALUE x, VALUE y); /* class.c */ +VALUE rb_class_boot(VALUE); +VALUE rb_class_inherited(VALUE, VALUE); +VALUE rb_make_metaclass(VALUE, VALUE); +VALUE rb_include_class_new(VALUE, VALUE); void rb_class_foreach_subclass(VALUE klass, void (*f)(VALUE, VALUE), VALUE); void rb_class_detach_subclasses(VALUE); void rb_class_detach_module_subclasses(VALUE); -- cgit v1.2.3