Skip to content

Conversation

aapoalas
Copy link
Contributor

Small error slipped through in the 64 bit arguments mapping to C types for the Fast API trampoline functions. i64 and isize parameters were mapped to uint64_t.

This PR fixes the mistake, then fixes the test that was written to expect the isize to map into uint64_t to instead expect int64_t. Finally, I added some line breaks to the codegen'ed C output to make them more readable, hoping to avoid any future lapses like this. Now it's a bit more clear that the types wouldn't have matched originally.

@littledivy littledivy merged commit 007e1b4 into denoland:main Jul 12, 2022
@aapoalas aapoalas deleted the fix-ext-ffi-i64-pointer-to-arg branch July 23, 2022 17:18
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

Successfully merging this pull request may close these issues.

2 participants