mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added rb_warn_deprecated_to_remove
Warn the deprecation and future removal, with obeying the warning flag.
This commit is contained in:
parent
0ea759eac9
commit
aefb13eb63
6 changed files with 29 additions and 14 deletions
|
@ -52,6 +52,7 @@ NORETURN(void rb_async_bug_errno(const char *,int));
|
|||
const char *rb_builtin_type_name(int t);
|
||||
const char *rb_builtin_class_name(VALUE x);
|
||||
PRINTF_ARGS(void rb_warn_deprecated(const char *fmt, const char *suggest, ...), 1, 3);
|
||||
PRINTF_ARGS(void rb_warn_deprecated_to_remove(const char *fmt, const char *removal, ...), 1, 3);
|
||||
VALUE rb_syntax_error_append(VALUE, VALUE, int, int, rb_encoding*, const char*, va_list);
|
||||
PRINTF_ARGS(void rb_enc_warn(rb_encoding *enc, const char *fmt, ...), 2, 3);
|
||||
PRINTF_ARGS(void rb_sys_enc_warning(rb_encoding *enc, const char *fmt, ...), 2, 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue