We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Memory.Fn.ThiscallU8 fails with
Memory.Fn.ThiscallU8
Error converting from js 'i32' into type 'i8': Overflow
The text was updated successfully, but these errors were encountered:
workaround: use ThiscallI32 and convert a 32-bit value to a 8-bit using & 255
& 255
let res = Memory.Fn.ThiscallI32(addr, struct)(arg1, arg2); return res & 255
Sorry, something went wrong.
Fixed in 1.2.1
No branches or pull requests
Memory.Fn.ThiscallU8
fails withThe text was updated successfully, but these errors were encountered: