diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-17 05:45:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-17 05:45:44 +0000 |
commit | 6877de73deb7fe75a736a0b5fc54c01ecc0d5b14 (patch) | |
tree | f819252822221379fcc79679cc988b8c1b9b5c2d /variable.c | |
parent | 14d61a94ff01f2d229b6a0c46a13456e72c3e42a (diff) | |
download | ruby-6877de73deb7fe75a736a0b5fc54c01ecc0d5b14.tar.gz |
DEPRECATED_INTERNAL_FEATURE
* error.c (ruby_deprecated_internal_feature): renamed, to
explicitly represent deprecation.
* internal.h (DEPRECATED_INTERNAL_FEATURE): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/variable.c b/variable.c index 5318a94dbe..4d80ce2afd 100644 --- a/variable.c +++ b/variable.c @@ -1007,8 +1007,7 @@ rb_generic_ivar_table(VALUE obj) return a.tbl; #else - ONLY_FOR_INTERNAL_USE("rb_generic_ivar_table()"); - UNREACHABLE; + DEPRECATED_INTERNAL_FEATURE("rb_generic_ivar_table()"); return 0; #endif } |