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:
Yukihiro "Matz" Matsumoto
2014-06-10 17:59:56 +09:00
parent 2e7de03fe8
commit fe95f44013
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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>