destroy_midi(3alleg4)

destroy_midi3alleg4

Destroys a midi structure when you are done with it. allegro game programming library.

Usage

#include <allegro.h>

void destroy_midi(MIDI *midi);

Overview

Destroys a MIDI structure when you are done with it. It is safe to call this even when the MIDI file might be playing, because it checks and will kill it off if it is active. Use this 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.