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

LongDouble.c Java_com_kenai_jffi_Foreign_longDoubleFromString Misuse of args #62

Open
aploese opened this issue Dec 20, 2018 · 0 comments

Comments

@aploese
Copy link

aploese commented Dec 20, 2018

a byte array, the insertOffset and the length of that byte array is passed.
then in jffi_encodeLongDouble the length of the array is confused with the insert length because offset is ignored in that comparison.

Solution:
The ability to insert at offset is not used, so why not create that array in the native code and return that array?

@headius why is that method not static? the object reference is not used?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant