* internal.h (RCLASS_SUPER): use descriptive variable name
* internal.h (RCLASS_SET_SUPER): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e8c6835faa
commit
97b825bdcf
@ -1,3 +1,8 @@
|
||||
Fri Jun 7 17:31:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
|
||||
|
||||
* internal.h (RCLASS_SUPER): use descriptive variable name
|
||||
* internal.h (RCLASS_SET_SUPER): ditto
|
||||
|
||||
Fri Jun 7 13:25:27 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/json/fbuffer/fbuffer.h (fbuffer_append_str): change the place of
|
||||
|
10
internal.h
10
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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user