mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ruby.h: use prefixed macro
* include/ruby/ruby.h (rb_intern): use prefixed version macro RUBY_CONST_ID_CACHE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4e44f6ef86
commit
de2773a3ce
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Oct 26 17:09:59 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/ruby.h (rb_intern): use prefixed version macro
|
||||
RUBY_CONST_ID_CACHE.
|
||||
|
||||
Wed Oct 26 11:28:25 2016 URABE Shyouhei <shyouhei@ruby-lang.org>
|
||||
|
||||
* NEWS: added several entries which (if I remember correctly) are
|
||||
|
|
|
@ -1720,7 +1720,7 @@ VALUE rb_check_symbol(volatile VALUE *namep);
|
|||
* since gcc-2.7.2.3 at least. */
|
||||
#define rb_intern(str) \
|
||||
(__builtin_constant_p(str) ? \
|
||||
__extension__ (CONST_ID_CACHE((ID), (str))) : \
|
||||
__extension__ (RUBY_CONST_ID_CACHE((ID), (str))) : \
|
||||
rb_intern(str))
|
||||
#define rb_intern_const(str) \
|
||||
(__builtin_constant_p(str) ? \
|
||||
|
|
Loading…
Add table
Reference in a new issue