diff options
author | 卜部昌平 <[email protected]> | 2020-07-22 14:44:25 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2020-08-27 15:03:36 +0900 |
commit | cd1d6d90299d727ad4a87c42f3ba09c87df2bce3 (patch) | |
tree | f0d1c0cd85db7296a28824f1758bf7344e8881af /internal/hash.h | |
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 'internal/hash.h')
-rw-r--r-- | internal/hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/hash.h b/internal/hash.h index b0c23c2b2e..237ce58603 100644 --- a/internal/hash.h +++ b/internal/hash.h @@ -54,7 +54,7 @@ struct RHash { } ar_hint; }; -#define RHASH(obj) (R_CAST(RHash)(obj)) +#define RHASH(obj) ((struct RHash *)(obj)) #ifdef RHASH_IFNONE # undef RHASH_IFNONE |