mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
string.h: rename MRB_STR_EMBED_LEN_BITS (use plurality for bit width)
This commit is contained in:
@@ -48,8 +48,8 @@ struct RStringEmbed {
|
||||
#define MRB_STR_TYPE_MASK 15
|
||||
|
||||
#define MRB_STR_EMBED_LEN_SHIFT 6
|
||||
#define MRB_STR_EMBED_LEN_BIT 5
|
||||
#define MRB_STR_EMBED_LEN_MASK (((1 << MRB_STR_EMBED_LEN_BIT) - 1) << MRB_STR_EMBED_LEN_SHIFT)
|
||||
#define MRB_STR_EMBED_LEN_BITS 5
|
||||
#define MRB_STR_EMBED_LEN_MASK (((1 << MRB_STR_EMBED_LEN_BITS) - 1) << MRB_STR_EMBED_LEN_SHIFT)
|
||||
|
||||
#define MRB_STR_BINARY 16
|
||||
#define MRB_STR_SINGLE_BYTE 32
|
||||
|
||||
Reference in New Issue
Block a user