summaryrefslogtreecommitdiffstats
path: root/intern.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-15 06:14:26 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-15 06:14:26 +0000
commit57560080203dce3845d4b52bfb8fc03db1e9718a (patch)
tree0a312f73e736ca9ac8140395035c37345dbd8d4a /intern.h
parentd78d84f82ffd78c0d08496649a13b4fb0c35dc53 (diff)
downloadruby-57560080203dce3845d4b52bfb8fc03db1e9718a.tar.gz
ruby-57560080203dce3845d4b52bfb8fc03db1e9718a.tar.xz
ruby-57560080203dce3845d4b52bfb8fc03db1e9718a.zip
* eval.c (rb_eval): replace rb_cvar_declare() by rb_cvar_set().
* eval.c (assign): ditto. * variable.c (rb_cvar_set): 4th argument (warn) added; define new class variable if it's not defined yet. * variable.c (rb_cvar_declare): removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/intern.h b/intern.h
index b5d081452..62549f84f 100644
--- a/intern.h
+++ b/intern.h
@@ -422,9 +422,8 @@ void rb_const_set _((VALUE, ID, VALUE));
void rb_const_assign _((VALUE, ID, VALUE));
VALUE rb_mod_constants _((VALUE));
void rb_autoload_load _((ID));
-void rb_cvar_declare _((VALUE, ID, VALUE));
VALUE rb_cvar_defined _((VALUE, ID));
-void rb_cvar_set _((VALUE, ID, VALUE));
+void rb_cvar_set _((VALUE, ID, VALUE, int));
VALUE rb_cvar_get _((VALUE, ID));
void rb_cv_set _((VALUE, const char *, VALUE));
VALUE rb_cv_get _((VALUE, const char *));