aboutsummaryrefslogtreecommitdiffstats
path: root/class.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-03-06 10:37:57 -0500
committerPeter Zhu <peter@peterzhu.ca>2024-03-06 10:37:57 -0500
commit476cd2b2518644a2918b10b257739dd1977c6084 (patch)
tree721158b073e788d7a00b33d0fb973c062cc8bdcb /class.c
parent7e4444077439e83772fd628a9121dcf54c6989cc (diff)
downloadruby-476cd2b2518644a2918b10b257739dd1977c6084.tar.gz
[DOC] Add comment about RUBY_FL_SINGLETON
Diffstat (limited to 'class.c')
-rw-r--r--class.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/class.c b/class.c
index 66a3d056b3..89fe59ae78 100644
--- a/class.c
+++ b/class.c
@@ -32,6 +32,8 @@
/* Flags of T_CLASS
*
+ * 0: RUBY_FL_SINGLETON
+ * This class is a singleton class.
* 2: RCLASS_SUPERCLASSES_INCLUDE_SELF
* The RCLASS_SUPERCLASSES contains the class as the last element.
* This means that this class owns the RCLASS_SUPERCLASSES list.