Skip to content

Commit b3954ec

Browse files
committed
chore: minor clean-up
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: passed - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent e6091be commit b3954ec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/napi/argv-dataview/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
118118

119119
// ...
120120

121-
uint8+t *X;
121+
uint8_t *X;
122122
int64_t len;
123123
napi_value err;
124124
napi_status status = stdlib_napi_argv_dataview( env, value, &X, &len, "Must be a DataView.", &err );
@@ -139,7 +139,7 @@ The function accepts the following arguments:
139139
- **data**: `[out] uint8_t**` pointer for returning a reference to the output array.
140140
- **length**: `[out] int64_t*` pointer for returning the number of array elements.
141141
- **message**: `[in] char*` error message.
142-
- **err**: `[out] napi_value*` pointer for storing a JavaScript error. If not provided a number, the function sets `err` with a JavaScript error; otherwise, `err` is set to `NULL`.
142+
- **err**: `[out] napi_value*` pointer for storing a JavaScript error. If not provided a DataView, the function sets `err` with a JavaScript error; otherwise, `err` is set to `NULL`.
143143
144144
```c
145145
napi_status stdlib_napi_argv_dataview( const napi_env env, const napi_value value, uint8_t **data, int64_t *length, const char *message, napi_value *err );

lib/node_modules/@stdlib/napi/argv-dataview/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@stdlib/napi/argv-datavoew",
2+
"name": "@stdlib/napi/argv-dataview",
33
"version": "0.0.0",
44
"description": "Convert a Node-API value corresponding to a DataView to an array of bytes (i.e., an unsigned 8-bit integer array).",
55
"license": "Apache-2.0",

0 commit comments

Comments
 (0)