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

Fix PACK_MAP for unsigned types #110

Merged
merged 2 commits into from
Sep 5, 2022
Merged

Fix PACK_MAP for unsigned types #110

merged 2 commits into from
Sep 5, 2022

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Sep 5, 2022

I think void* and unsigned types should be packed/unpacked as unsigned values.

lib/fiddle/pack.rb Outdated Show resolved Hide resolved
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

@kou kou merged commit 4a71246 into master Sep 5, 2022
@kou kou deleted the unsigned-pack-map branch September 5, 2022 07:06
@k0kubun
Copy link
Member Author

k0kubun commented Sep 14, 2022

FYI, I cherry-picked this to ruby/ruby ruby/ruby@1067441 as I needed to use this in ruby/ruby (MJIT).

I'd also like to cherry-pick #111 if you're okay with it.

@kou
Copy link
Member

kou commented Sep 14, 2022

I'm OK with it.
You can merge the current master instead of cherry-picking some commits if you want.

@k0kubun
Copy link
Member Author

k0kubun commented Sep 14, 2022

got it, thank you!

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