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 /tasks | |
| 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 'tasks')
| -rw-r--r-- | tasks/mrbgems.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/mrbgems.rake b/tasks/mrbgems.rake index e4dd64b78..2d17be931 100644 --- a/tasks/mrbgems.rake +++ b/tasks/mrbgems.rake @@ -34,7 +34,7 @@ MRuby.each_target do f.puts %Q[void] f.puts %Q[mrb_init_mrbgems(mrb_state *mrb) {] f.puts %Q[#{gems.map{|g| "GENERATED_TMP_mrb_%s_gem_init(mrb);" % g.funcname}.join("\n")}] - f.puts %Q[mrb_atexit(mrb, mrb_final_mrbgems);] + f.puts %Q[mrb_state_atexit(mrb, mrb_final_mrbgems);] f.puts %Q[}] end end |
