make default allocf public to use it with mrb_open_without_mrbgems

This commit is contained in:
take_cheeze
2014-03-13 02:51:14 +09:00
committed by Yukihiro "Matz" Matsumoto
parent 6bb56ed920
commit 36813c87f6
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -299,6 +299,8 @@ mrb_state* mrb_open_allocf(mrb_allocf, void *ud);
mrb_state* mrb_open_without_mrbgems(mrb_allocf, void *ud);
void mrb_close(mrb_state*);
void* mrb_default_allocf(mrb_state*, void*, size_t, void*);
mrb_value mrb_top_self(mrb_state *);
mrb_value mrb_run(mrb_state*, struct RProc*, mrb_value);
mrb_value mrb_toplevel_run(mrb_state*, struct RProc*);