summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mruby/proc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mruby/proc.h b/include/mruby/proc.h
index bb924447e..6d2cf516a 100644
--- a/include/mruby/proc.h
+++ b/include/mruby/proc.h
@@ -20,6 +20,8 @@ struct REnv {
int cioff;
};
+#define MRB_ENV_STACK_LEN(e) ((e)->flags)
+
struct RProc {
MRB_OBJECT_HEADER;
union {