summaryrefslogtreecommitdiffhomepage
path: root/src/state.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-06-10 17:59:56 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-06-10 17:59:56 +0900
commitfe95f4401390a88b26e9c8cf6d20c217e577a17f (patch)
tree6d53bd940c6760fcf7b8b79e3272e77d7916c9ac /src/state.c
parent2e7de03fe80781e1cf1d291b341602eb04d56649 (diff)
downloadmruby-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 'src/state.c')
-rw-r--r--src/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c
index dc5a1481f..c0a9c14c2 100644
--- a/src/state.c
+++ b/src/state.c
@@ -266,7 +266,7 @@ mrb_top_self(mrb_state *mrb)
}
void
-mrb_atexit(mrb_state *mrb, mrb_atexit_func f)
+mrb_state_atexit(mrb_state *mrb, mrb_atexit_func f)
{
size_t stack_size;