path: root/intern.h
diff options
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-07 18:37:03 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-07 18:37:03 +0000
commit0644ac3f8e2be9fe9025fa9c5b0768f15e31072b (patch)
tree2411948a3e5b4bb3d6f28f91bd2ec36ee0c83366 /intern.h
parent59483da886b65acddfc6675dbae15d31c74036cc (diff)
* intern.h (HAVE_RB_DEFINE_ALLOC_FUNC): New boolean macro to make
it easier to write extensions that work with both ~1.6 and 1.8~. * intern.h (RB_CVAR_SET_4ARGS): Ditto. * ruby.h (NORETURN_STYLE_NEW): Ditto. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/intern.h b/intern.h
index 1886c3e..bc630e5 100644
--- a/intern.h
+++ b/intern.h
@@ -147,6 +147,7 @@ VALUE rb_f_abort _((int,VALUE*));
void rb_remove_method _((VALUE, const char*));
void rb_disable_super _((VALUE, const char*));
void rb_enable_super _((VALUE, const char*));
void rb_define_alloc_func _((VALUE, VALUE (*)(VALUE)));
void rb_undef_alloc_func _((VALUE));
void rb_clear_cache _((void));
@@ -453,6 +454,7 @@ void rb_const_assign _((VALUE, ID, VALUE));
VALUE rb_mod_constants _((VALUE));
void rb_autoload_load _((ID));
VALUE rb_cvar_defined _((VALUE, ID));
+#define RB_CVAR_SET_4ARGS
void rb_cvar_set _((VALUE, ID, VALUE, int));
VALUE rb_cvar_get _((VALUE, ID));
void rb_cv_set _((VALUE, const char*, VALUE));