mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
internal.h: fix typos
* internal.h (MEMO_V1_SET, MEMO_V2_SET): fix typos. use the macro parameter, not the local variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4f40dafe89
commit
7615362d64
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Sep 2 16:06:59 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* internal.h (MEMO_V1_SET, MEMO_V2_SET): fix typos. use the macro
|
||||||
|
parameter, not the local variable.
|
||||||
|
|
||||||
Fri Sep 2 00:55:11 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Sep 2 00:55:11 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/extmk.rb (timestamp_file): move extmk.rb specific tricks
|
* ext/extmk.rb (timestamp_file): move extmk.rb specific tricks
|
||||||
|
|
|
@ -812,8 +812,8 @@ struct MEMO {
|
||||||
} u3;
|
} u3;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MEMO_V1_SET(m, v) RB_OBJ_WRITE((memo), &(memo)->v1, (v))
|
#define MEMO_V1_SET(m, v) RB_OBJ_WRITE((m), &(m)->v1, (v))
|
||||||
#define MEMO_V2_SET(m, v) RB_OBJ_WRITE((memo), &(memo)->v2, (v))
|
#define MEMO_V2_SET(m, v) RB_OBJ_WRITE((m), &(m)->v2, (v))
|
||||||
|
|
||||||
#define MEMO_CAST(m) ((struct MEMO *)m)
|
#define MEMO_CAST(m) ((struct MEMO *)m)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue