mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
use pre-allocated RuntimeError for out-of-memory
This commit is contained in:
@@ -167,6 +167,7 @@ typedef struct mrb_state {
|
||||
|
||||
struct RClass *eException_class;
|
||||
struct RClass *eStandardError_class;
|
||||
struct RObject *nomem_err; /* pre-allocated NoMemoryError */
|
||||
|
||||
void *ud; /* auxiliary data */
|
||||
} mrb_state;
|
||||
|
||||
Reference in New Issue
Block a user