mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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.
This commit is contained in:
parent
442525527e
commit
cd1d6d9029
Notes:
git
2020-08-27 15:04:00 +09:00
12 changed files with 17 additions and 10 deletions
2
node.h
2
node.h
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue