summaryrefslogtreecommitdiff
path: root/include/ruby/io
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-12-19 09:56:52 +1300
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-12-19 12:25:38 +1300
commitf3e30b26c509c6dd707bc07c4a73fbac2576e9e2 (patch)
tree57b05a331d3196f2ce7072632bd789526aa633af /include/ruby/io
parent6bef1ac62850be6d83a069ac3d3be0b8e2f3afcf (diff)
Default size for IO::Buffer.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5300
Diffstat (limited to 'include/ruby/io')
-rw-r--r--include/ruby/io/buffer.h1
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.