summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-09-05 00:54:51 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-09-05 00:54:51 +0900
commit81c894a1c6d639897098bd0eec3c869642811bd2 (patch)
treef60b38c7cf37b4eb016c8109d667f42b848faef4 /include
parent8696986994e30295ea0485d7be38d45b94ed3309 (diff)
downloadmruby-81c894a1c6d639897098bd0eec3c869642811bd2.tar.gz
mruby-81c894a1c6d639897098bd0eec3c869642811bd2.zip
add some MRB_API to function prototypes
Diffstat (limited to 'include')
-rw-r--r--include/mruby/compile.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h
index a85939998..e20473298 100644
--- a/include/mruby/compile.h
+++ b/include/mruby/compile.h
@@ -32,12 +32,12 @@ typedef struct mrbc_context {
mrb_bool no_optimize:1;
} mrbc_context;
-mrbc_context* mrbc_context_new(mrb_state *mrb);
-void mrbc_context_free(mrb_state *mrb, mrbc_context *cxt);
-const char *mrbc_filename(mrb_state *mrb, mrbc_context *c, const char *s);
-void mrbc_partial_hook(mrb_state *mrb, mrbc_context *c, int (*partial_hook)(struct mrb_parser_state*), void*data);
+MRB_API mrbc_context* mrbc_context_new(mrb_state *mrb);
+MRB_API void mrbc_context_free(mrb_state *mrb, mrbc_context *cxt);
+MRB_API const char *mrbc_filename(mrb_state *mrb, mrbc_context *c, const char *s);
+MRB_API void mrbc_partial_hook(mrb_state *mrb, mrbc_context *c, int (*partial_hook)(struct mrb_parser_state*), void*data);
-mrb_value mrb_toplevel_run_keep(mrb_state*, struct RProc*, unsigned int);
+MRB_API mrb_value mrb_toplevel_run_keep(mrb_state*, struct RProc*, unsigned int);
/* AST node structure */
typedef struct mrb_ast_node {