summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-11-26 06:31:48 +0900
committerGitHub <[email protected]>2019-11-26 06:31:48 +0900
commitec957ec5eee6c0a2874948c1b063e89d9fbd4eab (patch)
treeef7f169b52202dba8e85ed580b464c859a2789ce /src/string.c
parentff15a586a0571afdae5c2e10d19e843d32ad7f5f (diff)
parent375c1ebc411ac2dd088f6897a2913c504fbc0852 (diff)
downloadmruby-ec957ec5eee6c0a2874948c1b063e89d9fbd4eab.tar.gz
mruby-ec957ec5eee6c0a2874948c1b063e89d9fbd4eab.zip
Merge pull request #4838 from shuujii/rename-BITSIZE-to-BIT-and-BIT-to-BIT_POS-for-consistency
Rename `BITSIZE` to `BIT` and `BIT` to `BIT_POS` for consistency
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c
index 3399e46a9..dcf338eab 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2870,7 +2870,7 @@ mrb_init_string(mrb_state *mrb)
{
struct RClass *s;
- mrb_static_assert(RSTRING_EMBED_LEN_MAX < (1 << MRB_STR_EMBED_LEN_BITSIZE),
+ mrb_static_assert(RSTRING_EMBED_LEN_MAX < (1 << MRB_STR_EMBED_LEN_BIT),
"pointer size too big for embedded string");
mrb->string_class = s = mrb_define_class(mrb, "String", mrb->object_class); /* 15.2.10 */