diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-08-04 00:47:08 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-08-04 00:47:08 +0900 |
| commit | 206f89e2090524f009fc5a87f42c15a453ebdbee (patch) | |
| tree | ac45fd2e3448aaa0d932bdd0261e62377dfa5e5e /mrbgems/mruby-proc-ext | |
| parent | 0878900fda882cdf597ba2bef9e2c8fe1809647a (diff) | |
| download | mruby-206f89e2090524f009fc5a87f42c15a453ebdbee.tar.gz mruby-206f89e2090524f009fc5a87f42c15a453ebdbee.zip | |
add MRB_API modifiers to mruby API functions
Diffstat (limited to 'mrbgems/mruby-proc-ext')
| -rw-r--r-- | mrbgems/mruby-proc-ext/src/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-proc-ext/src/proc.c b/mrbgems/mruby-proc-ext/src/proc.c index f4a238803..14b68547e 100644 --- a/mrbgems/mruby-proc-ext/src/proc.c +++ b/mrbgems/mruby-proc-ext/src/proc.c @@ -5,7 +5,7 @@ #include "mruby/string.h" #include "mruby/debug.h" -struct RProc * +MRB_API struct RProc * mrb_proc_new_cfunc_with_env(mrb_state *mrb, mrb_func_t f, mrb_int argc, const mrb_value *argv) { struct RProc *p; @@ -28,7 +28,7 @@ mrb_proc_new_cfunc_with_env(mrb_state *mrb, mrb_func_t f, mrb_int argc, const mr return p; } -mrb_value +MRB_API mrb_value mrb_cfunc_env_get(mrb_state *mrb, mrb_int idx) { struct RProc *p = mrb->c->ci->proc; |
