summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2012-12-07 15:57:40 +0900
committerYukihiro Matz Matsumoto <[email protected]>2012-12-07 15:57:40 +0900
commitf4867743524c37c14acdfb93caa874818cc6c101 (patch)
treedf49cf6267d121200ba10ff08a3c64062c60547a /include
parent40daee12cfbf6dac4421f47c9c953788985fe238 (diff)
downloadmruby-f4867743524c37c14acdfb93caa874818cc6c101.tar.gz
mruby-f4867743524c37c14acdfb93caa874818cc6c101.zip
refactor and move irep malloc away to mrb_add_irep()
Diffstat (limited to 'include')
-rw-r--r--include/mruby/irep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h
index 534590849..108e4df91 100644
--- a/include/mruby/irep.h
+++ b/include/mruby/irep.h
@@ -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" { */