Fix C lint errors
- Ngôn ngữ chính
- JavaScript
- Star
- 6k
- Fork
- 1.3k
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 611
Mô tả
## C Linting Failures
Linting failures were detected in the automated lint workflow run.
### Workflow Details
- Run: https://github.com/stdlib-js/stdlib/actions/runs/29132267579
- Type: C Linting
- Date: 2026-07-11 00:37:01 UTC
### Error Details
```
lib/node_modules/@stdlib/ndarray/base/assert/is-contiguous/src/main.c:51:95: style: Parameter 'shape' can be declared as pointer to const [constParameterPointer]
int8_t stdlib_ndarray_is_contiguous( enum STDLIB_NDARRAY_DTYPE dtype, int64_t ndims, int64_t *shape, int64_t *strides, int64_t offset ) {
^
lib/node_modules/@stdlib/ndarray/base/assert/is-contiguous/src/main.c:51:111: style: Parameter 'strides' can be declared as pointer to const [constParameterPointer]
int8_t stdlib_ndarray_is_contiguous( enum STDLIB_NDARRAY_DTYPE dtype, int64_t ndims, int64_t *shape, int64_t *strides, int64_t offset ) {
^
```
### Pull Request Instructions
- Please use the following PR title format:
"chore: fix C lint errors (issue #)".
- Reference this issue in the "Related Issues" section of the PR body as "resolves #".
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with lib/node_modules/@stdlib/ndarray/base/assert/is-contiguous/src/main.c at the stdlib_ndarray_is_contiguous signature identified in workflow run 29132267579. Review the reported shape and strides constParameterPointer warnings, then run the C lint workflow or its local equivalent; done means the reported lint errors no longer occur.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- c
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 75/100