We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
Also posted here: ffi/ffi#396
I noticed that a 64-bit JRuby is handling :uintptr_t incorrectly. It should give me an 8 byte pointer, but I'm getting a 4 byte pointer instead:
#64-bit MRI returns 8, but a 64-bit JRuby returns 4 FFI::MemoryPointer.new(:uintptr_t).size
My workaround for now is this:
if RUBY_PLATFORM == 'java' && ENV_JAVA['sun.arch.data.model'] == '64' :ulong_long else :uintptr_t end
The text was updated successfully, but these errors were encountered:
this is related to #1718
Sorry, something went wrong.
6fc0135
Set proper uintptr_t size for FFI in win64 platform. Fixes #2293.
1d613d6
Also fixes #1718.
No branches or pull requests
Also posted here: ffi/ffi#396
I noticed that a 64-bit JRuby is handling :uintptr_t incorrectly. It should give me an 8 byte pointer, but I'm getting a 4 byte pointer instead:
My workaround for now is this:
The text was updated successfully, but these errors were encountered: