Fix rdoc of IO::Buffer [ci skip]

This commit is contained in:
Kazuhiro NISHIYAMA 2022-05-09 09:07:46 +09:00
Родитель ef525b012a
Коммит dc9a13abee
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 262ED8DBB4222F7A
1 изменённых файлов: 1 добавлений и 14 удалений

Просмотреть файл

@ -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>
*