mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use MRB_ENV_STACK_SHARED_P to check cioff field of REnv.
This commit is contained in:
@@ -22,6 +22,7 @@ struct REnv {
|
||||
|
||||
#define MRB_ENV_STACK_LEN(e) ((e)->flags)
|
||||
#define MRB_ENV_UNSHARE_STACK(e) ((e)->cioff = -1)
|
||||
#define MRB_ENV_STACK_SHARED_P(e) ((e)->cioff >= 0)
|
||||
|
||||
struct RProc {
|
||||
MRB_OBJECT_HEADER;
|
||||
|
||||
Reference in New Issue
Block a user