summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mruby/string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/string.h b/include/mruby/string.h
index 8a26192e6..31e101246 100644
--- a/include/mruby/string.h
+++ b/include/mruby/string.h
@@ -47,6 +47,7 @@ struct RString {
RSTRING_EMBED_LEN_MAX :\
RSTRING(s)->as.heap.aux.capa)
#define RSTRING_END(s) (RSTRING_PTR(s) + RSTRING_LEN(s))
+mrb_int mrb_str_strlen(mrb_state*, struct RString*);
#define MRB_STR_SHARED 1
#define MRB_STR_NOFREE 2