Skip to content

array_get_length(English)

myyrakle edited this page Jan 30, 2019 · 1 revision
#define decl_array(declname, type, length)
size_t declname_get_length(const declname* self)

return length of array


Parameters

self: Object self


Return values

length of array


Complexity

Constants. O(1)


Notes

This function operates independently of the value of self. This is because the length value is already fixed at the time of macro extension.
The self parameter just exists for consistency.


Example

...


See also

...

Clone this wiki locally