summaryrefslogtreecommitdiffstats
path: root/intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-21 08:29:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-21 08:29:06 +0000
commit35a47376696db6a84cb2c5c707a370120165bc00 (patch)
tree8a5568fbc4fe82c986a8c65f0cee8d5ae39c9817 /intern.h
parente22db0e50db0ff719be1f4caf6a1df9da6d11398 (diff)
downloadruby-35a47376696db6a84cb2c5c707a370120165bc00.tar.gz
ruby-35a47376696db6a84cb2c5c707a370120165bc00.tar.xz
ruby-35a47376696db6a84cb2c5c707a370120165bc00.zip
* class.c (rb_check_inheritable): new function. [ruby-dev:22316]
* intern.h: add prototype. * eval.c (superclass): use rb_check_inheritable(). * object.c (rb_class_initialize): check argument validity. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern.h b/intern.h
index 6cdba0840..5d7e9e78f 100644
--- a/intern.h
+++ b/intern.h
@@ -102,6 +102,7 @@ VALUE rb_class_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_module_new _((void));