diff options
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal.h b/internal.h index e90c7c00a5..088eab2e68 100644 --- a/internal.h +++ b/internal.h @@ -74,16 +74,16 @@ struct rb_classext_struct { #undef RCLASS_SUPER static inline VALUE -RCLASS_SUPER(VALUE c) +RCLASS_SUPER(VALUE klass) { - return RCLASS_EXT(c)->super; + return RCLASS_EXT(klass)->super; } static inline VALUE -RCLASS_SET_SUPER(VALUE a, VALUE b) +RCLASS_SET_SUPER(VALUE klass, VALUE super) { - OBJ_WRITE(a, &RCLASS_EXT(a)->super, b); - return b; + OBJ_WRITE(klass, &RCLASS_EXT(klass)->super, super); + return super; } struct vtm; /* defined by timev.h */ |