Expose whether two arrays are shared
array.c (rb_ary_shared_with_p): new function. Expose whether two arrays are shared (read-only, C only).
include/ruby/intern.h (rb_ary_shared_with_p): declare. Patch by Greg Price. [ruby-core:47970] [Bug #7158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Expose whether two arrays are shared
array.c (rb_ary_shared_with_p): new function.
Expose whether two arrays are shared (read-only, C only).
include/ruby/intern.h (rb_ary_shared_with_p): declare.
Patch by Greg Price.
[ruby-core:47970] [Bug #7158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e