diff --git a/docs/functions/core/llist/why2_list_get_size.md b/docs/functions/core/llist/why2_list_get_size.md new file mode 100644 index 0000000..fb1695b --- /dev/null +++ b/docs/functions/core/llist/why2_list_get_size.md @@ -0,0 +1,37 @@ + + +# why2_list_get_size + +## Parameters + +| Identifier | Data type | +| ---------- | ----------------------------------------------------------- | +| `list` | [`why2_list_t *`](../../../../types/core/llist/why2_list_t) | + +## Attributes + +| | | +| ------------------ | --------------------------------------------------------------------- | +| **Return type** | `unsigned long` | +| **Header comment** | `GET SIZE` | +| **Added in commit** | [`c4ddb6888afd807abc3c60576475c170e306a5ba`](https://github.com/ENGO150/WHY2/commit/c4ddb6888afd807abc3c60576475c170e306a5ba) | + +## Description + +Calculates size of `list` (how many nodes are present) and returns it. \ No newline at end of file diff --git a/docs/functions/index.md b/docs/functions/index.md index 331b678..aba55b3 100644 --- a/docs/functions/index.md +++ b/docs/functions/index.md @@ -82,6 +82,7 @@ You can find documentation for every *public* function of WHY2 below. | [`why2_list_remove_at`](./core/llist/why2_list_remove_at) | Remove element with index index | | [`why2_list_remove_back`](./core/llist/why2_list_remove_back) | Remove last element | | [`why2_list_find`](./core/llist/why2_list_find) | Find element in list | +| [`why2_list_get_size`](./core/llist/why2_list_get_size) | Get size | ## Logger