mrb_str_strlen() should be MRB_API; ref #3216

This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-09-27 10:29:56 +09:00
parent 6bc4b47c46
commit afbe211c60
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -576,7 +576,7 @@ str_rindex(mrb_state *mrb, mrb_value str, mrb_value sub, mrb_int pos)
}
}
mrb_int
MRB_API mrb_int
mrb_str_strlen(mrb_state *mrb, struct RString *s)
{
mrb_int i, max = RSTR_LEN(s);