From d2166c09b08fc144123e5a7eef69b8921bfced35 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Sat, 18 Jun 2022 18:03:51 +1200 Subject: Copy `IO#wait*` methods from `io-wait` gem to `io.c`. --- include/ruby/io.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/ruby') diff --git a/include/ruby/io.h b/include/ruby/io.h index 13af824ed8..b5e33c1cf9 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -55,6 +55,9 @@ #include "ruby/internal/value.h" #include "ruby/backward/2/attributes.h" /* PACKED_STRUCT_UNALIGNED */ +// IO#wait, IO#wait_readable, IO#wait_writable, IO#wait_priority are defined by this implementation. +#define RUBY_IO_WAIT_METHODS + RBIMPL_SYMBOL_EXPORT_BEGIN() struct stat; -- cgit v1.2.3