It simply switches the next and prev pointers of each element.
This function is not directly available to language bindings.
Type: A list of
GList, this must point to the top of the list.
The data is owned by the caller of the function.