From 0d2a06406ebd4f99046373e815473ed99046f7fe Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 17 Nov 1999 07:30:37 +0000 Subject: 19991117 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'ruby.h') diff --git a/ruby.h b/ruby.h index 765fd75ee..adbcff6c7 100644 --- a/ruby.h +++ b/ruby.h @@ -375,8 +375,8 @@ void rb_define_variable _((const char*,VALUE*)); void rb_define_virtual_variable _((const char*,VALUE(*)(),void(*)())); void rb_define_hooked_variable _((const char*,VALUE*,VALUE(*)(),void(*)())); void rb_define_readonly_variable _((const char*,VALUE*)); -void rb_define_const _((VALUE,const char*,VALUE)); -void rb_define_global_const _((const char*,VALUE)); +void rb_define_shared_variable _((VALUE,const char*,VALUE)); +void rb_define_global_shared_variable _((const char*,VALUE)); void rb_define_method _((VALUE,const char*,VALUE(*)(),int)); void rb_define_module_function _((VALUE,const char*,VALUE(*)(),int)); @@ -402,11 +402,10 @@ VALUE rb_funcall2 _((VALUE, ID, int, VALUE*)); VALUE rb_funcall3 _((VALUE, ID, int, VALUE*)); int rb_scan_args __((int, VALUE*, const char*, ...)); +VALUE rb_gv_set _((const char*, VALUE)); +VALUE rb_gv_get _((const char*)); VALUE rb_iv_get _((VALUE, const char*)); VALUE rb_iv_set _((VALUE, const char*, VALUE)); -VALUE rb_const_get _((VALUE, ID)); -VALUE rb_const_get_at _((VALUE, ID)); -void rb_const_set _((VALUE, ID, VALUE)); VALUE rb_equal _((VALUE,VALUE)); -- cgit