зеркало из https://github.com/github/ruby.git
* intern.h (rb_disable_super, rb_enable_super): replace with dummy
expressions instead of prototypes. the functions remain yet for binary compatibility. [ruby-talk:81758] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
1a98699db6
Коммит
ecf0c48d5a
|
@ -1,3 +1,9 @@
|
|||
Fri Sep 12 12:30:41 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* intern.h (rb_disable_super, rb_enable_super): replace with dummy
|
||||
expressions instead of prototypes. the functions remain yet for
|
||||
binary compatibility. [ruby-talk:81758]
|
||||
|
||||
Fri Sep 12 12:09:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* bignum.c (rb_big_and): convert argument using 'to_int'.
|
||||
|
|
3
eval.c
3
eval.c
|
@ -460,6 +460,9 @@ rb_mod_remove_method(argc, argv, mod)
|
|||
return mod;
|
||||
}
|
||||
|
||||
#undef rb_disable_super
|
||||
#undef rb_enable_super
|
||||
|
||||
void
|
||||
rb_disable_super(klass, name)
|
||||
VALUE klass;
|
||||
|
|
4
intern.h
4
intern.h
|
@ -146,8 +146,8 @@ NORETURN(void rb_exc_fatal _((VALUE)));
|
|||
VALUE rb_f_exit _((int,VALUE*));
|
||||
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*));
|
||||
#define rb_disable_super(klass, name) ((void)0)
|
||||
#define rb_enable_super(klass, name) ((void)0)
|
||||
#define HAVE_RB_DEFINE_ALLOC_FUNC 1
|
||||
void rb_define_alloc_func _((VALUE, VALUE (*)(VALUE)));
|
||||
void rb_undef_alloc_func _((VALUE));
|
||||
|
|
Загрузка…
Ссылка в новой задаче