1destroy_midi(3)                 Allegro manual                 destroy_midi(3)
2
3
4

NAME

6       destroy_midi  -  Destroys  a  MIDI structure when you are done with it.
7       Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void destroy_midi(MIDI *midi);
14

DESCRIPTION

16       Destroys a MIDI structure when you are done with it. It is safe to call
17       this  even  when  the MIDI file might be playing, because it checks and
18       will kill it off if it is active. Use this to  avoid  memory  leaks  in
19       your program.
20
21

SEE ALSO

23       load_midi(3), exmidi(3)
24
25
26
27Allegro                          version 4.4.3                 destroy_midi(3)
Impressum