• take_cheeze's avatar
    Add fixed state atexit stack feature. · 62f41ddd
    take_cheeze authored
    Adds following macros:
    * MRB_FIXED_STATE_ATEXIT_STACK (not defined by default)
      * When defined enables fixed state atexit stack.
    * MRB_FIXED_STATE_ATEXIT_STACK_SIZE (default value: 5)
      * This macro will be ignored when `MRB_FIXED_STATE_ATEXIT_STACK` isn't defined.
      * When `mrb_state_atexit` is called more than this value it will raise runtime error.
    62f41ddd
mruby.h 17.6 KB