diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2022-06-16 07:20:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 07:20:20 -0400 |
commit | 714a4942fdb1e71ce38032a9f4bab10855a4bea8 (patch) | |
tree | d528fb63498e07ce2d6cfff5221af3c9ea7a42f5 /include/ruby/internal/core/rstring.h | |
parent | 63546bfc1581d4abec2a0d846106a1c0afc0efa9 (diff) | |
download | ruby-714a4942fdb1e71ce38032a9f4bab10855a4bea8.tar.gz |
Remove unused and accidentally public rb_str_shared_root_p()
This function was added to a public header in [1] probably
unintentionally since it's not used anywhere, exposes implementation
details, and isn't related to the goals of that pull request.
[1]: 56cc3e99b6b9ec004255280337f6b8353f5e5b06
Diffstat (limited to 'include/ruby/internal/core/rstring.h')
-rw-r--r-- | include/ruby/internal/core/rstring.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/ruby/internal/core/rstring.h b/include/ruby/internal/core/rstring.h index 7b4953ab8c..e394ab7dca 100644 --- a/include/ruby/internal/core/rstring.h +++ b/include/ruby/internal/core/rstring.h @@ -556,9 +556,6 @@ 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. * |