0002-introduce-ephemeral-class-flag-for-short-lived-class.patch

Eric Wong, 04/09/2011 03:54 PM

Download (737 Bytes)

View differences:

include/ruby/ruby.h
621 621
    struct st_table *m_tbl;
622 622
    struct st_table *iv_index_tbl;
623 623
};
624
#define RCLASS_EPHEMERAL FL_USER1
624 625
#define RCLASS_IV_TBL(c) (RCLASS(c)->ptr->iv_tbl)
625 626
#define RCLASS_CONST_TBL(c) (RCLASS(c)->ptr->const_tbl)
626 627
#define RCLASS_M_TBL(c) (RCLASS(c)->m_tbl)