summaryrefslogtreecommitdiff
path: root/include/ruby/internal/core/rstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/internal/core/rstring.h')
-rw-r--r--include/ruby/internal/core/rstring.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/internal/core/rstring.h b/include/ruby/internal/core/rstring.h
index e394ab7dca..7b4953ab8c 100644
--- a/include/ruby/internal/core/rstring.h
+++ b/include/ruby/internal/core/rstring.h
@@ -556,6 +556,9 @@ RSTRING_LENINT(VALUE str)
return rb_long2int(RSTRING_LEN(str));
}
+bool
+rb_str_shared_root_p(VALUE str);
+
/**
* Convenient macro to obtain the contents and length at once.
*