MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > f) Memory Functions > leFixedHeap_Alloc Function
MPLAB® Harmony Graphics Suite
leFixedHeap_Alloc Function

Allocates a block from a fixed heap. 

Use the LE_MALLOC macro to automatically differentiate between this function and its debug counterpart.

C
void* leFixedHeap_Alloc(
    leFixedHeap* heap
);
Parameters
Parameters 
Description 
leFixedHeap* heap 
pointer to the heap object 
Returns

leResult

MPLAB® Harmony Graphics Suite