summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-11-28 09:52:57 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2016-11-28 09:52:57 +0900
commit9fc62d28d0e5738368571d70f1be191876e91d8b (patch)
tree5a8aa5c845d654a5de331ff2d9cd08c005f193d2 /include/mruby.h
parent27ceb848180463e66e080d13c3a96b1e56dbddbd (diff)
downloadmruby-9fc62d28d0e5738368571d70f1be191876e91d8b.tar.gz
mruby-9fc62d28d0e5738368571d70f1be191876e91d8b.zip
pre-allocate arena overflow error
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 1e27b93fb..6e222057f 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -221,6 +221,9 @@ typedef struct mrb_state {
struct RClass *eException_class;
struct RClass *eStandardError_class;
struct RObject *nomem_err; /* pre-allocated NoMemoryError */
+#ifdef MRB_GC_FIXED_ARENA
+ struct RObject *arena_err; /* pre-allocated arena overfow error */
+#endif
void *ud; /* auxiliary data */