.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "ALLEGRO_MEMORY_INTERFACE" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP ALLEGRO_MEMORY_INTERFACE - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include typedef struct ALLEGRO_MEMORY_INTERFACE ALLEGRO_MEMORY_INTERFACE; \f[R] .fi .SH DESCRIPTION .PP This structure has the following fields. .IP .nf \f[C] void *(*mi_malloc)(size_t n, int line, const char *file, const char *func); void (*mi_free)(void *ptr, int line, const char *file, const char *func); void *(*mi_realloc)(void *ptr, size_t n, int line, const char *file, const char *func); void *(*mi_calloc)(size_t count, size_t n, int line, const char *file, const char *func); \f[R] .fi .SH SEE ALSO .PP al_set_memory_interface(3alleg5)