1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05: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:
卜部昌平 2020-07-22 14:44:25 +09:00
parent 442525527e
commit cd1d6d9029
Notes: git 2020-08-27 15:04:00 +09:00
12 changed files with 17 additions and 10 deletions

View file

@ -74,7 +74,7 @@
# define PRIXBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"X"
#endif
#define RBIGNUM(obj) (R_CAST(RBignum)(obj))
#define RBIGNUM(obj) ((struct RBignum *)(obj))
#define BIGNUM_SIGN_BIT FL_USER1
#define BIGNUM_EMBED_FLAG ((VALUE)FL_USER2)
#define BIGNUM_EMBED_LEN_NUMBITS 3