destroy_compiled_sprite(3alleg4)

destroy_compiled_sprite3alleg4

Destroys a compiled sprite. allegro game programming library.

Usage

#include <allegro.h>

void destroy_compiled_sprite(COMPILED_SPRITE *sprite);

Overview

Destroys a compiled sprite structure previously returned by get_compiled_sprite(). If you pass a NULL pointer this function won't do anything. Use this once you are done with a compiled sprite to avoid memory leaks in your program.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.