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]: 56cc3e99b6
This commit is contained in:
parent
63546bfc15
commit
714a4942fd
Notes:
git
2022-06-16 20:20:39 +09:00
Merged: https://github.com/ruby/ruby/pull/6023 Merged-By: XrXr
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue