ruby-changes:60629
From: Nobuyoshi <ko1@a...>
Date: Thu, 2 Apr 2020 22:53:55 +0900 (JST)
Subject: [ruby-changes:60629] 9ddf147237 (master): Export `rb_deprecate_constant`
https://git.ruby-lang.org/ruby.git/commit/?id=9ddf147237 From 9ddf1472375a590d1b1c3856f90fedf151fe30a3 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 2 Apr 2020 22:53:26 +0900 Subject: Export `rb_deprecate_constant` diff --git a/internal/variable.h b/internal/variable.h index 5080fc1..941da2a 100644 --- a/internal/variable.h +++ b/internal/variable.h @@ -34,7 +34,6 @@ VALUE rb_attr_delete(VALUE, ID); https://github.com/ruby/ruby/blob/trunk/internal/variable.h#L34 VALUE rb_ivar_lookup(VALUE obj, ID id, VALUE undef); void rb_autoload_str(VALUE mod, ID id, VALUE file); VALUE rb_autoload_at_p(VALUE, ID, int); -void rb_deprecate_constant(VALUE mod, const char *name); NORETURN(VALUE rb_mod_const_missing(VALUE,VALUE)); rb_gvar_getter_t *rb_gvar_getter_function_of(const struct rb_global_entry *); rb_gvar_setter_t *rb_gvar_setter_function_of(const struct rb_global_entry *); @@ -51,6 +50,7 @@ void rb_mv_generic_ivar(VALUE src, VALUE dst); https://github.com/ruby/ruby/blob/trunk/internal/variable.h#L50 VALUE rb_const_missing(VALUE klass, VALUE name); int rb_class_ivar_set(VALUE klass, ID vid, VALUE value); void rb_iv_tbl_copy(VALUE dst, VALUE src); +void rb_deprecate_constant(VALUE mod, const char *name); RUBY_SYMBOL_EXPORT_END MJIT_SYMBOL_EXPORT_BEGIN -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/