diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-11 16:35:42 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-11 16:35:42 +0900 |
| commit | 672e016b138a4bc3bc1e160d78ab4d97679a62f2 (patch) | |
| tree | 7a03a039a07db9a86477267f394adc97989c0494 | |
| parent | 9577e6ca6a018b42d1081a8dd4361e014a651822 (diff) | |
| parent | 48feda0692d8543f2e18b7f0d56f2c7ff95f435c (diff) | |
| download | mruby-672e016b138a4bc3bc1e160d78ab4d97679a62f2.tar.gz mruby-672e016b138a4bc3bc1e160d78ab4d97679a62f2.zip | |
Merge pull request #5281 from shuujii/remove-the-definition-of-mrb_uint-in-numeric.h-that-is-no-longer-needed
Remove the definition of `mrb_uint` in `numeric.h` that is no longer needed
| -rw-r--r-- | include/mruby/numeric.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/mruby/numeric.h b/include/mruby/numeric.h index 683a5b41c..fc6cacfda 100644 --- a/include/mruby/numeric.h +++ b/include/mruby/numeric.h @@ -90,10 +90,6 @@ mrb_int_mul_overflow(mrb_int multiplier, mrb_int multiplicand, mrb_int *product) #else -#define MRB_UINT_MAKE2(n) uint ## n ## _t -#define MRB_UINT_MAKE(n) MRB_UINT_MAKE2(n) -#define mrb_uint MRB_UINT_MAKE(MRB_INT_BIT) - #define MRB_INT_OVERFLOW_MASK ((mrb_uint)1 << (MRB_INT_BIT - 1)) static inline mrb_bool @@ -135,9 +131,6 @@ mrb_int_mul_overflow(mrb_int a, mrb_int b, mrb_int *c) } #undef MRB_INT_OVERFLOW_MASK -#undef mrb_uint -#undef MRB_UINT_MAKE -#undef MRB_UINT_MAKE2 #endif |
