mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mrb_str_strlen() should be MRB_API; ref #3216
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user