diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2023-06-01 22:54:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-01 22:54:08 +0900 |
commit | b7ee51e81dd63990ec27daaa151864214cbf85d2 (patch) | |
tree | f410c597ed195d6bdb158346cec2f24c810794ec /io.c | |
parent | 47a8de609595def385cb8c716b80d7a64b718310 (diff) | |
download | ruby-b7ee51e81dd63990ec27daaa151864214cbf85d2.tar.gz |
Expose `enum rb_io_event` flags without `_t` suffix. (#7887)
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9785,7 +9785,7 @@ wait_mode_sym(VALUE mode) rb_raise(rb_eArgError, "unsupported mode: %"PRIsVALUE, mode); } -static inline rb_io_event_t +static inline enum rb_io_event io_event_from_value(VALUE value) { int events = RB_NUM2INT(value); @@ -9816,7 +9816,7 @@ static VALUE io_wait(int argc, VALUE *argv, VALUE io) { VALUE timeout = Qundef; - rb_io_event_t events = 0; + enum rb_io_event events = 0; int return_io = 0; // The documented signature for this method is actually incorrect. |