Skip to content

Commit e724937

Browse files
committed
Auto-generated commit
1 parent 3aa8f52 commit e724937

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
timeout-minutes: 5
3939
- name: Replace all GitHub links to individual packages with npm links
4040
run: |
41-
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei 's/@stdlib\/([^:]*)\]: https:\/\/github.com\/stdlib-js/@stdlib\/\1\]: https:\/\/www.npmjs.com\/package\/@stdlib/g'
41+
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei '/tree\/main/b; s/@stdlib\/([^:]*)\]: https:\/\/github.com\/stdlib-js/@stdlib\/\1\]: https:\/\/www.npmjs.com\/package\/@stdlib/g'
4242
- name: Replace all stdlib GitHub dependencies with the respective npm packages
4343
run: |
4444
find package.json -type f -print0 | xargs -0 sed -Ei 's/"github:stdlib-js[^"]*"/"^0.0.x"/g'

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
run: |
4545
npm install || npm install || npm install
4646
timeout-minutes: 15
47+
- name: Build native add-on (if present)
48+
run: |
49+
if [ -f "binding.gyp" ]; then
50+
npm install node-gyp --no-save && ./node_modules/.bin/node-gyp rebuild
51+
fi
4752
- name: Run tests
4853
id: tests
4954
run: |

.github/workflows/test_coverage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
run: |
4141
npm install || npm install || npm install
4242
timeout-minutes: 15
43+
- name: Build native add-on (if present)
44+
run: |
45+
if [ -f "binding.gyp" ]; then
46+
npm install node-gyp --no-save && ./node_modules/.bin/node-gyp rebuild
47+
fi
4348
- name: Calculate test coverage
4449
run: |
4550
npm run test-cov || npm run test-cov || npm run test-cov

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ An `ndarrayFcn` function should return a status code (with `0` indicating succes
174174
175175
<!-- lint disable maximum-heading-length -->
176176
177-
#### stdlib_ndarray_function_allocate( *name, nin, nout, *functions, nfunctions, *types, *data[] )
177+
#### stdlib_ndarray_function_allocate( _name, nin, nout, _functions, nfunctions, _types, _data\[] )
178178
179179
Returns a pointer to a dynamically allocated ndarray function object.
180180
@@ -255,7 +255,7 @@ struct ndarrayFunctionObject * stdlib_ndarray_function_allocate( const char *nam
255255
256256
The function returns a pointer to a dynamically allocated ndarray function or, if unable to allocate memory, a null pointer. The **user** is responsible for freeing the allocated memory.
257257
258-
#### stdlib_ndarray_function_free( *obj )
258+
#### stdlib_ndarray_function_free( \*obj )
259259
260260
Frees an ndarray function object's allocated memory.
261261
@@ -309,7 +309,7 @@ The function accepts the following arguments:
309309
void stdlib_ndarray_function_free( struct ndarrayFunctionObject *obj )
310310
```
311311
312-
#### stdlib_ndarray_function_dispatch_index_of( *obj, *types )
312+
#### stdlib_ndarray_function_dispatch_index_of( _obj, _types )
313313
314314
Returns the first index of a function whose signature satisfies a provided list of array types.
315315
@@ -417,6 +417,14 @@ If a function is found, the function returns the index of the function, and the
417417
418418
<!-- /.references -->
419419
420+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
421+
422+
<section class="related">
423+
424+
</section>
425+
426+
<!-- /.related -->
427+
420428
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
421429
422430

0 commit comments

Comments
 (0)