event_list_copy()

Copy an event list.

Synopsis:

#include <gestures/event_list.h>
 
int event_list_copy(struct event_list *from_list,
                    struct event_list *to_list)

Arguments:

from_list

A pointer to the event list to copy from.

to_list

A pointer to the event list to copy to.

Library:

libgestures

Description:

This function copies the events from one event list to another.

Returns:

0 on success, -1 if to_list is too small to hold all events.