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

Don't depend on Fiddle features which aren't in Ruby 3.0 #66

Merged

Conversation

KJTsanaktsidis
Copy link
Contributor

The fiddle gem has changed more than I thought! We can't depend on CONST_STRING being available, nor the Fiddle::Type module. Thankfully, passing strings in as VOIDP or CONST_STRING works the same, and we don't need to look at any string results, so we can just use the old/new types interchangeably.

The fiddle gem has changed more than I thought! We can't depend on
CONST_STRING being available, nor the Fiddle::Type module. Thankfully,
passing strings _in_ as VOIDP or CONST_STRING works the same, and we
don't need to look at any string results, so we can just use the old/new
types interchangeably.
Copy link
Member

@eregon eregon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eregon eregon merged commit 31f51e0 into ruby:master Jan 24, 2024
8 of 9 checks passed
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