Record ALLEGRO_MEMORY_INTERFACE

Hierarchy
Methods
Properties

Unit

Declaration

type ALLEGRO_MEMORY_INTERFACE = record

Description

Used to define the memory management functions.

See also
al_set_memory_interface
Overrides the memory management functions with implementations of al_malloc_with_context, al_free_with_context, al_realloc_with_context and al_calloc_with_context.

Overview

Fields

mi_malloc: function(n: AL_SIZE_T; line: AL_INT; const afile, func: AL_STR): AL_POINTER; CDECL;
mi_free: procedure(ptr: AL_POINTER; line: AL_INT; const afile, func: AL_STR); CDECL;
mi_realloc: function(ptr: AL_POINTER; n: AL_SIZE_T; line: AL_INT; const afile, func: AL_STR): AL_POINTER; CDECL;
mi_calloc: function(n, count: AL_SIZE_T; line: AL_INT; const afile, func: AL_STR): AL_POINTER; CDECL;

Description

Fields

mi_malloc: function(n: AL_SIZE_T; line: AL_INT; const afile, func: AL_STR): AL_POINTER; CDECL;
 
mi_free: procedure(ptr: AL_POINTER; line: AL_INT; const afile, func: AL_STR); CDECL;
 
mi_realloc: function(ptr: AL_POINTER; n: AL_SIZE_T; line: AL_INT; const afile, func: AL_STR): AL_POINTER; CDECL;
 
mi_calloc: function(n, count: AL_SIZE_T; line: AL_INT; const afile, func: AL_STR): AL_POINTER; CDECL;
 

Generated by PasDoc 0.15.0. Generated on 2024-11-10 15:15:06.