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

Initializes a variable heap object struct.

C
leResult leVariableHeap_Init(
    leVariableHeap* heap, 
    void* data, 
    uint32_t size
);
Parameters
Parameters 
Description 
leVariableHeap* heap 
pointer to the heap object 
uint32_t size 
the size of the heap in bytes 
uint8_t* data 
pointer to the data buffer to use for the heap 
Returns

leResult

MPLAB® Harmony Graphics Suite