mirror of
https://github.com/ruby/ruby.git
synced 2026-08-03 11:18:06 +08:00
(https://github.com/ruby/stringio/pull/223) Follow up to #222 This refcount previously wasn't thread safe (and shouldn't have been declared `RUBY_TYPED_THREAD_SAFE_FREE`), but it's easy enough to fix using ruby/atomic.h (Ruby 3.0+) https://github.com/ruby/stringio/commit/2825dc3007
StringIO
Pseudo IO class from/to String.
This library is based on MoonWolf version written in Ruby. Thanks a lot.
Differences to IO
filenoraisesNotImplementedError.- encoding conversion is not implemented, and ignored silently.