summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
-rw-r--r--include/ruby/internal/symbol.h8
1 files changed, 5 insertions, 3 deletions
@@ -316,8 +316,9 @@ rbimpl_intern_const(ID *ptr, const char *str)
}
/**
- * Old implementation detail of rb_intern().
- * @deprecated Does anyone use it? Preserved for backward compat.
*/
#define RUBY_CONST_ID(var, str) \
do { \
@@ -326,7 +327,8 @@ rbimpl_intern_const(ID *ptr, const char *str)
} while (0)
#if defined(HAVE_STMT_AND_DECL_IN_EXPR)
-/* __builtin_constant_p and statement expression is available
* since gcc-2.7.2.3 at least. */
#define rb_intern(str) \
(RBIMPL_CONSTANT_P(str) ? \