logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ALLEGRO_MEMORY_INTERFACE - Allegro 5 API

Description

       This structure has the following fields.

              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);

Name

       ALLEGRO_MEMORY_INTERFACE - Allegro 5 API

See Also

al_set_memory_interface(3alleg5)

Allegro reference manual                                                       ALLEGRO_MEMORY_INTERFACE(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              typedef struct ALLEGRO_MEMORY_INTERFACE ALLEGRO_MEMORY_INTERFACE;

See Also