Rename BITSIZE to BIT and BIT to BIT_POS for consistency

The bit width terminology is unified to `BIT` according to `MRB_INT_BIT`
and `CHAR_BIT`. Also the bit position terminology is unified to `BIT_POS`.
This commit is contained in:
KOBAYASHI Shuji
2019-11-23 20:02:55 +09:00
parent 56f9106d94
commit 375c1ebc41
5 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -169,9 +169,9 @@ typedef void mrb_value;
#include "boxing_no.h"
#endif
#if !defined(MRB_SYMBOL_BITSIZE)
#define MRB_SYMBOL_BITSIZE (sizeof(mrb_sym) * CHAR_BIT)
#define MRB_SYMBOL_MAX UINT32_MAX
#if !defined(MRB_SYMBOL_BIT)
#define MRB_SYMBOL_BIT (sizeof(mrb_sym) * CHAR_BIT)
#define MRB_SYMBOL_MAX UINT32_MAX
#endif
#if INTPTR_MAX < MRB_INT_MAX