diff options
author | Andrew Konchin <[email protected]> | 2024-12-09 20:32:39 +0200 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2024-12-10 14:38:52 +0100 |
commit | de5df203bcfb228b7043ae0116535953c325ddb4 () | |
tree | a3b8b89d3010cc554fdb1df2720e81be41357787 /spec/ruby/optional/capi/ext/io_spec.c | |
parent | a90d8c335a6f5f2ae0c9480c9a546089f52e9028 (diff) |
Update to ruby/spec@9f10222
Notes: Merged: https://.com/ruby/ruby/pull/12297
-rw-r--r-- | spec/ruby/optional/capi/ext/io_spec.c | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -371,6 +371,27 @@ static VALUE io_spec_rb_io_mode(VALUE self, VALUE io) { static VALUE io_spec_rb_io_path(VALUE self, VALUE io) { return rb_io_path(io); } #endif void Init_io_spec(void) { @@ -409,6 +430,14 @@ void Init_io_spec(void) { #if defined(RUBY_VERSION_IS_3_3) || defined(TRUFFLERUBY) rb_define_method(cls, "rb_io_mode", io_spec_rb_io_mode, 1); rb_define_method(cls, "rb_io_path", io_spec_rb_io_path, 1); #endif } |