summaryrefslogtreecommitdiff
path: root/io_buffer.c
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-05-09 09:07:46 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-05-09 09:09:29 +0900
commitdc9a13abeef5a2b936fbb55edc112b8b382a05e7 (patch)
treeb1ea048373d1f94dcb344a7521627df3fc38b38e /io_buffer.c
parentef525b012a709077ea2797e8642fae0b61234063 (diff)
downloadruby-dc9a13abeef5a2b936fbb55edc112b8b382a05e7.tar.gz
Fix rdoc of IO::Buffer [ci skip]
Diffstat (limited to 'io_buffer.c')
-rw-r--r--io_buffer.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/io_buffer.c b/io_buffer.c
index b0b3e9ae53..38ec76b599 100644
--- a/io_buffer.c
+++ b/io_buffer.c
@@ -2138,20 +2138,7 @@ io_buffer_pwrite(VALUE self, VALUE io, VALUE length, VALUE offset)
* C mechanisms like `memcpy`.
*
* The class is meant to be an utility for implementing more high-level mechanisms
- * like Fiber::SchedulerInterface#io_read and Fiber::Sc io_buffer_unmap(data->base, data->size);
- }
-
- if (RB_TYPE_P(data->source, T_STRING)) {
- rb_str_unlocktmp(data->source);
- }
- // Previously we had this, but we found out due to the way GC works, we
- // can't refer to any other Ruby objects here.
- // if (RB_TYPE_P(data->source, T_STRING)) {
- // rb_str_unlocktmp(data->source);
- // }
-
- data->base = NULL;
-hedulerInterface#io_write.
+ * like Fiber::SchedulerInterface#io_read and Fiber::SchedulerInterface#io_write.
*
* <b>Examples of usage:</b>
*