mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
GC must scan env from fibers even when it's not yet copied to heap; fix #3063
This commit is contained in:
@@ -27,6 +27,8 @@ struct REnv {
|
||||
#define MRB_ENV_UNSHARE_STACK(e) ((e)->cioff = -1)
|
||||
#define MRB_ENV_STACK_SHARED_P(e) ((e)->cioff >= 0)
|
||||
|
||||
MRB_API void mrb_env_unshare(mrb_state*, struct REnv*);
|
||||
|
||||
struct RProc {
|
||||
MRB_OBJECT_HEADER;
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user