refactor and move irep malloc away to mrb_add_irep()

This commit is contained in:
Yukihiro Matz Matsumoto
2012-12-07 15:57:40 +09:00
parent 40daee12cf
commit f486774352
4 changed files with 24 additions and 32 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ typedef struct mrb_irep {
#define MRB_ISEQ_NO_FREE 1
void mrb_add_irep(mrb_state *mrb, int n);
mrb_irep *mrb_add_irep(mrb_state *mrb);
#if defined(__cplusplus)
} /* extern "C" { */