Skip to content

Commit b69d04f

Browse files
committed
Auto-generated commit
1 parent b0cf140 commit b69d04f

File tree

4 files changed

+67
-18
lines changed

4 files changed

+67
-18
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

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

7-
## Unreleased (2025-04-14)
7+
## Unreleased (2025-07-29)
88

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

@@ -16,12 +16,25 @@
1616

1717
<!-- /.bug-fixes -->
1818

19+
<section class="issues">
20+
21+
### Closed Issues
22+
23+
This release closes the following issue:
24+
25+
[#7767](https://github.com/stdlib-js/stdlib/issues/7767)
26+
27+
</section>
28+
29+
<!-- /.issues -->
30+
1931
<section class="commits">
2032

2133
### Commits
2234

2335
<details>
2436

37+
- [`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)_
2538
- [`7536870`](https://github.com/stdlib-js/stdlib/commit/75368709f4bdeb91221d08492b5a0bc9c94f5b71) - **docs:** fix example and update docs _(by Athan Reines)_
2639
- [`f22a9ab`](https://github.com/stdlib-js/stdlib/commit/f22a9ab1c1c50aacc3529b77401469c915f79aaf) - **fix:** ensure support for allocating zero-dimensional ndarrays _(by Athan Reines)_
2740
- [`453c7f9`](https://github.com/stdlib-js/stdlib/commit/453c7f9f7c8ac5b8817b1d81f98af42570f1d0a5) - **refactor:** allow array-like objects containing submodes _(by Athan Reines)_
@@ -36,9 +49,10 @@
3649

3750
### Contributors
3851

39-
A total of 1 person contributed to this release. Thank you to this contributor:
52+
A total of 2 people contributed to this release. Thank you to the following contributors:
4053

4154
- Athan Reines
55+
- GeoDaoyu
4256

4357
</section>
4458

CONTRIBUTORS

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,18 @@ Ali Salesi <[email protected]>
2121
AlyAbdelmoneim <[email protected]>
2222
Aman Bhansali <[email protected]>
2323
AmanBhadkariya <[email protected]>
24+
Amisha Chhajed <[email protected]>
2425
Amit Jimiwal <[email protected]>
26+
Anmol Sah <[email protected]>
27+
Annamalai Prabu <[email protected]>
2528
Anshu Kumar <[email protected]>
2629
Anshu Kumar <[email protected]>
2730
Anudeep Sanapala <[email protected]>
31+
Arihant Pal <[email protected]>
32+
Aryan Bhirud <[email protected]>
33+
2834
Athan Reines <[email protected]>
35+
Atharva Patil <[email protected]>
2936
3037
Bhavishy Agrawal <[email protected]>
3138
Brendan Graetz <[email protected]>
@@ -34,10 +41,13 @@ Bryan Elee <[email protected]>
3441
Chinmay Joshi <[email protected]>
3542
Christopher Dambamuromo <[email protected]>
3643
44+
Daniel Hernandez Gomez <[email protected]>
3745
Daniel Killenberger <[email protected]>
3846
Daniel Yu <[email protected]>
3947
Debashis Maharana <[email protected]>
4048
Deep Trivedi <[email protected]>
49+
Deepak Singh <[email protected]>
50+
Deepak Singh <[email protected]>
4151
Desh Deepak Kant <[email protected]>
4252
4353
Dhanyabad behera <[email protected]>
@@ -51,15 +61,21 @@ Dorrin Sotoudeh <[email protected]>
5161
EuniceSim142 <[email protected]>
5262
Frank Kovacs <[email protected]>
5363
GK Bishnoi <[email protected]>
64+
GURU PRASAD SHARMA <[email protected]>
5465
66+
Gautam Kaushik <[email protected]>
5567
Gautam sharma <[email protected]>
68+
69+
Girish Garg <[email protected]>
5670
Golden Kumar <[email protected]>
5771
Gunj Joshi <[email protected]>
5872
Gururaj Gurram <[email protected]>
73+
Harishchandra Reddy <[email protected]>
5974
Haroon Rasheed <[email protected]>
60-
Harsh <[email protected].com>
75+
Harsh <harshyadav6078@gmail.com>
6176
6277
Harshita Kalani <[email protected]>
78+
Hemang Choudhary <[email protected]>
6379
Hemant M Mehta <[email protected]>
6480
Hridyanshu <[email protected]>
6581
Jaimin Godhani <[email protected]>
@@ -77,6 +93,7 @@ Joris Labie <[email protected]>
7793
Justin Dennison <[email protected]>
7894
Justyn Shelby <[email protected]>
7995
Karan Anand <[email protected]>
96+
Karan Vasudevamurthy <[email protected]>
8097
Karan Yadav <[email protected]>
8198
Karthik Prakash <[email protected]>
8299
Kaushikgtm <[email protected]>
@@ -85,6 +102,8 @@ Kohantika Nath <[email protected]>
85102
Krishnam Agarwal <[email protected]>
86103
Krishnendu Das <[email protected]>
87104
Kshitij-Dale <[email protected]>
105+
Lalit Narayan Yadav <[email protected]>
106+
Lokesh Ranjan <[email protected]>
88107
Lovelin Dhoni J B <[email protected]>
89108
90109
Mahfuza Humayra Mohona <[email protected]>
@@ -105,13 +124,16 @@ Naveen Kumar <[email protected]>
105124
Neeraj Pathak <[email protected]>
106125
NirvedMishra <[email protected]>
107126
Nishant Shinde <[email protected]>
127+
Nishant singh <[email protected]>
108128
Nishchay Rajput <[email protected]>
109129
Nithin Katta <[email protected]>
110130
Nourhan Hasan <[email protected]>
111131
Ognjen Jevremović <[email protected]>
112132
Oneday12323 <[email protected]>
113133
Ori Miles <[email protected]>
114134
Philipp Burckhardt <[email protected]>
135+
Pierre Forstmann <[email protected]>
136+
Pradyumn Prasad <[email protected]>
115137
Prajjwal Bajpai <[email protected]>
116138
Prajwal Kulkarni <[email protected]>
117139
Pranav Goswami <[email protected]>
@@ -141,34 +163,43 @@ Ryan Seal <[email protected]>
141163
Rylan Yang <[email protected]>
142164
SAHIL KUMAR <[email protected]>
143165
SHIVAM YADAV <[email protected]>
166+
Sachin Raj <[email protected]>
144167
Sahil Goyal <[email protected]>
145168
Sai Avinash <[email protected]>
146169
Sai Srikar Dumpeti <[email protected]>
147170
Sanchay Ketan Sinha <[email protected]>
148171
Sarthak Paandey <[email protected]>
172+
Satyajeet Chavan <[email protected]>
149173
Saurabh Singh <[email protected]>
150174
Seyyed Parsa Neshaei <[email protected]>
151175
Shabareesh Shetty <[email protected]>
152176
Shashank Shekhar Singh <[email protected]>
153177
Shivam Ahir <[email protected]>
178+
154179
Shraddheya Shendre <[email protected]>
155180
Shubh Mehta <[email protected]>
156181
Shubham Mishra <[email protected]>
182+
Siddhesh waje <[email protected]>
157183
Sivam Das <[email protected]>
158184
Snehil Shah <[email protected]>
159185
Soumajit Chatterjee <[email protected]>
160186
Spandan Barve <[email protected]>
161187
Stephannie Jiménez Gacha <[email protected]>
162188
Suhaib Ilahi <[email protected]>
163189
Suraj Kumar <[email protected]>
190+
Swapnil Hajare <[email protected]>
164191
Tanishq Ahuja <[email protected]>
165192
Tirtadwipa Manunggal <[email protected]>
166193
Tudor Pagu <[email protected]>
167194
Tufailahmed Bargir <[email protected]>
195+
Tushar Bhardwaj <[email protected]>
196+
Uday Kakade <[email protected]>
197+
Ujjwal Kirti <[email protected]>
168198
Utkarsh <http://[email protected]>
169199
Utkarsh Raj <[email protected]>
170200
UtkershBasnet <[email protected]>
171201
Vaibhav Patel <[email protected]>
202+
Vara Rahul Rajana <[email protected]>
172203
Varad Gupta <[email protected]>
173204
Vinit Pandit <[email protected]>
174205
Vivek Maurya <[email protected]>
@@ -177,12 +208,17 @@ Yaswanth Kosuru <[email protected]>
177208
Yernar Yergaziyev <[email protected]>
178209
Yugal Kaushik <[email protected]>
179210
Yuvi Mittal <[email protected]>
211+
deepak427 <[email protected]>
212+
devshree-bhati <[email protected]>
180213
181214
ekambains <[email protected]>
182215
fadiothman22 <[email protected]>
216+
iraandrushko <[email protected]>
217+
183218
lohithganni <[email protected]>
184219
olenkabilonizhka <[email protected]>
185220
pranav-1720 <[email protected]>
186221
rahulrangers <[email protected]>
187222
188223
224+

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)