1al_set_memory_interface(3)                          al_set_memory_interface(3)
2
3
4

NAME

6       al_set_memory_interface - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_set_memory_interface(ALLEGRO_MEMORY_INTERFACE *memory_interface)
12

DESCRIPTION

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.  The new functions  should  be  thread
18       safe.
19
20       If the pointer is NULL, the default behaviour will be restored.
21

SEE ALSO

23       ALLEGRO_MEMORY_INTERFACE(3)
24
25
26
27Allegro reference manual                            al_set_memory_interface(3)
Impressum