diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-10 17:59:56 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-10 17:59:56 +0900 |
| commit | fe95f4401390a88b26e9c8cf6d20c217e577a17f (patch) | |
| tree | 6d53bd940c6760fcf7b8b79e3272e77d7916c9ac /include/mruby.h | |
| parent | 2e7de03fe80781e1cf1d291b341602eb04d56649 (diff) | |
| download | mruby-fe95f4401390a88b26e9c8cf6d20c217e577a17f.tar.gz mruby-fe95f4401390a88b26e9c8cf6d20c217e577a17f.zip | |
rename mrb_atexit to mrb_state_atexit to clarify a func will be called at the end of state, not process; ref #2211
Diffstat (limited to 'include/mruby.h')
| -rw-r--r-- | include/mruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby.h b/include/mruby.h index 598ff06cf..dcc01b2dd 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -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> |
