Merge pull request #3216 from kou/remove-needless-mrbapi

Remove needless MRB_API
This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-09-27 10:28:04 +09:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -646,7 +646,7 @@ mrb_load_irep(mrb_state *mrb, const uint8_t *bin)
#ifndef MRB_DISABLE_STDIO
MRB_API mrb_irep*
mrb_irep*
mrb_read_irep_file(mrb_state *mrb, FILE* fp)
{
mrb_irep *irep = NULL;
+1 -1
View File
@@ -135,7 +135,7 @@ mrb_proc_cfunc_env_get(mrb_state *mrb, mrb_int idx)
return e->stack[idx];
}
MRB_API void
void
mrb_proc_copy(struct RProc *a, struct RProc *b)
{
a->flags = b->flags;
+1 -1
View File
@@ -576,7 +576,7 @@ str_rindex(mrb_state *mrb, mrb_value str, mrb_value sub, mrb_int pos)
}
}
MRB_API mrb_int
mrb_int
mrb_str_strlen(mrb_state *mrb, struct RString *s)
{
mrb_int i, max = RSTR_LEN(s);