Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 40 additions & 40 deletions lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ int8_t stdlib_ndarray_f_as_t_0d( struct ndarray *arrays[], void *fcn ) {
*/
int8_t stdlib_ndarray_f_as_t_1d( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_1D_LOOP_CLBK( float )
func_type *f = (const func_type *)fcn;
STDLIB_NDARRAY_NULLARY_1D_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -275,8 +275,8 @@ int8_t stdlib_ndarray_f_as_t_1d( struct ndarray *arrays[], void *fcn ) {
*/
int8_t stdlib_ndarray_f_as_t_2d( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_2D_LOOP_CLBK( float )
func_type *f = (const func_type *)fcn;
STDLIB_NDARRAY_NULLARY_2D_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -358,8 +358,8 @@ int8_t stdlib_ndarray_f_as_t_2d( struct ndarray *arrays[], void *fcn ) {
*/
int8_t stdlib_ndarray_f_as_t_2d_blocked( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_2D_BLOCKED_LOOP_CLBK( float )
func_type *f = (const func_type *)fcn;
STDLIB_NDARRAY_NULLARY_2D_BLOCKED_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -440,9 +440,9 @@ int8_t stdlib_ndarray_f_as_t_2d_blocked( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_3d( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_3D_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_3D_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -523,9 +523,9 @@ int8_t stdlib_ndarray_f_as_t_3d( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_3d_blocked( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_3D_BLOCKED_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_3D_BLOCKED_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -606,9 +606,9 @@ int8_t stdlib_ndarray_f_as_t_3d_blocked( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_4d( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_4D_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_4D_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -689,9 +689,9 @@ int8_t stdlib_ndarray_f_as_t_4d( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_4d_blocked( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_4D_BLOCKED_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_4D_BLOCKED_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -772,9 +772,9 @@ int8_t stdlib_ndarray_f_as_t_4d_blocked( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_5d( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_5D_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_5D_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -855,9 +855,9 @@ int8_t stdlib_ndarray_f_as_t_5d( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_5d_blocked( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_5D_BLOCKED_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_5D_BLOCKED_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -938,9 +938,9 @@ int8_t stdlib_ndarray_f_as_t_5d_blocked( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_6d( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_6D_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_6D_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -1021,9 +1021,9 @@ int8_t stdlib_ndarray_f_as_t_6d( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_6d_blocked( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_6D_BLOCKED_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_6D_BLOCKED_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -1104,9 +1104,9 @@ int8_t stdlib_ndarray_f_as_t_6d_blocked( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_7d( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_7D_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_7D_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -1187,9 +1187,9 @@ int8_t stdlib_ndarray_f_as_t_7d( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_7d_blocked( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_7D_BLOCKED_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_7D_BLOCKED_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -1270,9 +1270,9 @@ int8_t stdlib_ndarray_f_as_t_7d_blocked( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_8d( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_8D_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_8D_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -1353,9 +1353,9 @@ int8_t stdlib_ndarray_f_as_t_8d( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_8d_blocked( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_8D_BLOCKED_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_8D_BLOCKED_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -1436,9 +1436,9 @@ int8_t stdlib_ndarray_f_as_t_8d_blocked( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_9d( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_9D_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_9D_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -1519,9 +1519,9 @@ int8_t stdlib_ndarray_f_as_t_9d( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_9d_blocked( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_9D_BLOCKED_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_9D_BLOCKED_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -1602,9 +1602,9 @@ int8_t stdlib_ndarray_f_as_t_9d_blocked( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_10d( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_10D_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_10D_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -1685,9 +1685,9 @@ int8_t stdlib_ndarray_f_as_t_10d( struct ndarray *arrays[], void *fcn ) {
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_10d_blocked( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_10D_BLOCKED_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_10D_BLOCKED_LOOP_CLBK(const float )
return 0;
}

Expand Down Expand Up @@ -1768,9 +1768,9 @@ int8_t stdlib_ndarray_f_as_t_10d_blocked( struct ndarray *arrays[], void *fcn )
* stdlib_ndarray_free( x );
*/
int8_t stdlib_ndarray_f_as_t_nd( struct ndarray *arrays[], void *fcn ) {
typedef uint16_t func_type( void );
typedef uint16_t func_type(const void );
func_type *f = (func_type *)fcn;
STDLIB_NDARRAY_NULLARY_ND_LOOP_CLBK( float )
STDLIB_NDARRAY_NULLARY_ND_LOOP_CLBK(const float )
return 0;
}

Expand Down
Loading