mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
configure.in: DEPRECATED_BY
* configure.in (DEPRECATED_BY): deprecate warning with preferable alternative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
814b83918e
commit
408885c891
2 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
|||
Wed May 20 13:14:30 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Wed May 20 13:16:23 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (DEPRECATED_BY): deprecate warning with preferable
|
||||
alternative.
|
||||
|
||||
* configure.in (RUBY_FUNC_ATTRIBUTE): allow attribute arguments in
|
||||
the macro.
|
||||
|
|
|
@ -1653,6 +1653,7 @@ AS_VAR_POPDEF([rbcv])dnl
|
|||
|
||||
RUBY_FUNC_ATTRIBUTE(noreturn, NORETURN)
|
||||
RUBY_FUNC_ATTRIBUTE(deprecated, DEPRECATED)
|
||||
RUBY_FUNC_ATTRIBUTE(deprecated("by "@%:@n), DEPRECATED_BY(n,x), rb_cv_func_deprecated_by)
|
||||
RUBY_FUNC_ATTRIBUTE(noinline, NOINLINE)
|
||||
|
||||
if_i386=${universal_binary+[defined __i386__]}
|
||||
|
|
Loading…
Add table
Reference in a new issue