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

Queries a variable heap to determine the size of a given allocation pointer.

C
uint32_t leVariableHeap_SizeOf(
    leVariableHeap* heap, 
    void* ptr
);
Parameters
Parameters 
Description 
leVariableHeap* heap 
pointer to the heap object 
void* ptr 
the pointer to look for 
Returns

uint32_t - the size of the pointer or zero if it wasn't found

MPLAB® Harmony Graphics Suite