You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pointer to array syntax such as int (*array)[10] is not supported for function parameters.
For example, the following code throws the following warnings, indicating that the parameter listint_t *(*buckets)[10] is not parsed correctly.
/** * alloc_buckets - dynamically allocate buckets for each digit * * @array: array of integers to be sorted * @size: number of elements in the array to be sorted * @factor: factor of digit on which to sort * @buckets: pointer to array of pointers to buckets */staticvoidalloc_buckets(constint*array, size_tsize, intfactor, listint_t*(*buckets)[10])
105-radix_sort.c:81: warning: No description found for parameter or member '(*buckets'
105-radix_sort.c:82: warning: Excess function parameter 'buckets' description in 'alloc_buckets'
The text was updated successfully, but these errors were encountered:
patrickdeyoreo
changed the title
Betty Does Not Support Pointer to Array Syntax in Function Documentation
Betty does not support pointer to array syntax in function documentation
Mar 3, 2022
patrickdeyoreo
changed the title
Betty does not support pointer to array syntax in function documentation
Betty does not support array pointer syntax in function documentation
Mar 3, 2022
Pointer to array syntax such as
int (*array)[10]
is not supported for function parameters.For example, the following code throws the following warnings, indicating that the parameter
listint_t *(*buckets)[10]
is not parsed correctly.The text was updated successfully, but these errors were encountered: