diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-07-22 14:44:25 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-08-27 15:03:36 +0900 |
commit | cd1d6d90299d727ad4a87c42f3ba09c87df2bce3 (patch) | |
tree | f0d1c0cd85db7296a28824f1758bf7344e8881af /node.h | |
parent | 442525527e2fa052e6d8752adffeaa0855b75ff7 (diff) | |
download | ruby-cd1d6d90299d727ad4a87c42f3ba09c87df2bce3.tar.gz |
include/ruby/backward/2/r_cast.h: deprecate
Remove all usages of RCAST() so that the header file can be excluded
from ruby/ruby.h's dependency.
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -173,7 +173,7 @@ typedef struct RNode { int node_id; } NODE; -#define RNODE(obj) (R_CAST(RNode)(obj)) +#define RNODE(obj) ((struct RNode *)(obj)) /* FL : 0..4: T_TYPES, 5: KEEP_WB, 6: PROMOTED, 7: FINALIZE, 8: UNUSED, 9: UNUSED, 10: EXIVAR, 11: FREEZE */ /* NODE_FL: 0..4: T_TYPES, 5: KEEP_WB, 6: PROMOTED, 7: NODE_FL_NEWLINE, |