mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
rename mrb_atexit to mrb_state_atexit to clarify a func will be called at the end of state, not process; ref #2211
This commit is contained in:
+1
-1
@@ -418,7 +418,7 @@ void* mrb_pool_realloc(struct mrb_pool*, void*, size_t oldlen, size_t newlen);
|
||||
mrb_bool mrb_pool_can_realloc(struct mrb_pool*, void*, size_t);
|
||||
void* mrb_alloca(mrb_state *mrb, size_t);
|
||||
|
||||
void mrb_atexit(mrb_state *mrb, mrb_atexit_func func);
|
||||
void mrb_state_atexit(mrb_state *mrb, mrb_atexit_func func);
|
||||
|
||||
#ifdef MRB_DEBUG
|
||||
#include <assert.h>
|
||||
|
||||
Reference in New Issue
Block a user