Skip to content

Commit 9bba1e2

Browse files
committed
Auto-generated commit
1 parent e0bb8be commit 9bba1e2

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-12-04)
7+
## Unreleased (2025-12-17)
88

99
<section class="bug-fixes">
1010

@@ -20,9 +20,9 @@
2020

2121
### Closed Issues
2222

23-
A total of 2 issues were closed in this release:
23+
A total of 3 issues were closed in this release:
2424

25-
[#7767](https://github.com/stdlib-js/stdlib/issues/7767), [#8225](https://github.com/stdlib-js/stdlib/issues/8225)
25+
[#7767](https://github.com/stdlib-js/stdlib/issues/7767), [#8225](https://github.com/stdlib-js/stdlib/issues/8225), [#9109](https://github.com/stdlib-js/stdlib/issues/9109)
2626

2727
</section>
2828

@@ -34,6 +34,7 @@ A total of 2 issues were closed in this release:
3434

3535
<details>
3636

37+
- [`a21edb1`](https://github.com/stdlib-js/stdlib/commit/a21edb10488a1a40457575ca21f07257c1ef5369) - **chore:** fix C lint errors [(#9111)](https://github.com/stdlib-js/stdlib/pull/9111) _(by Geo Daoyu)_
3738
- [`0eda9b1`](https://github.com/stdlib-js/stdlib/commit/0eda9b1af1d384b1a6be6fe1e80b36a32f69d55c) - **chore:** specify ESLint doctest alias _(by Philipp Burckhardt)_
3839
- [`a0de0e6`](https://github.com/stdlib-js/stdlib/commit/a0de0e64cebbdca08b7625a8357902c08268e92e) - **chore:** fix JavaScript lint errors [(#8226)](https://github.com/stdlib-js/stdlib/pull/8226) _(by Bhupesh Kumar, Athan Reines)_
3940
- [`a3e7978`](https://github.com/stdlib-js/stdlib/commit/a3e79786217bf1c9a84875203251af82cc93a222) - **docs:** update markup _(by Athan Reines)_

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ Mahfuza Humayra Mohona <mhmohona@gmail.com>
120120
MANI <77221000+Eternity0207@users.noreply.github.com>
121121
Manik Sharma <maniksharma.rke@gmail.com>
122122
Manvith M <148960168+manvith2003@users.noreply.github.com>
123+
Mara Averick <batpigandme@users.noreply.github.com>
123124
Marcus Fantham <mfantham@users.noreply.github.com>
124125
Matt Cochrane <matthew.cochrane.eng@gmail.com>
125126
Mihir Pandit <129577900+MSP20086@users.noreply.github.com>

src/iget.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* @return status code
4343
*/
4444
int8_t stdlib_ndarray_iget( const struct ndarray *arr, const int64_t idx, void *out ) {
45-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
45+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
4646
if ( ptr == NULL ) {
4747
return -1;
4848
}
@@ -64,7 +64,7 @@ int8_t stdlib_ndarray_iget( const struct ndarray *arr, const int64_t idx, void *
6464
* @return status code
6565
*/
6666
int8_t stdlib_ndarray_iget_float64( const struct ndarray *arr, const int64_t idx, double *out ) {
67-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
67+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
6868
if ( ptr == NULL ) {
6969
return -1;
7070
}
@@ -86,7 +86,7 @@ int8_t stdlib_ndarray_iget_float64( const struct ndarray *arr, const int64_t idx
8686
* @return status code
8787
*/
8888
int8_t stdlib_ndarray_iget_float32( const struct ndarray *arr, const int64_t idx, float *out ) {
89-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
89+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
9090
if ( ptr == NULL ) {
9191
return -1;
9292
}
@@ -108,7 +108,7 @@ int8_t stdlib_ndarray_iget_float32( const struct ndarray *arr, const int64_t idx
108108
* @return status code
109109
*/
110110
int8_t stdlib_ndarray_iget_uint64( const struct ndarray *arr, const int64_t idx, uint64_t *out ) {
111-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
111+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
112112
if ( ptr == NULL ) {
113113
return -1;
114114
}
@@ -130,7 +130,7 @@ int8_t stdlib_ndarray_iget_uint64( const struct ndarray *arr, const int64_t idx,
130130
* @return status code
131131
*/
132132
int8_t stdlib_ndarray_iget_int64( const struct ndarray *arr, const int64_t idx, int64_t *out ) {
133-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
133+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
134134
if ( ptr == NULL ) {
135135
return -1;
136136
}
@@ -152,7 +152,7 @@ int8_t stdlib_ndarray_iget_int64( const struct ndarray *arr, const int64_t idx,
152152
* @return status code
153153
*/
154154
int8_t stdlib_ndarray_iget_uint32( const struct ndarray *arr, const int64_t idx, uint32_t *out ) {
155-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
155+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
156156
if ( ptr == NULL ) {
157157
return -1;
158158
}
@@ -174,7 +174,7 @@ int8_t stdlib_ndarray_iget_uint32( const struct ndarray *arr, const int64_t idx,
174174
* @return status code
175175
*/
176176
int8_t stdlib_ndarray_iget_int32( const struct ndarray *arr, const int64_t idx, int32_t *out ) {
177-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
177+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
178178
if ( ptr == NULL ) {
179179
return -1;
180180
}
@@ -196,7 +196,7 @@ int8_t stdlib_ndarray_iget_int32( const struct ndarray *arr, const int64_t idx,
196196
* @return status code
197197
*/
198198
int8_t stdlib_ndarray_iget_uint16( const struct ndarray *arr, const int64_t idx, uint16_t *out ) {
199-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
199+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
200200
if ( ptr == NULL ) {
201201
return -1;
202202
}
@@ -218,7 +218,7 @@ int8_t stdlib_ndarray_iget_uint16( const struct ndarray *arr, const int64_t idx,
218218
* @return status code
219219
*/
220220
int8_t stdlib_ndarray_iget_int16( const struct ndarray *arr, const int64_t idx, int16_t *out ) {
221-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
221+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
222222
if ( ptr == NULL ) {
223223
return -1;
224224
}
@@ -240,7 +240,7 @@ int8_t stdlib_ndarray_iget_int16( const struct ndarray *arr, const int64_t idx,
240240
* @return status code
241241
*/
242242
int8_t stdlib_ndarray_iget_uint8( const struct ndarray *arr, const int64_t idx, uint8_t *out ) {
243-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
243+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
244244
if ( ptr == NULL ) {
245245
return -1;
246246
}
@@ -262,7 +262,7 @@ int8_t stdlib_ndarray_iget_uint8( const struct ndarray *arr, const int64_t idx,
262262
* @return status code
263263
*/
264264
int8_t stdlib_ndarray_iget_int8( const struct ndarray *arr, const int64_t idx, int8_t *out ) {
265-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
265+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
266266
if ( ptr == NULL ) {
267267
return -1;
268268
}
@@ -284,7 +284,7 @@ int8_t stdlib_ndarray_iget_int8( const struct ndarray *arr, const int64_t idx, i
284284
* @return status code
285285
*/
286286
int8_t stdlib_ndarray_iget_complex128( const struct ndarray *arr, const int64_t idx, stdlib_complex128_t *out ) {
287-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
287+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
288288
if ( ptr == NULL ) {
289289
return -1;
290290
}
@@ -306,7 +306,7 @@ int8_t stdlib_ndarray_iget_complex128( const struct ndarray *arr, const int64_t
306306
* @return status code
307307
*/
308308
int8_t stdlib_ndarray_iget_complex64( const struct ndarray *arr, const int64_t idx, stdlib_complex64_t *out ) {
309-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
309+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
310310
if ( ptr == NULL ) {
311311
return -1;
312312
}
@@ -328,7 +328,7 @@ int8_t stdlib_ndarray_iget_complex64( const struct ndarray *arr, const int64_t i
328328
* @return status code
329329
*/
330330
int8_t stdlib_ndarray_iget_bool( const struct ndarray *arr, const int64_t idx, bool *out ) {
331-
uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
331+
const uint8_t *ptr = stdlib_ndarray_iget_ptr( arr, idx );
332332
if ( ptr == NULL ) {
333333
return -1;
334334
}

0 commit comments

Comments
 (0)