diff options
author | S-H-GAMELINKS <gamelinks007@gmail.com> | 2021-09-03 20:50:12 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-09-11 09:13:24 +0900 |
commit | 032534dbdf08c0912dffa482e29a491b8aa9276c (patch) | |
tree | 0ef482a3c7d764610ae9e3a0c737fa3133032de7 /internal.h | |
parent | 56065f0686e6798fff2ee7319f0f03026f427c13 (diff) |
Using RB_BIGNUM_TYPE_P macro
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4805
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 8c116f85d7..00a8295295 100644 --- a/internal.h +++ b/internal.h @@ -104,5 +104,6 @@ RUBY_SYMBOL_EXPORT_END #define bp() ruby_debug_breakpoint() #define RBOOL(v) ((v) ? Qtrue : Qfalse) +#define RB_BIGNUM_TYPE_P(x) RB_TYPE_P((x), T_BIGNUM) #endif /* RUBY_INTERNAL_H */ |