summaryrefslogtreecommitdiff
path: root/include/ruby/impl/core/rtypeddata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/impl/core/rtypeddata.h')
-rw-r--r--include/ruby/impl/core/rtypeddata.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ruby/impl/core/rtypeddata.h b/include/ruby/impl/core/rtypeddata.h
index 0532baad68..49e55dcf91 100644
--- a/include/ruby/impl/core/rtypeddata.h
+++ b/include/ruby/impl/core/rtypeddata.h
@@ -7,7 +7,7 @@
* Permission is hereby granted, to either redistribute and/or
* modify this file, provided that the conditions mentioned in the
* file COPYING are met. Consult the file for details.
- * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are
+ * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are
* implementation details. Don't take them as canon. They could
* rapidly appear then vanish. The name (path) of this header file
* is also an implementation detail. Do not expect it to persist
@@ -57,7 +57,7 @@
/** @endcond */
/* bits for rb_data_type_struct::flags */
-enum ruby3_typeddata_flags {
+enum rbimpl_typeddata_flags {
RUBY_TYPED_FREE_IMMEDIATELY = 1,
RUBY_TYPED_WB_PROTECTED = RUBY_FL_WB_PROTECTED, /* THIS FLAG DEPENDS ON Ruby version */
RUBY_TYPED_PROMOTED1 = RUBY_FL_PROMOTED1 /* THIS FLAG DEPENDS ON Ruby version */
@@ -131,7 +131,7 @@ RBIMPL_SYMBOL_EXPORT_END()
RBIMPL_ATTR_PURE()
RBIMPL_ATTR_ARTIFICIAL()
static inline bool
-ruby3_rtypeddata_p(VALUE obj)
+rbimpl_rtypeddata_p(VALUE obj)
{
return RTYPEDDATA(obj)->typed_flag == 1;
}
@@ -148,7 +148,7 @@ RTYPEDDATA_P(VALUE obj)
}
#endif
- return ruby3_rtypeddata_p(obj);
+ return rbimpl_rtypeddata_p(obj);
}
RBIMPL_ATTR_PURE_ON_NDEBUG()