Skip to content

Commit b65abcc

Browse files
committed
Auto-generated commit
1 parent 5c1c9b8 commit b65abcc

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,9 @@
475475

476476
### Closed Issues
477477

478-
A total of 22 issues were closed in this release:
478+
A total of 23 issues were closed in this release:
479479

480-
[#5526](https://github.com/stdlib-js/stdlib/issues/5526), [#5788](https://github.com/stdlib-js/stdlib/issues/5788), [#5960](https://github.com/stdlib-js/stdlib/issues/5960), [#6053](https://github.com/stdlib-js/stdlib/issues/6053), [#6236](https://github.com/stdlib-js/stdlib/issues/6236), [#6456](https://github.com/stdlib-js/stdlib/issues/6456), [#6457](https://github.com/stdlib-js/stdlib/issues/6457), [#6473](https://github.com/stdlib-js/stdlib/issues/6473), [#6521](https://github.com/stdlib-js/stdlib/issues/6521), [#6574](https://github.com/stdlib-js/stdlib/issues/6574), [#6589](https://github.com/stdlib-js/stdlib/issues/6589), [#6604](https://github.com/stdlib-js/stdlib/issues/6604), [#6663](https://github.com/stdlib-js/stdlib/issues/6663), [#6776](https://github.com/stdlib-js/stdlib/issues/6776), [#6933](https://github.com/stdlib-js/stdlib/issues/6933), [#7114](https://github.com/stdlib-js/stdlib/issues/7114), [#7135](https://github.com/stdlib-js/stdlib/issues/7135), [#7215](https://github.com/stdlib-js/stdlib/issues/7215), [#7296](https://github.com/stdlib-js/stdlib/issues/7296), [#7395](https://github.com/stdlib-js/stdlib/issues/7395), [#7554](https://github.com/stdlib-js/stdlib/issues/7554), [#7626](https://github.com/stdlib-js/stdlib/issues/7626)
480+
[#5526](https://github.com/stdlib-js/stdlib/issues/5526), [#5788](https://github.com/stdlib-js/stdlib/issues/5788), [#5960](https://github.com/stdlib-js/stdlib/issues/5960), [#6053](https://github.com/stdlib-js/stdlib/issues/6053), [#6236](https://github.com/stdlib-js/stdlib/issues/6236), [#6456](https://github.com/stdlib-js/stdlib/issues/6456), [#6457](https://github.com/stdlib-js/stdlib/issues/6457), [#6473](https://github.com/stdlib-js/stdlib/issues/6473), [#6521](https://github.com/stdlib-js/stdlib/issues/6521), [#6574](https://github.com/stdlib-js/stdlib/issues/6574), [#6589](https://github.com/stdlib-js/stdlib/issues/6589), [#6604](https://github.com/stdlib-js/stdlib/issues/6604), [#6663](https://github.com/stdlib-js/stdlib/issues/6663), [#6776](https://github.com/stdlib-js/stdlib/issues/6776), [#6933](https://github.com/stdlib-js/stdlib/issues/6933), [#7114](https://github.com/stdlib-js/stdlib/issues/7114), [#7135](https://github.com/stdlib-js/stdlib/issues/7135), [#7215](https://github.com/stdlib-js/stdlib/issues/7215), [#7296](https://github.com/stdlib-js/stdlib/issues/7296), [#7395](https://github.com/stdlib-js/stdlib/issues/7395), [#7554](https://github.com/stdlib-js/stdlib/issues/7554), [#7626](https://github.com/stdlib-js/stdlib/issues/7626), [#7767](https://github.com/stdlib-js/stdlib/issues/7767)
481481

482482
</section>
483483

@@ -489,6 +489,7 @@ A total of 22 issues were closed in this release:
489489

490490
<details>
491491

492+
- [`fd9f8d2`](https://github.com/stdlib-js/stdlib/commit/fd9f8d2b7cb5d4a8c7f2a9cef97e7a0b246523f6) - **chore:** fix C lint errors [(#7769)](https://github.com/stdlib-js/stdlib/pull/7769) _(by GeoDaoyu)_
492493
- [`51e49b8`](https://github.com/stdlib-js/stdlib/commit/51e49b83cdb5c0d37d9e64864d6319655518dc25) - **feat:** add `zip2views1d` to namespace _(by Athan Reines)_
493494
- [`36f3f0c`](https://github.com/stdlib-js/stdlib/commit/36f3f0cdf92b3a63c67c9ed79a2b9f15855d3800) - **feat:** add `ndarray/base/zip2views1d` _(by Athan Reines)_
494495
- [`724d6be`](https://github.com/stdlib-js/stdlib/commit/724d6be1abb00700577700905dd847f6ab98812d) - **feat:** add `array2ndarray` to namespace _(by Athan Reines)_

ctor/src/get.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* @return status code
4040
*/
4141
int8_t stdlib_ndarray_get( const struct ndarray *arr, const int64_t *sub, void *out ) {
42-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
42+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
4343
if ( idx == NULL ) {
4444
return -1;
4545
}
@@ -60,7 +60,7 @@ int8_t stdlib_ndarray_get( const struct ndarray *arr, const int64_t *sub, void *
6060
* @return status code
6161
*/
6262
int8_t stdlib_ndarray_get_float64( const struct ndarray *arr, const int64_t *sub, double *out ) {
63-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
63+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
6464
if ( idx == NULL ) {
6565
return -1;
6666
}
@@ -81,7 +81,7 @@ int8_t stdlib_ndarray_get_float64( const struct ndarray *arr, const int64_t *sub
8181
* @return status code
8282
*/
8383
int8_t stdlib_ndarray_get_float32( const struct ndarray *arr, const int64_t *sub, float *out ) {
84-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
84+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
8585
if ( idx == NULL ) {
8686
return -1;
8787
}
@@ -102,7 +102,7 @@ int8_t stdlib_ndarray_get_float32( const struct ndarray *arr, const int64_t *sub
102102
* @return status code
103103
*/
104104
int8_t stdlib_ndarray_get_uint64( const struct ndarray *arr, const int64_t *sub, uint64_t *out ) {
105-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
105+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
106106
if ( idx == NULL ) {
107107
return -1;
108108
}
@@ -123,7 +123,7 @@ int8_t stdlib_ndarray_get_uint64( const struct ndarray *arr, const int64_t *sub,
123123
* @return status code
124124
*/
125125
int8_t stdlib_ndarray_get_int64( const struct ndarray *arr, const int64_t *sub, int64_t *out ) {
126-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
126+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
127127
if ( idx == NULL ) {
128128
return -1;
129129
}
@@ -144,7 +144,7 @@ int8_t stdlib_ndarray_get_int64( const struct ndarray *arr, const int64_t *sub,
144144
* @return status code
145145
*/
146146
int8_t stdlib_ndarray_get_uint32( const struct ndarray *arr, const int64_t *sub, uint32_t *out ) {
147-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
147+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
148148
if ( idx == NULL ) {
149149
return -1;
150150
}
@@ -165,7 +165,7 @@ int8_t stdlib_ndarray_get_uint32( const struct ndarray *arr, const int64_t *sub,
165165
* @return status code
166166
*/
167167
int8_t stdlib_ndarray_get_int32( const struct ndarray *arr, const int64_t *sub, int32_t *out ) {
168-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
168+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
169169
if ( idx == NULL ) {
170170
return -1;
171171
}
@@ -186,7 +186,7 @@ int8_t stdlib_ndarray_get_int32( const struct ndarray *arr, const int64_t *sub,
186186
* @return status code
187187
*/
188188
int8_t stdlib_ndarray_get_uint16( const struct ndarray *arr, const int64_t *sub, uint16_t *out ) {
189-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
189+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
190190
if ( idx == NULL ) {
191191
return -1;
192192
}
@@ -207,7 +207,7 @@ int8_t stdlib_ndarray_get_uint16( const struct ndarray *arr, const int64_t *sub,
207207
* @return status code
208208
*/
209209
int8_t stdlib_ndarray_get_int16( const struct ndarray *arr, const int64_t *sub, int16_t *out ) {
210-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
210+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
211211
if ( idx == NULL ) {
212212
return -1;
213213
}
@@ -228,7 +228,7 @@ int8_t stdlib_ndarray_get_int16( const struct ndarray *arr, const int64_t *sub,
228228
* @return status code
229229
*/
230230
int8_t stdlib_ndarray_get_uint8( const struct ndarray *arr, const int64_t *sub, uint8_t *out ) {
231-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
231+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
232232
if ( idx == NULL ) {
233233
return -1;
234234
}
@@ -249,7 +249,7 @@ int8_t stdlib_ndarray_get_uint8( const struct ndarray *arr, const int64_t *sub,
249249
* @return status code
250250
*/
251251
int8_t stdlib_ndarray_get_int8( const struct ndarray *arr, const int64_t *sub, int8_t *out ) {
252-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
252+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
253253
if ( idx == NULL ) {
254254
return -1;
255255
}
@@ -270,7 +270,7 @@ int8_t stdlib_ndarray_get_int8( const struct ndarray *arr, const int64_t *sub, i
270270
* @return status code
271271
*/
272272
int8_t stdlib_ndarray_get_complex128( const struct ndarray *arr, const int64_t *sub, stdlib_complex128_t *out ) {
273-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
273+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
274274
if ( idx == NULL ) {
275275
return -1;
276276
}
@@ -291,7 +291,7 @@ int8_t stdlib_ndarray_get_complex128( const struct ndarray *arr, const int64_t *
291291
* @return status code
292292
*/
293293
int8_t stdlib_ndarray_get_complex64( const struct ndarray *arr, const int64_t *sub, stdlib_complex64_t *out ) {
294-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
294+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
295295
if ( idx == NULL ) {
296296
return -1;
297297
}
@@ -312,7 +312,7 @@ int8_t stdlib_ndarray_get_complex64( const struct ndarray *arr, const int64_t *s
312312
* @return status code
313313
*/
314314
int8_t stdlib_ndarray_get_bool( const struct ndarray *arr, const int64_t *sub, bool *out ) {
315-
uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
315+
const uint8_t *idx = stdlib_ndarray_get_ptr( arr, sub );
316316
if ( idx == NULL ) {
317317
return -1;
318318
}

0 commit comments

Comments
 (0)