ruby-changes:71721
From: Alex <ko1@a...>
Date: Thu, 14 Apr 2022 04:35:11 +0900 (JST)
Subject: [ruby-changes:71721] dbb227d3b6 (master): [DOC] add missing size params in fiber scheduler.h (#5441)
https://git.ruby-lang.org/ruby.git/commit/?id=dbb227d3b6 From dbb227d3b6bb2e962e68d8b4991a53705fc041c1 Mon Sep 17 00:00:00 2001 From: Alex Matchneer <machty@g...> Date: Wed, 13 Apr 2022 15:34:49 -0400 Subject: [DOC] add missing size params in fiber scheduler.h (#5441) --- include/ruby/fiber/scheduler.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ruby/fiber/scheduler.h b/include/ruby/fiber/scheduler.h index 3ea52beb95..ced092adbc 100644 --- a/include/ruby/fiber/scheduler.h +++ b/include/ruby/fiber/scheduler.h @@ -293,6 +293,7 @@ VALUE rb_fiber_scheduler_io_pwrite(VALUE scheduler, VALUE io, VALUE buffer, size https://github.com/ruby/ruby/blob/trunk/include/ruby/fiber/scheduler.h#L293 * @param[in] scheduler Target scheduler. * @param[out] io An io object to read from. * @param[out] buffer Return buffer. + * @param[in] size Size of the return buffer. * @param[in] length Requested number of bytes to read. * @retval RUBY_Qundef `scheduler` doesn't have `#io_read`. * @return otherwise What `scheduler.io_read` returns. @@ -305,6 +306,7 @@ VALUE rb_fiber_scheduler_io_read_memory(VALUE scheduler, VALUE io, void *buffer, https://github.com/ruby/ruby/blob/trunk/include/ruby/fiber/scheduler.h#L306 * @param[in] scheduler Target scheduler. * @param[out] io An io object to write to. * @param[in] buffer What to write. + * @param[in] size Size of the buffer. * @param[in] length Number of bytes to write. * @retval RUBY_Qundef `scheduler` doesn't have `#io_write`. * @return otherwise What `scheduler.io_write` returns. -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/