mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Keep reference to mrb_context from env; fix #3619
This commit is contained in:
@@ -18,8 +18,11 @@ MRB_BEGIN_DECL
|
||||
struct REnv {
|
||||
MRB_OBJECT_HEADER;
|
||||
mrb_value *stack;
|
||||
mrb_sym mid;
|
||||
ptrdiff_t cioff;
|
||||
union {
|
||||
mrb_sym mid;
|
||||
struct mrb_context *c;
|
||||
} cxt;
|
||||
};
|
||||
|
||||
#define MRB_SET_ENV_STACK_LEN(e,len) (e)->flags = (unsigned int)(len)
|
||||
|
||||
Reference in New Issue
Block a user