Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

destroy_font - Frees the memory being used by a font structure. Allegro game programming library.

Description

       Frees the memory being used by a font structure. Don't use this on the default global Allegro font or any
       text  routines using it could crash. You should use this only on fonts you have loaded manually after you
       are done with them, to prevent memory leaks in your program.

Name

       destroy_font - Frees the memory being used by a font structure. Allegro game programming library.

See Also

load_datafile_object(3alleg4), load_font(3alleg4), exfont(3alleg4)

Allegro                                           version 4.4.3                            destroy_font(3alleg4)

Synopsis

#include<allegro.h>voiddestroy_font(FONT*f);

See Also