From 51035a7a76a1970da91388d4653cf6e3aed1288c Mon Sep 17 00:00:00 2001
From: Eric Wong <normalperson@yhbt.net>
Date: Thu, 7 Apr 2011 18:46:42 +0000
Subject: [PATCH 2/4] introduce ephemeral class flag for short lived class

---
 include/ruby/ruby.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index a3f7bd6..ccff57f 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -621,6 +621,7 @@ struct RClass {
     struct st_table *m_tbl;
     struct st_table *iv_index_tbl;
 };
+#define RCLASS_EPHEMERAL FL_USER1
 #define RCLASS_IV_TBL(c) (RCLASS(c)->ptr->iv_tbl)
 #define RCLASS_CONST_TBL(c) (RCLASS(c)->ptr->const_tbl)
 #define RCLASS_M_TBL(c) (RCLASS(c)->m_tbl)
