Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_RemoveTimer - Remove a timer created with SDL_AddTimer ().

Availability

       This function is available since SDL 3.2.0.

Function Parameters

id     the ID of the timer to remove.

Header File

       Defined in SDL3/SDL_timer.h

Name

       SDL_RemoveTimer - Remove a timer created with SDL_AddTimer ().

Return Value

       Returns true on success or false on failure; call

       SDL_GetError () for more information.

See Also

(3), SDL_AddTimer(3)

Simple Directmedia Layer                           SDL 3.2.10                                 SDL_RemoveTimer(3)

Synopsis

#include"SDL3/SDL.h"boolSDL_RemoveTimer(SDL_TimerIDid);

Thread Safety

       It is safe to call this function from any thread.

See Also