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

ruby-changes:41212

From: nobu <ko1@a...>
Date: Fri, 25 Dec 2015 00:09:35 +0900 (JST)
Subject: [ruby-changes:41212] nobu:r53284 (trunk): revert deprecated functions

nobu	2015-12-25 00:09:16 +0900 (Fri, 25 Dec 2015)

  New Revision: 53284

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

  Log:
    revert deprecated functions
    
    * error.c (rb_compile_error_with_enc, rb_compile_error),
      (rb_compile_bug): revert deprecate internal functions.

  Modified files:
    trunk/error.c
Index: error.c
===================================================================
--- error.c	(revision 53283)
+++ error.c	(revision 53284)
@@ -127,7 +127,6 @@ compile_err_append(VALUE mesg) https://github.com/ruby/ruby/blob/trunk/error.c#L127
     th->base_block = prev_base_block;
 }
 
-#if 0
 void
 rb_compile_error_with_enc(const char *file, int line, void *enc, const char *fmt, ...)
 {
@@ -151,7 +150,6 @@ rb_compile_error(const char *file, int l https://github.com/ruby/ruby/blob/trunk/error.c#L150
     va_end(args);
     compile_err_append(str);
 }
-#endif
 
 void
 rb_compile_error_str(VALUE file, int line, void *enc, const char *fmt, ...)
@@ -485,7 +483,6 @@ rb_async_bug_errno(const char *mesg, int https://github.com/ruby/ruby/blob/trunk/error.c#L483
     abort();
 }
 
-#if 0
 void
 rb_compile_bug(const char *file, int line, const char *fmt, ...)
 {
@@ -493,7 +490,6 @@ rb_compile_bug(const char *file, int lin https://github.com/ruby/ruby/blob/trunk/error.c#L490
 
     abort();
 }
-#endif
 
 void
 rb_compile_bug_str(VALUE file, int line, const char *fmt, ...)

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

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