Skip to content

Commit c37b6bc

Browse files
committed
Rename macro
1 parent eee6619 commit c37b6bc

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

lib/node_modules/@stdlib/strided/base/nullary/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2186,14 +2186,14 @@ In addition to the variables expected by `STDLIB_STRIDED_NULLARY_LOOP_PREAMBLE`,
21862186
}
21872187
```
21882188
2189-
#### STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NONSCALAR( tout )
2189+
#### STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NOCAST( tout )
21902190
2191-
Macro for a nullary loop which invokes a callback which returns a non-scalar value (e.g., a `struct`).
2191+
Macro for a nullary loop which invokes a callback and does not cast the return callback's return value (e.g., a `struct`).
21922192
21932193
```c
21942194
#include "stdlib/complex/float64.h"
21952195
2196-
STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NONSCALAR( stdlib_complex128_t )
2196+
STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NOCAST( stdlib_complex128_t )
21972197
```
21982198

21992199
The macro expects the following arguments:
@@ -2205,7 +2205,7 @@ In addition to the variables expected by `STDLIB_STRIDED_NULLARY_LOOP_PREAMBLE`,
22052205
- **f**: nullary callback.
22062206

22072207
```c
2208-
#define STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NONSCALAR( tout ) \
2208+
#define STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NOCAST( tout ) \
22092209
STDLIB_STRIDED_NULLARY_LOOP_PREAMBLE { \
22102210
*(tout *)op1 = f(); \
22112211
}

lib/node_modules/@stdlib/strided/base/nullary/include/stdlib/strided/base/nullary/macros.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
}
111111

112112
/**
113-
* Macro for a nullary loop which invokes a callback which returns a non-scalar value (e.g., a `struct`).
113+
* Macro for a nullary loop which invokes a callback and does not cast the return callback's return value (e.g., a `struct`).
114114
*
115115
* ## Notes
116116
*
@@ -121,9 +121,9 @@
121121
* @example
122122
* #include "stdlib/complex/float64.h"
123123
*
124-
* STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NONSCALAR( stdlib_complex128_t )
124+
* STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NOCAST( stdlib_complex128_t )
125125
*/
126-
#define STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NONSCALAR( tout ) \
126+
#define STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NOCAST( tout ) \
127127
STDLIB_STRIDED_NULLARY_LOOP_PREAMBLE { \
128128
*(tout *)op1 = f(); \
129129
}

lib/node_modules/@stdlib/strided/base/nullary/scripts/loops.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ var SPECIAL_LOOPS = [];
8787
// Hash containing C macro names:
8888
var MACROS = {
8989
'default': 'STDLIB_STRIDED_NULLARY_LOOP_CLBK',
90-
'nocast': 'STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NONSCALAR',
90+
'nocast': 'STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NOCAST',
9191
'rcast': 'STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_CAST_FCN'
9292
};
9393

lib/node_modules/@stdlib/strided/base/nullary/src/c.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@
6161
void stdlib_strided_c( uint8_t *arrays[], int64_t *shape, int64_t *strides, void *fcn ) {
6262
typedef stdlib_complex64_t func_type();
6363
func_type *f = (func_type *)fcn;
64-
STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NONSCALAR( stdlib_complex64_t )
64+
STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NOCAST( stdlib_complex64_t )
6565
}

lib/node_modules/@stdlib/strided/base/nullary/src/z.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@
6161
void stdlib_strided_z( uint8_t *arrays[], int64_t *shape, int64_t *strides, void *fcn ) {
6262
typedef stdlib_complex128_t func_type();
6363
func_type *f = (func_type *)fcn;
64-
STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NONSCALAR( stdlib_complex128_t )
64+
STDLIB_STRIDED_NULLARY_LOOP_CLBK_RET_NOCAST( stdlib_complex128_t )
6565
}

0 commit comments

Comments
 (0)