[前][次][番号順一覧][スレッド一覧]

ruby-changes:45602

From: nobu <ko1@a...>
Date: Tue, 21 Feb 2017 15:16:55 +0900 (JST)
Subject: [ruby-changes:45602] nobu:r57675 (trunk): backward.h: move deprecated declaration

nobu	2017-02-21 15:16:50 +0900 (Tue, 21 Feb 2017)

  New Revision: 57675

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57675

  Log:
    backward.h: move deprecated declaration
    
    * include/ruby/backward.h (rb_autoload): move declaration of
      deprecated function.

  Modified files:
    trunk/include/ruby/backward.h
    trunk/include/ruby/intern.h
Index: include/ruby/intern.h
===================================================================
--- include/ruby/intern.h	(revision 57674)
+++ include/ruby/intern.h	(revision 57675)
@@ -902,7 +902,6 @@ VALUE rb_path_to_class(VALUE); https://github.com/ruby/ruby/blob/trunk/include/ruby/intern.h#L902
 VALUE rb_path2class(const char*);
 void rb_name_class(VALUE, ID);
 VALUE rb_class_name(VALUE);
-DEPRECATED(void rb_autoload(VALUE, ID, const char*));
 VALUE rb_autoload_load(VALUE, ID);
 VALUE rb_autoload_p(VALUE, ID);
 VALUE rb_f_trace_var(int, const VALUE*);
Index: include/ruby/backward.h
===================================================================
--- include/ruby/backward.h	(revision 57674)
+++ include/ruby/backward.h	(revision 57675)
@@ -20,6 +20,9 @@ DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ https://github.com/ruby/ruby/blob/trunk/include/ruby/backward.h#L20
 DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate);
 DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated);
 
+/* variable.c */
+DEPRECATED(void rb_autoload(VALUE, ID, const char*));
+
 /* vm.c */
 DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache);
 DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]