|
myMPD
Internal API documentation
|
Linked list merge shuffle implementation. More...
#include <stdbool.h>

Go to the source code of this file.
Functions | |
| bool | list_shuffle (struct t_list *l) |
Linked list merge shuffle implementation.
| bool list_shuffle | ( | struct t_list * | l | ) |
Shuffles the list using Fisher-Yates algorithm. Optimized for doubly-linked list: reconstructs both next and prev pointers
| l | list |