summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-12-08 15:22:07 +0900
committerGitHub <[email protected]>2016-12-08 15:22:07 +0900
commitbcd91856fd5fdbc34d7719a3a8b5434be8efff21 (patch)
tree3cca3f96df6bfc4b412ba9d4caf91d6afef74d01 /include
parent0d38ede33b3ff9fe5d5ce2c32d4a9325fc1d1b3e (diff)
parent0360a744b5fae6c29d91ba9729b7445415b9e293 (diff)
downloadmruby-bcd91856fd5fdbc34d7719a3a8b5434be8efff21.tar.gz
mruby-bcd91856fd5fdbc34d7719a3a8b5434be8efff21.zip
Merge pull request #3331 from dabroz/feature-load-exec
Promote load_exec to mruby API as mrb_load_exec (fixes #3248)
Diffstat (limited to 'include')
-rw-r--r--include/mruby/compile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h
index 3ccaf9f6a..ebcb3f355 100644
--- a/include/mruby/compile.h
+++ b/include/mruby/compile.h
@@ -174,6 +174,7 @@ MRB_API struct mrb_parser_state* mrb_parse_file(mrb_state*,FILE*,mrbc_context*);
MRB_API struct mrb_parser_state* mrb_parse_string(mrb_state*,const char*,mrbc_context*);
MRB_API struct mrb_parser_state* mrb_parse_nstring(mrb_state*,const char*,int,mrbc_context*);
MRB_API struct RProc* mrb_generate_code(mrb_state*, struct mrb_parser_state*);
+MRB_API mrb_value mrb_load_exec(mrb_state *mrb, struct mrb_parser_state *p, mrbc_context *c);
/* program load functions */
#ifndef MRB_DISABLE_STDIO