summaryrefslogtreecommitdiff
path: root/include/ruby/io
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-11-10 15:42:57 +1300
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-11-10 19:21:05 +1300
commit81d0ce7e97af74a2086e143f9e349ee519bd1c4d (patch)
tree873f5bed9e2805e2d820923311d945898c566008 /include/ruby/io
parent4b8903421828cb9d4de139180563ae8d8f04e1ab (diff)
Mark IO::Buffer as experimental.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4621
Diffstat (limited to 'include/ruby/io')
-rw-r--r--include/ruby/io/buffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/io/buffer.h b/include/ruby/io/buffer.h
index 073215186c..053e7e17f9 100644
--- a/include/ruby/io/buffer.h
+++ b/include/ruby/io/buffer.h
@@ -16,6 +16,9 @@
RUBY_SYMBOL_EXPORT_BEGIN
+// WARNING: This entire interface is experimental and may change in the future!
+#define RB_IO_BUFFER_EXPERIMENTAL 1
+
RUBY_EXTERN VALUE rb_cIOBuffer;
RUBY_EXTERN size_t RUBY_IO_BUFFER_PAGE_SIZE;