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 <ali_sal1381@yahoo.com>
2121
AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
2222
Aman Bhansali <bhansali.1@iitj.ac.in>
2323
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
24+
Amisha Chhajed <136238836+amishhaa@users.noreply.github.com>
2425
Amit Jimiwal <amitjimiwal45@gmail.com>
26+
Anmol Sah <113588714+anmolsah@users.noreply.github.com>
27+
Annamalai Prabu <apfossdev@gmail.com>
2528
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
2629
Anshu Kumar <contact.anshukumar@protonmail.com>
2730
Anudeep Sanapala <anudeep0306@gmail.com>
31+
Arihant Pal <arihant0pal@gmail.com>
32+
Aryan Bhirud <112156883+AryanBhirud@users.noreply.github.com>
33+
AryanJ18 <18aryanj2006@gmail.com>
2834
Athan Reines <kgryte@gmail.com>
35+
Atharva Patil <124063987+atharva-patil-23@users.noreply.github.com>
2936
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
3037
Bhavishy Agrawal <90029607+bhavishy2801@users.noreply.github.com>
3138
Brendan Graetz <bguiz@users.noreply.github.com>
@@ -34,10 +41,13 @@ Bryan Elee <rxbryn@gmail.com>
3441
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
3542
Christopher Dambamuromo <chridam@gmail.com>
3643
Dan Rose <danoftheroses@gmail.com>
44+
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
3745
Daniel Killenberger <daniel.killenberger@gmail.com>
3846
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
3947
Debashis Maharana <debashismaharana7854@gmail.com>
4048
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
49+
Deepak Singh <78257493+Deepak91168@users.noreply.github.com>
50+
Deepak Singh <negid0253@gmail.com>
4151
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
4252
Dev Goel <135586571+corsairier@users.noreply.github.com>
4353
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
@@ -51,15 +61,21 @@ Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
5161
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
5262
Frank Kovacs <fran70kk@gmail.com>
5363
GK Bishnoi <gkishan1kyt@gmail.com>
64+
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5465
Gaurav <gaurav70380@gmail.com>
66+
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
5567
Gautam sharma <gautamkrishnasharma1@gmail.com>
68+
GeoDaoyu <geodaoyu@foxmail.com>
69+
Girish Garg <garggirish2020@gmail.com>
5670
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
5771
Gunj Joshi <gunjjoshi8372@gmail.com>
5872
Gururaj Gurram <gururajgurram1512@gmail.com>
73+
Harishchandra Reddy <harish.7000@gmail.com>
5974
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
60-
Harsh <149176984+hrshya@users.noreply.github.com>
75+
Harsh <harshyadav6078@gmail.com>
6176
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
6277
Harshita Kalani <harshitakalani02@gmail.com>
78+
Hemang Choudhary <coehemang@gmail.com>
6379
Hemant M Mehta <92446645+hemantmm@users.noreply.github.com>
6480
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
6581
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
@@ -77,6 +93,7 @@ Joris Labie <joris.labie1@gmail.com>
7793
Justin Dennison <justin1dennison@gmail.com>
7894
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
7995
Karan Anand <anandkarancompsci@gmail.com>
96+
Karan Vasudevamurthy <karanlvm123@gmail.com>
8097
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
8198
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
8299
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
@@ -85,6 +102,8 @@ Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
85102
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
86103
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
87104
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
105+
Lalit Narayan Yadav <162928571+LalitNarayanYadav@users.noreply.github.com>
106+
Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
88107
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
89108
MANI <77221000+Eternity0207@users.noreply.github.com>
90109
Mahfuza Humayra Mohona <mhmohona@gmail.com>
@@ -105,13 +124,16 @@ Naveen Kumar <stupiddint@gmail.com>
105124
Neeraj Pathak <neerajrpathak710@gmail.com>
106125
NirvedMishra <139633597+NirvedMishra@users.noreply.github.com>
107126
Nishant Shinde <97207366+nishant-s7@users.noreply.github.com>
127+
Nishant singh <38534128+Nishantsingh11@users.noreply.github.com>
108128
Nishchay Rajput <121144841+NishchayRajput@users.noreply.github.com>
109129
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
110130
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
111131
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
112132
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
113133
Ori Miles <97595296+orimiles5@users.noreply.github.com>
114134
Philipp Burckhardt <pburckhardt@outlook.com>
135+
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
136+
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
115137
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
116138
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
117139
Pranav Goswami <pranavchiku11@gmail.com>
@@ -141,34 +163,43 @@ Ryan Seal <splrk@users.noreply.github.com>
141163
Rylan Yang <137365285+rylany27@users.noreply.github.com>
142164
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
143165
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
166+
Sachin Raj <120590207+schnrj@users.noreply.github.com>
144167
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
145168
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
146169
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
147170
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
148171
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
172+
Satyajeet Chavan <chavansatyajeet2004@gmail.com>
149173
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
150174
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
151175
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
152176
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
153177
Shivam Ahir <11shivam00@gmail.com>
178+
Shivansh <114570926+shiv343@users.noreply.github.com>
154179
Shraddheya Shendre <shendreshraddheya@gmail.com>
155180
Shubh Mehta <93862397+Shubh942@users.noreply.github.com>
156181
Shubham Mishra <shubh622005@gmail.com>
182+
Siddhesh waje <117733253+siddhesh434@users.noreply.github.com>
157183
Sivam Das <100067002+Sivam2313@users.noreply.github.com>
158184
Snehil Shah <snehilshah.989@gmail.com>
159185
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
160186
Spandan Barve <contact@marsian.dev>
161187
Stephannie Jiménez Gacha <steff456@hotmail.com>
162188
Suhaib Ilahi <suhaib.elahi87@gmail.com>
163189
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
190+
Swapnil Hajare <69076366+Swapnil-2502@users.noreply.github.com>
164191
Tanishq Ahuja <68651083+TheGEN1U5@users.noreply.github.com>
165192
Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
166193
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
167194
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
195+
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
196+
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
197+
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
168198
Utkarsh <http://utkarsh11105@gmail.com>
169199
Utkarsh Raj <rajutkarsh2505@gmail.com>
170200
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
171201
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
202+
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
172203
Varad Gupta <varadgupta21@gmail.com>
173204
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
174205
Vivek Maurya <vm8118134@gmail.com>
@@ -177,12 +208,17 @@ Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
177208
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
178209
Yugal Kaushik <yugalkaushik14@gmail.com>
179210
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
211+
deepak427 <62477872+deepak427@users.noreply.github.com>
212+
devshree-bhati <147095250+devshree-bhati@users.noreply.github.com>
180213
ditsu <170345142+ditsus@users.noreply.github.com>
181214
ekambains <bainsinbusiness@gmail.com>
182215
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
216+
iraandrushko <71790513+iraandrushko@users.noreply.github.com>
217+
jsai28 <54253219+jsai28@users.noreply.github.com>
183218
lohithganni <116790357+lohithganni@users.noreply.github.com>
184219
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
185220
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
186221
rahulrangers <127782777+rahulrangers@users.noreply.github.com>
187222
rainn <88160429+AmCodesLame@users.noreply.github.com>
188223
rei2hu <reimu@reimu.ws>
224+
zhanggy <geodaoyu@foxmail.com>

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)