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 /gc.c | |
parent | 442525527e2fa052e6d8752adffeaa0855b75ff7 (diff) |
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3346
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -536,6 +536,8 @@ struct RMoved { } as; }; +#define RMOVED(obj) ((struct RMoved *)(obj)) + #if defined(_MSC_VER) || defined(__CYGWIN__) #pragma pack(push, 1) /* magic for reducing sizeof(RVALUE): 24 -> 20 */ #endif |