event_list_alloc_copy()

Allocate and initialize an event list from an existing list.

Synopsis:

#include <gestures/event_list.h>
 
struct event_list* event_list_alloc_copy(struct event_list *list)

Arguments:

list

A pointer to the event list to copy

Library:

libgestures

Description:

This function allocates and initializes a new event list by copying the entries from an existing event list.

Returns:

The newly allocated event list on success, NULL on failure