Skip to content

src: remove TypedArray::unknown_array_type - #1209

Closed
KevinEady wants to merge 1 commit into
nodejs:mainfrom
KevinEady:remove-typedarray-unknown_array_type
Closed

src: remove TypedArray::unknown_array_type#1209
KevinEady wants to merge 1 commit into
nodejs:mainfrom
KevinEady:remove-typedarray-unknown_array_type

Conversation

@KevinEady

@KevinEadyKevinEady commented Sep 21, 2022

Copy link
Copy Markdown
Contributor

Removes TypedArray::unknown_array_type and makes the default (if not specified) as napi_int8_array.

Fixes: #1066
Fixes: #1198
Closes: #1162

@mhdawsonmhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mhdawson

Copy link
Copy Markdown
Member

Marking this as SemVer major out of an abundanc of caution. We don't believe this will affect any code that could be working, but might as well signal as SemVer major just in case.

mhdawson pushed a commit that referenced this pull request Oct 14, 2022
PR-URL: #1209
Reviewed-By: Michael Dawson <midawson@redhat.com>
@mhdawson

Copy link
Copy Markdown
Member

Landed as a8afb2d

johnfrench3 pushed a commit to johnfrench3/node-addon-api-git that referenced this pull request Aug 11, 2023
PR-URL: nodejs/node-addon-api#1209
Reviewed-By: Michael Dawson <midawson@redhat.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Building with clang-16 error -Wenum-constexpr-conversion GCC warning with -Wconversion and undefined behavior for unknown_array_type

2 participants

@KevinEady@mhdawson