Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1cfc63e

Browse filesBrowse files
caioagianidanielleadams
authored andcommitted
src: fix typo in js_native_api_v8.cc
PR-URL: #41764 Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
1 parent 3690d34 commit 1cfc63e
Copy full SHA for 1cfc63e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/js_native_api_v8.cc‎

Copy file name to clipboardExpand all lines: src/js_native_api_v8.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#define CHECK_TO_NUMBER(env, context, result, src) \
1717
CHECK_TO_TYPE((env), Number, (context), (result), (src), napi_number_expected)
1818

19-
// n-api defines NAPI_AUTO_LENGHTH as the indicator that a string
19+
// n-api defines NAPI_AUTO_LENGTH as the indicator that a string
2020
// is null terminated. For V8 the equivalent is -1. The assert
2121
// validates that our cast of NAPI_AUTO_LENGTH results in -1 as
2222
// needed by V8.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.