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:
parent
442525527e
commit
cd1d6d9029
Notes:
git
2020-08-27 15:04:00 +09:00
12 changed files with 17 additions and 10 deletions
|
@ -41,7 +41,7 @@ struct RFloat {
|
|||
double float_value;
|
||||
};
|
||||
|
||||
#define RFLOAT(obj) (R_CAST(RFloat)(obj))
|
||||
#define RFLOAT(obj) ((struct RFloat *)(obj))
|
||||
|
||||
/* numeric.c */
|
||||
int rb_num_to_uint(VALUE val, unsigned int *ret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue