gesture_timer_destroy()

Destroy a timer.

Synopsis:

#include "gestures/types.h"
 
void gesture_timer_destroy(struct gesture_base *gesture, int timer_id)

Arguments:

gesture
A pointer to the gesture.
timer_id
The timer to clear.

Library:

libgestures

Description:

This function destroys the specified timer by resetting the timer data structure. It does not free any memory associated with the timer.

Returns:

0 on success, or -1 on failure.