diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2022-06-18 18:03:51 +1200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2022-06-25 21:17:13 +1200 |
commit | d2166c09b08fc144123e5a7eef69b8921bfced35 (patch) | |
tree | 6700c53796eb33904cf02b0c4125f9d1b6bc7a79 /include/ruby | |
parent | c0b5124043c3cbc62b3314e89784eaaf0a0f244a (diff) | |
download | ruby-d2166c09b08fc144123e5a7eef69b8921bfced35.tar.gz |
Copy `IO#wait*` methods from `io-wait` gem to `io.c`.
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/io.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |