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

src: remove duplicate buffer info calls #1354

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

legendecas
Copy link
Member

@legendecas legendecas commented Jul 21, 2023

The constructor of the Uint8Array has called napi_get_typed_array_info,
which should be identical to napi_get_buffer_info. Remove the duplicated
napi_get_buffer_info call.

Refs: nodejs/node#48742

The constructor of the Uint8Array has called napi_get_typed_array_info,
which should be identical to napi_get_buffer_info. Remove the duplicated
napi_get_buffer_info call.
@legendecas legendecas marked this pull request as ready for review July 21, 2023 15:09
Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@KevinEady KevinEady left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants