summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authordearblue <[email protected]>2020-04-26 21:15:24 +0900
committerdearblue <[email protected]>2020-04-26 21:15:24 +0900
commit1b0cf6a91bcec88699150c6376c9eacf86af85ff (patch)
treed87175073d779d74eed908ecb5a0c64b4d60488b /include/mruby.h
parent954ce5379c1f3195dcc2b5a793225b215213f28c (diff)
downloadmruby-1b0cf6a91bcec88699150c6376c9eacf86af85ff.tar.gz
mruby-1b0cf6a91bcec88699150c6376c9eacf86af85ff.zip
Reduce `struct mrb_context`
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 4b7a673f3..eca7eb9cf 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -164,8 +164,8 @@ struct mrb_context {
struct RProc **ensure; /* ensure handler stack */
uint16_t esize, eidx;
- enum mrb_fiber_state status;
- mrb_bool vmexec;
+ enum mrb_fiber_state status : 4;
+ mrb_bool vmexec : 1;
struct RFiber *fib;
};