* 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://ci.ruby-lang.org/ruby/trunk@3458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
59483da886
commit
0644ac3f8e
@ -1,3 +1,12 @@
|
|||||||
|
Sat Feb 8 03:34:28 2003 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Fri Feb 07 15:35:21 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
Fri Feb 07 15:35:21 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
* intern.h, re.c (rb_memsearch): returns long.
|
* intern.h, re.c (rb_memsearch): returns long.
|
||||||
|
2
intern.h
2
intern.h
@ -147,6 +147,7 @@ VALUE rb_f_abort _((int,VALUE*));
|
|||||||
void rb_remove_method _((VALUE, const char*));
|
void rb_remove_method _((VALUE, const char*));
|
||||||
void rb_disable_super _((VALUE, const char*));
|
void rb_disable_super _((VALUE, const char*));
|
||||||
void rb_enable_super _((VALUE, const char*));
|
void rb_enable_super _((VALUE, const char*));
|
||||||
|
#define HAVE_RB_DEFINE_ALLOC_FUNC
|
||||||
void rb_define_alloc_func _((VALUE, VALUE (*)(VALUE)));
|
void rb_define_alloc_func _((VALUE, VALUE (*)(VALUE)));
|
||||||
void rb_undef_alloc_func _((VALUE));
|
void rb_undef_alloc_func _((VALUE));
|
||||||
void rb_clear_cache _((void));
|
void rb_clear_cache _((void));
|
||||||
@ -453,6 +454,7 @@ void rb_const_assign _((VALUE, ID, VALUE));
|
|||||||
VALUE rb_mod_constants _((VALUE));
|
VALUE rb_mod_constants _((VALUE));
|
||||||
void rb_autoload_load _((ID));
|
void rb_autoload_load _((ID));
|
||||||
VALUE rb_cvar_defined _((VALUE, ID));
|
VALUE rb_cvar_defined _((VALUE, ID));
|
||||||
|
#define RB_CVAR_SET_4ARGS
|
||||||
void rb_cvar_set _((VALUE, ID, VALUE, int));
|
void rb_cvar_set _((VALUE, ID, VALUE, int));
|
||||||
VALUE rb_cvar_get _((VALUE, ID));
|
VALUE rb_cvar_get _((VALUE, ID));
|
||||||
void rb_cv_set _((VALUE, const char*, VALUE));
|
void rb_cv_set _((VALUE, const char*, VALUE));
|
||||||
|
1
ruby.h
1
ruby.h
@ -48,6 +48,7 @@ extern "C" {
|
|||||||
#define ISXDIGIT(c) (ISASCII(c) && isxdigit((unsigned char)(c)))
|
#define ISXDIGIT(c) (ISASCII(c) && isxdigit((unsigned char)(c)))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define NORETURN_STYLE_NEW
|
||||||
#ifndef NORETURN
|
#ifndef NORETURN
|
||||||
# define NORETURN(x) x
|
# define NORETURN(x) x
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user