Skip to content

Commit 594553d

Browse files
committed
chore: fix C lint errors (issue #11462)
1 parent 93c9868 commit 594553d

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

  • lib/node_modules/@stdlib/strided/common/src

lib/node_modules/@stdlib/strided/common/src/quinary.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
* // Apply the callback:
106106
* stdlib_strided_ddddd_d( arrays, shape, strides, (void *)add5 );
107107
*/
108-
void stdlib_strided_ddddd_d( uint8_t *arrays[], int64_t *shape, int64_t *strides, void *fcn ) {
108+
void stdlib_strided_ddddd_d( uint8_t *arrays[], const int64_6 *shape, const int64_t *strides, void *fcn ) {
109109
QuinaryFcnFloat64 *f = (QuinaryFcnFloat64 *)fcn;
110110
STDLIB_QUINARY_LOOP_CLBK( double, double )
111111
}
@@ -147,7 +147,7 @@ void stdlib_strided_ddddd_d( uint8_t *arrays[], int64_t *shape, int64_t *strides
147147
* // Apply the callback:
148148
* stdlib_strided_fffff_f( arrays, shape, strides, (void *)add5 );
149149
*/
150-
void stdlib_strided_fffff_f( uint8_t *arrays[], int64_t *shape, int64_t *strides, void *fcn ) {
150+
void stdlib_strided_fffff_f( uint8_t *arrays[], const int64_6 *shape, const int64_t *strides, void *fcn ) {
151151
QuinaryFcnFloat32 *f = (QuinaryFcnFloat32 *)fcn;
152152
STDLIB_QUINARY_LOOP_CLBK( float, float )
153153
}
@@ -189,7 +189,7 @@ void stdlib_strided_fffff_f( uint8_t *arrays[], int64_t *shape, int64_t *strides
189189
* // Apply the callback:
190190
* stdlib_strided_fffff_f_as_ddddd_d( arrays, shape, strides, (void *)add5 );
191191
*/
192-
void stdlib_strided_fffff_f_as_ddddd_d( uint8_t *arrays[], int64_t *shape, int64_t *strides, void *fcn ) {
192+
void stdlib_strided_fffff_f_as_ddddd_d( uint8_t *arrays[], const int64_6 *shape, const int64_t *strides, void *fcn ) {
193193
QuinaryFcnFloat64 *f = (QuinaryFcnFloat64 *)fcn;
194194
STDLIB_QUINARY_LOOP_CLBK_ARG_CAST( float, float, double )
195195
}
@@ -231,7 +231,7 @@ void stdlib_strided_fffff_f_as_ddddd_d( uint8_t *arrays[], int64_t *shape, int64
231231
* // Apply the callback:
232232
* stdlib_strided_IIIII_I( arrays, shape, strides, (void *)add5 );
233233
*/
234-
void stdlib_strided_IIIII_I( uint8_t *arrays[], int64_t *shape, int64_t *strides, void *fcn ) {
234+
void stdlib_strided_IIIII_I( uint8_t *arrays[], const int64_6 *shape, const int64_t *strides, void *fcn ) {
235235
QuinaryFcnUint32 *f = (QuinaryFcnUint32 *)fcn;
236236
STDLIB_QUINARY_LOOP_CLBK( uint32_t, uint32_t )
237237
}
@@ -273,7 +273,7 @@ void stdlib_strided_IIIII_I( uint8_t *arrays[], int64_t *shape, int64_t *strides
273273
* // Apply the callback:
274274
* stdlib_strided_iiiii_i( arrays, shape, strides, (void *)add5 );
275275
*/
276-
void stdlib_strided_iiiii_i( uint8_t *arrays[], int64_t *shape, int64_t *strides, void *fcn ) {
276+
void stdlib_strided_iiiii_i( uint8_t *arrays[], const int64_6 *shape, const int64_t *strides, void *fcn ) {
277277
QuinaryFcnInt32 *f = (QuinaryFcnInt32 *)fcn;
278278
STDLIB_QUINARY_LOOP_CLBK( int32_t, int32_t )
279279
}
@@ -315,7 +315,7 @@ void stdlib_strided_iiiii_i( uint8_t *arrays[], int64_t *shape, int64_t *strides
315315
* // Apply the callback:
316316
* stdlib_strided_HHHHH_H( arrays, shape, strides, (void *)add5 );
317317
*/
318-
void stdlib_strided_HHHHH_H( uint8_t *arrays[], int64_t *shape, int64_t *strides, void *fcn ) {
318+
void stdlib_strided_HHHHH_H( uint8_t *arrays[], const int64_6 *shape, const int64_t *strides, void *fcn ) {
319319
QuinaryFcnUint16 *f = (QuinaryFcnUint16 *)fcn;
320320
STDLIB_QUINARY_LOOP_CLBK( uint16_t, uint16_t )
321321
}
@@ -357,7 +357,7 @@ void stdlib_strided_HHHHH_H( uint8_t *arrays[], int64_t *shape, int64_t *strides
357357
* // Apply the callback:
358358
* stdlib_strided_hhhhh_h( arrays, shape, strides, (void *)add5 );
359359
*/
360-
void stdlib_strided_hhhhh_h( uint8_t *arrays[], int64_t *shape, int64_t *strides, void *fcn ) {
360+
void stdlib_strided_hhhhh_h( uint8_t *arrays[], const int64_6 *shape, const int64_t *strides, void *fcn ) {
361361
QuinaryFcnInt16 *f = (QuinaryFcnInt16 *)fcn;
362362
STDLIB_QUINARY_LOOP_CLBK( int16_t, int16_t )
363363
}
@@ -399,7 +399,7 @@ void stdlib_strided_hhhhh_h( uint8_t *arrays[], int64_t *shape, int64_t *strides
399399
* // Apply the callback:
400400
* stdlib_strided_BBBBB_B( arrays, shape, strides, (void *)add5 );
401401
*/
402-
void stdlib_strided_BBBBB_B( uint8_t *arrays[], int64_t *shape, int64_t *strides, void *fcn ) {
402+
void stdlib_strided_BBBBB_B( uint8_t *arrays[], const int64_6 *shape, const int64_t *strides, void *fcn ) {
403403
QuinaryFcnUint8 *f = (QuinaryFcnUint8 *)fcn;
404404
STDLIB_QUINARY_LOOP_CLBK( uint8_t, uint8_t )
405405
}
@@ -441,7 +441,7 @@ void stdlib_strided_BBBBB_B( uint8_t *arrays[], int64_t *shape, int64_t *strides
441441
* // Apply the callback:
442442
* stdlib_strided_bbbbb_b( arrays, shape, strides, (void *)add5 );
443443
*/
444-
void stdlib_strided_bbbbb_b( uint8_t *arrays[], int64_t *shape, int64_t *strides, void *fcn ) {
444+
void stdlib_strided_bbbbb_b( uint8_t *arrays[], const int64_6 *shape, const int64_t *strides, void *fcn ) {
445445
QuinaryFcnInt8 *f = (QuinaryFcnInt8 *)fcn;
446446
STDLIB_QUINARY_LOOP_CLBK( int8_t, int8_t )
447447
}

0 commit comments

Comments
 (0)