Repository navigation
Commit 09aa024
committed
Fix deprecation warnung about
```
../../../../ext/fox16_c/FXRuby.cpp: In function ‘FX::FXInputHandle FXRbGetWriteFileHandle(VALUE, FX::FXuint)’:
../../../../ext/fox16_c/FXRuby.cpp:1661:22: warning: ‘rb_io::tied_io_for_writing’ is deprecated: rb_io_get_write_io [-Wdeprecated-declarations]
1661 | VALUE wrio = fptr->tied_io_for_writing;
| ^~~~~~~~~~~~~~~~~~~
In file included from ../../../../ext/fox16_c/FXRuby.cpp:46:
/home/lars/.rvm/rubies/ruby-4.0.0/include/ruby-4.0.0/ruby/io.h:345:11: note: declared here
345 | VALUE tied_io_for_writing;
| ^~~~~~~~~~~~~~~~~~~
```fptr->tied_io_for_writing
1 parent 710a76c commit 09aa024
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1652 | 1652 | | |
1653 | 1653 | | |
1654 | 1654 | | |
1655 | | - | |
1656 | | - | |
1657 | | - | |
1658 | | - | |
1659 | | - | |
| 1655 | + | |
| 1656 | + | |
1660 | 1657 | | |
1661 | 1658 | | |
1662 | 1659 | | |
| |||
0 commit comments