diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h index 065d835ce..9aa5b2cd3 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -124,9 +124,13 @@ typedef struct { typedef void (*mrb_atexit_func)(struct mrb_state*); +#define MRB_STATE_NO_REGEXP 1 +#define MRB_STATE_REGEXP 2 + typedef struct mrb_state { struct mrb_jmpbuf *jmp; + uint32_t flags; mrb_allocf allocf; /* memory allocation function */ void *allocf_ud; /* auxiliary data of allocf */ |
