diff --git a/docs/functions/core/llist/why2_list_reverse.md b/docs/functions/core/llist/why2_list_reverse.md new file mode 100644 index 0000000..ec40458 --- /dev/null +++ b/docs/functions/core/llist/why2_list_reverse.md @@ -0,0 +1,38 @@ + + +# why2_list_reverse + +## Parameters + +| Identifier | Data type | +| ---------- | ----------------------------------------------------------- | +| `list` | [`why2_list_t *`](../../../../types/core/llist/why2_list_t) | +| `size` | `unsigned long` | + +## Attributes + +| | | +| ------------------ | --------------------------------------------------------------------- | +| **Return type** | `void` | +| **Header comment** | `REVERSES list` | +| **Added in commit** | [`7dcbd4fc80fa13e5f9d0d4fe90a742c0f8dfab3d`](https://github.com/ENGO150/WHY2/commit/7dcbd4fc80fa13e5f9d0d4fe90a742c0f8dfab3d) | + +## Description + +Reverses node order in `list`. `size` is size of nodes in `list`, because of the reallocations. \ No newline at end of file diff --git a/docs/functions/index.md b/docs/functions/index.md index aba55b3..31d7b48 100644 --- a/docs/functions/index.md +++ b/docs/functions/index.md @@ -83,6 +83,7 @@ You can find documentation for every *public* function of WHY2 below. | [`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 | +| [`why2_list_reverse`](./core/llist/why2_list_reverse) | Reverses list | ## Logger