Skip to content

Commit ab22e71

Browse files
committed
fix: address typo in error message
1 parent 86d88c1 commit ab22e71

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

lib/node_modules/@stdlib/napi/argv-strided-int16array2d/include/stdlib/napi/argv_strided_int16array2d.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
#define STDLIB_NAPI_ARGV_STRIDED_INT16ARRAY2D( env, X, M, N, strideX1, strideX2, argv, index ) \
8282
napi_value __STDLIB_NAPI_ARGV_STRIDED_INT16ARRAY2D_ERR_ ## X; \
8383
int16_t *X; \
84-
stdlib_napi_argv_strided_int16array2d( env, M, N, strideX1, strideX2, argv[ index ], &X, "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument must be a Int16Array.", "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument has insufficient elements based on the associated strides and the number of rows and columns.", &__STDLIB_NAPI_ARGV_STRIDED_INT16ARRAY2D_ERR_ ## X ); \
84+
stdlib_napi_argv_strided_int16array2d( env, M, N, strideX1, strideX2, argv[ index ], &X, "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument must be an Int16Array.", "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument has insufficient elements based on the associated strides and the number of rows and columns.", &__STDLIB_NAPI_ARGV_STRIDED_INT16ARRAY2D_ERR_ ## X ); \
8585
if ( __STDLIB_NAPI_ARGV_STRIDED_INT16ARRAY2D_ERR_ ## X != NULL ) { \
8686
STDLIB_ASSERT_NAPI_STATUS_OK_RET_NULL( env, napi_throw( env, __STDLIB_NAPI_ARGV_STRIDED_INT16ARRAY2D_ERR_ ## X ), "" ) \
8787
return NULL; \

lib/node_modules/@stdlib/napi/argv-strided-int16array2d/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @param strideX2 stride length along the second dimension
3434
* @param value Node-API value
3535
* @param data pointer for returning a reference to the output array
36-
* @param message1 error message if a value is not a Int16Array
36+
* @param message1 error message if a value is not an Int16Array
3737
* @param message2 error message if a value has insufficient elements
3838
* @param err pointer for storing a JavaScript error
3939
* @return status code indicating success or failure (returns `napi_ok` if success)

lib/node_modules/@stdlib/napi/argv-strided-int32array2d/include/stdlib/napi/argv_strided_int32array2d.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
#define STDLIB_NAPI_ARGV_STRIDED_INT32ARRAY2D( env, X, M, N, strideX1, strideX2, argv, index ) \
8282
napi_value __STDLIB_NAPI_ARGV_STRIDED_INT32ARRAY2D_ERR_ ## X; \
8383
int32_t *X; \
84-
stdlib_napi_argv_strided_int32array2d( env, M, N, strideX1, strideX2, argv[ index ], &X, "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument must be a Int32Array.", "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument has insufficient elements based on the associated strides and the number of rows and columns.", &__STDLIB_NAPI_ARGV_STRIDED_INT32ARRAY2D_ERR_ ## X ); \
84+
stdlib_napi_argv_strided_int32array2d( env, M, N, strideX1, strideX2, argv[ index ], &X, "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument must be an Int32Array.", "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument has insufficient elements based on the associated strides and the number of rows and columns.", &__STDLIB_NAPI_ARGV_STRIDED_INT32ARRAY2D_ERR_ ## X ); \
8585
if ( __STDLIB_NAPI_ARGV_STRIDED_INT32ARRAY2D_ERR_ ## X != NULL ) { \
8686
STDLIB_ASSERT_NAPI_STATUS_OK_RET_NULL( env, napi_throw( env, __STDLIB_NAPI_ARGV_STRIDED_INT32ARRAY2D_ERR_ ## X ), "" ) \
8787
return NULL; \

lib/node_modules/@stdlib/napi/argv-strided-int32array2d/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @param strideX2 stride length along the second dimension
3434
* @param value Node-API value
3535
* @param data pointer for returning a reference to the output array
36-
* @param message1 error message if a value is not a Int32Array
36+
* @param message1 error message if a value is not an Int32Array
3737
* @param message2 error message if a value has insufficient elements
3838
* @param err pointer for storing a JavaScript error
3939
* @return status code indicating success or failure (returns `napi_ok` if success)

lib/node_modules/@stdlib/napi/argv-strided-int8array2d/include/stdlib/napi/argv_strided_int8array2d.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
#define STDLIB_NAPI_ARGV_STRIDED_INT8ARRAY2D( env, X, M, N, strideX1, strideX2, argv, index ) \
8282
napi_value __STDLIB_NAPI_ARGV_STRIDED_INT8ARRAY2D_ERR_ ## X; \
8383
int8_t *X; \
84-
stdlib_napi_argv_strided_int8array2d( env, M, N, strideX1, strideX2, argv[ index ], &X, "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument must be a Int8Array.", "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument has insufficient elements based on the associated strides and the number of rows and columns.", &__STDLIB_NAPI_ARGV_STRIDED_INT8ARRAY2D_ERR_ ## X ); \
84+
stdlib_napi_argv_strided_int8array2d( env, M, N, strideX1, strideX2, argv[ index ], &X, "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument must be an Int8Array.", "invalid argument. " STDLIB_NAPI_ARGV_INDEX2ORDINAL( index ) " argument has insufficient elements based on the associated strides and the number of rows and columns.", &__STDLIB_NAPI_ARGV_STRIDED_INT8ARRAY2D_ERR_ ## X ); \
8585
if ( __STDLIB_NAPI_ARGV_STRIDED_INT8ARRAY2D_ERR_ ## X != NULL ) { \
8686
STDLIB_ASSERT_NAPI_STATUS_OK_RET_NULL( env, napi_throw( env, __STDLIB_NAPI_ARGV_STRIDED_INT8ARRAY2D_ERR_ ## X ), "" ) \
8787
return NULL; \

lib/node_modules/@stdlib/napi/argv-strided-int8array2d/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @param strideX2 stride length along the second dimension
3434
* @param value Node-API value
3535
* @param data pointer for returning a reference to the output array
36-
* @param message1 error message if a value is not a Int8Array
36+
* @param message1 error message if a value is not an Int8Array
3737
* @param message2 error message if a value has insufficient elements
3838
* @param err pointer for storing a JavaScript error
3939
* @return status code indicating success or failure (returns `napi_ok` if success)

0 commit comments

Comments
 (0)