Skip to content

Fix C lint errors #13417

Description

@stdlib-bot

C Linting Failures

Linting failures were detected in the automated lint workflow run.

Workflow Details

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 #<ISSUE_NUMBER>)".
  • Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions