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

ruby-changes:36200

From: nobu <ko1@a...>
Date: Wed, 5 Nov 2014 16:27:20 +0900 (JST)
Subject: [ruby-changes:36200] nobu:r48281 (trunk): intern.h: deprecate rb_clear_cache

nobu	2014-11-05 16:27:02 +0900 (Wed, 05 Nov 2014)

  New Revision: 48281

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

  Log:
    intern.h: deprecate rb_clear_cache
    
    * include/ruby/intern.h (rb_clear_cache): mark as deprecated, not
      only warnings at runtime.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/intern.h
Index: include/ruby/intern.h
===================================================================
--- include/ruby/intern.h	(revision 48280)
+++ include/ruby/intern.h	(revision 48281)
@@ -378,7 +378,7 @@ typedef VALUE (*rb_alloc_func_t)(VALUE); https://github.com/ruby/ruby/blob/trunk/include/ruby/intern.h#L378
 void rb_define_alloc_func(VALUE, rb_alloc_func_t);
 void rb_undef_alloc_func(VALUE);
 rb_alloc_func_t rb_get_alloc_func(VALUE);
-void rb_clear_cache(void);
+DEPRECATED(void rb_clear_cache(void));
 void rb_clear_constant_cache(void);
 void rb_clear_method_cache_by_class(VALUE);
 void rb_alias(VALUE, ID, ID);
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48280)
+++ ChangeLog	(revision 48281)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Nov  5 16:26:58 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* include/ruby/intern.h (rb_clear_cache): mark as deprecated, not
+	  only warnings at runtime.
+
 Wed Nov  5 15:05:12 2014  Nobuyoshi Nakada  <nobu@r...>
 
 	* string.c (rb_str_{,l,r}strip_bang): rb_str_subseq() will not

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

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