Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of IO internals. #43

Merged
merged 4 commits into from
May 29, 2023
Merged

Remove usage of IO internals. #43

merged 4 commits into from
May 29, 2023

Conversation

ioquatix
Copy link
Member

See ruby/ruby#6511 for more details.

cc @KJTsanaktsidis

@ioquatix ioquatix force-pushed the io-hide-implementation branch 7 times, most recently from 17e0d66 to a87e421 Compare May 29, 2023 10:31
@ioquatix ioquatix force-pushed the io-hide-implementation branch from a87e421 to 105f263 Compare May 29, 2023 10:34
…ial header definitions

* TruffleRuby imports headers from CRuby, notably rb_io_descriptor() but
  existing releases do not implement it yet. So before this change, we get:
  compiling ext/io/console/console.c
  ext/io/console/console.c:92:1: error: static declaration of 'rb_io_descriptor' follows non-static declaration
  rb_io_descriptor(VALUE io)
  truffleruby-dev/lib/cext/include/ruby/io.h:685:5: note: previous declaration is here
  int rb_io_descriptor(VALUE io);
@ioquatix ioquatix force-pushed the io-hide-implementation branch 2 times, most recently from 5a1ad9c to b45323b Compare May 29, 2023 12:16
@eregon eregon force-pushed the io-hide-implementation branch from b45323b to 06c38a6 Compare May 29, 2023 12:24
@ioquatix ioquatix marked this pull request as ready for review May 29, 2023 12:28
@ioquatix ioquatix merged commit 4b839a5 into master May 29, 2023
@ioquatix ioquatix deleted the io-hide-implementation branch May 29, 2023 12:30
matzbot pushed a commit to ruby/ruby that referenced this pull request May 29, 2023
matzbot pushed a commit to ruby/ruby that referenced this pull request Jun 1, 2023
  This reverts commit 1889133 and
  commit 764207e.

  Followed up with 85dcc48
noteflakes added a commit to digital-fabric/polyphony that referenced this pull request Jun 1, 2023
Following the example in ruby/io-console#43. There are still a missing API for setting the fd (e.g. in `Backend_accept`).
ioquatix added a commit to ioquatix/ruby that referenced this pull request Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants