Uh oh!
There was an error while loading. Please reload this page.
ffi: fix FLOAT_32 and FLOAT_64 type constants - #62892
Closed
watilde wants to merge 1 commit into
Closed
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #62892 +/- ##
==========================================
+ Coverage 89.61% 89.64% +0.02%
==========================================
Files 706 706 Lines 219203 219221 +18 Branches 41995 42016 +21 ==========================================
+ Hits 196445 196517 +72 + Misses 14663 14619 -44 + Partials 8095 8085 -10
🚀 New features to boost your workflow:
|
watilde
commented
Apr 23, 2026
MemberAuthor
rebase and make the commit Verified. |
ShogunPanda
commented
Apr 24, 2026
Contributor
Hi! Can you please update this? |
watilde
commented
Apr 24, 2026
MemberAuthor
@ShogunPanda Good point, I've udpated. Thank you! |
ShogunPanda
commented
Apr 24, 2026
Contributor
Looks fine to me. Fix linting and we're should be good to go. |
watilde
commented
Apr 24, 2026
MemberAuthor
Should be done now. Thank you! |
addaleax
approved these changes
Apr 24, 2026
nodejs-github-bot
commented
Apr 24, 2026
Collaborator
bengl
approved these changes
Apr 24, 2026
nodejs-github-bot
commented
Apr 25, 2026
Collaborator
watilde added a commit
that referenced
this pull request
Apr 25, 2026
PR-URL: #62892 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Bryan English <bryan@bryanenglish.com>
watilde
commented
Apr 25, 2026
MemberAuthor
Landed in 10ae641 |
aduh95 pushed a commit
that referenced
this pull request
May 5, 2026
PR-URL: #62892 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Bryan English <bryan@bryanenglish.com>
nodejs-github-bot pushed a commit
that referenced
this pull request
Aug 2, 2026
`ToFFIType()` accepts `float32` and `float64` as aliases for `float` and `double`, and both names already appear in the `ffi.types` constants list further down the same page, but they were missing from the list of supported type names. Also split `char` onto its own line. Unlike `u8`, `uint8` and `bool`, which always map to `ffi_type_uint8`, `char` maps to either `ffi_type_sint8` or `ffi_type_uint8` depending on the platform C ABI, as the paragraph below the list already explains. Signed-off-by: Soul Lee <alus20x@gmail.com> PR-URL: #64874 Refs: #62892 Refs: #64848 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
aduh95 pushed a commit
that referenced
this pull request
Aug 3, 2026
`ToFFIType()` accepts `float32` and `float64` as aliases for `float` and `double`, and both names already appear in the `ffi.types` constants list further down the same page, but they were missing from the list of supported type names. Also split `char` onto its own line. Unlike `u8`, `uint8` and `bool`, which always map to `ffi_type_uint8`, `char` maps to either `ffi_type_sint8` or `ffi_type_uint8` depending on the platform C ABI, as the paragraph below the list already explains. Signed-off-by: Soul Lee <alus20x@gmail.com> PR-URL: #64874 Refs: #62892 Refs: #64848 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
aduh95 pushed a commit
that referenced
this pull request
Aug 4, 2026
`ToFFIType()` accepts `float32` and `float64` as aliases for `float` and `double`, and both names already appear in the `ffi.types` constants list further down the same page, but they were missing from the list of supported type names. Also split `char` onto its own line. Unlike `u8`, `uint8` and `bool`, which always map to `ffi_type_uint8`, `char` maps to either `ffi_type_sint8` or `ffi_type_uint8` depending on the platform C ABI, as the paragraph below the list already explains. Signed-off-by: Soul Lee <alus20x@gmail.com> PR-URL: #64874 Refs: #62892 Refs: #64848 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
aduh95 pushed a commit
that referenced
this pull request
Aug 4, 2026
`ToFFIType()` accepts `float32` and `float64` as aliases for `float` and `double`, and both names already appear in the `ffi.types` constants list further down the same page, but they were missing from the list of supported type names. Also split `char` onto its own line. Unlike `u8`, `uint8` and `bool`, which always map to `ffi_type_uint8`, `char` maps to either `ffi_type_sint8` or `ffi_type_uint8` depending on the platform C ABI, as the paragraph below the list already explains. Signed-off-by: Soul Lee <alus20x@gmail.com> PR-URL: #64874 Refs: #62892 Refs: #64848 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
aduh95 pushed a commit
that referenced
this pull request
Aug 5, 2026
`ToFFIType()` accepts `float32` and `float64` as aliases for `float` and `double`, and both names already appear in the `ffi.types` constants list further down the same page, but they were missing from the list of supported type names. Also split `char` onto its own line. Unlike `u8`, `uint8` and `bool`, which always map to `ffi_type_uint8`, `char` maps to either `ffi_type_sint8` or `ffi_type_uint8` depending on the platform C ABI, as the paragraph below the list already explains. Signed-off-by: Soul Lee <alus20x@gmail.com> PR-URL: #64874 Refs: #62892 Refs: #64848 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test code
Before
After