diff options
author | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-09 11:00:23 +0000 |
---|---|---|
committer | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-09 11:00:23 +0000 |
commit | c039c7081594a7e8e7cf5e96abbdc8fc6ac43a21 (patch) | |
tree | 5c9b5583e2abcf5b3a458f4ced9cafd4d5cab9c6 /internal.h | |
parent | 7df979812699f153791b95e9c37f6c61b0cfb599 (diff) | |
download | ruby-c039c7081594a7e8e7cf5e96abbdc8fc6ac43a21.tar.gz |
* internal.h (RCLASS_SERIAL): Add RCLASS_SERIAL as a convenience
accessor for RCLASS_EXT(klass)->class_serial.
* class.c, vm_insnhelper.c, vm_method.c: Use RCLASS_SERIAL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index f21c1c40b5..064f1a034a 100644 --- a/internal.h +++ b/internal.h @@ -296,6 +296,7 @@ void rb_class_remove_from_super_subclasses(VALUE); #define RCLASS_IV_INDEX_TBL(c) (RCLASS(c)->iv_index_tbl) #define RCLASS_ORIGIN(c) (RCLASS_EXT(c)->origin) #define RCLASS_REFINED_CLASS(c) (RCLASS_EXT(c)->refined_class) +#define RCLASS_SERIAL(c) (RCLASS_EXT(c)->class_serial) static inline void RCLASS_M_TBL_INIT(VALUE c) |