diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-28 09:52:57 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-28 09:52:57 +0900 |
| commit | 9fc62d28d0e5738368571d70f1be191876e91d8b (patch) | |
| tree | 5a8aa5c845d654a5de331ff2d9cd08c005f193d2 /include | |
| parent | 27ceb848180463e66e080d13c3a96b1e56dbddbd (diff) | |
| download | mruby-9fc62d28d0e5738368571d70f1be191876e91d8b.tar.gz mruby-9fc62d28d0e5738368571d70f1be191876e91d8b.zip | |
pre-allocate arena overflow error
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby.h | 3 |
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 */ |
