gesture_timer_destroy()

Updated: April 19, 2023

Destroy a timer

Synopsis:

#include <gestures/timer.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 doesn't free any memory associated with the timer.

Returns:

0 on success, or -1 on failure.