1al_set_memory_interface(3) Library Functions Manual al_set_memory_interface(3)
2
3
4
6 al_set_memory_interface
7
9 #include <allegro5/allegro.h>
10
11 void al_set_memory_interface(ALLEGRO_MEMORY_INTERFACE *memory_interface)
12
14 Override the memory management functions with implementations of
15 al_malloc_with_context(3), al_free_with_context(3), al_real‐
16 loc_with_context(3) and al_calloc_with_context(3). The context argu‐
17 ments may be used for debugging.
18
19 If the pointer is NULL, the default behaviour will be restored.
20
22 ALLEGRO_MEMORY_INTERFACE(3)
23
24
25
26Allegro reference manual al_set_memory_interface(3)