diff options
author | Samuel Williams <[email protected]> | 2021-12-19 09:56:52 +1300 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2021-12-19 12:25:38 +1300 |
commit | f3e30b26c509c6dd707bc07c4a73fbac2576e9e2 (patch) | |
tree | 57b05a331d3196f2ce7072632bd789526aa633af /include/ruby | |
parent | 6bef1ac62850be6d83a069ac3d3be0b8e2f3afcf (diff) |
Default size for IO::Buffer.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5300
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/io/buffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/io/buffer.h b/include/ruby/io/buffer.h index 9c0eaefcc5..70dc9a5df8 100644 --- a/include/ruby/io/buffer.h +++ b/include/ruby/io/buffer.h @@ -23,6 +23,7 @@ RBIMPL_SYMBOL_EXPORT_BEGIN() RUBY_EXTERN VALUE rb_cIOBuffer; RUBY_EXTERN size_t RUBY_IO_BUFFER_PAGE_SIZE; +RUBY_EXTERN size_t RUBY_IO_BUFFER_DEFAULT_SIZE; enum rb_io_buffer_flags { // The memory in the buffer is owned by someone else. |