free method

void free()

Dispose of an IMG_Animation and free its resources.

The provided anim pointer is not valid once this call returns.

\param anim IMG_Animation to dispose of.

\since This function is available since SDL_image 3.0.0.

\sa IMG_LoadAnimation \sa IMG_LoadAnimation_IO \sa IMG_LoadAnimationTyped_IO \sa IMG_LoadANIAnimation_IO \sa IMG_LoadAPNGAnimation_IO \sa IMG_LoadAVIFAnimation_IO \sa IMG_LoadGIFAnimation_IO \sa IMG_LoadWEBPAnimation_IO

extern SDL_DECLSPEC void SDLCALL IMG_FreeAnimation(IMG_Animation *anim)

{@category image}

Implementation

void free() {
  imgFreeAnimation(this);
}