mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user