summaryrefslogtreecommitdiff
path: root/intern.h
diff options
context:
space:
mode:
authormichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-03 10:00:45 +0000
committermichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-03 10:00:45 +0000
commit056817564e8fcf98a35a1f52a4d4d1d0ca6a9fe4 (patch)
treedf6516e6111b12c97a1871858495a7d48154c5f2 /intern.h
parentc10890f6d82b0ee0bd80f5bb28927e09915a79d9 (diff)
rb_check_frozen has been added (ruby-core:412)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern.h b/intern.h
index 61234db..acbf33d 100644
--- a/intern.h
+++ b/intern.h
@@ -124,12 +124,13 @@ VALUE rb_exc_new _((VALUE, const char*, long));
VALUE rb_exc_new2 _((VALUE, const char*));
VALUE rb_exc_new3 _((VALUE, VALUE));
NORETURN(void rb_loaderror __((const char*, ...)));
-NORETURN(void rb_name_error __((VALUE id, const char*, ...)));
+NORETURN(void rb_name_error __((ID, const char*, ...)));
NORETURN(void rb_invalid_str _((const char*, const char*)));
void rb_compile_error __((const char*, ...));
void rb_compile_error_append __((const char*, ...));
NORETURN(void rb_load_fail _((char*)));
NORETURN(void rb_error_frozen _((char*)));
+void rb_check_frozen _((VALUE));
/* eval.c */
EXTERN struct RNode *ruby_current_node;
void ruby_set_current_source _((void));