MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > c) Datastructure Functions > leList_InsertAt Function
MPLAB® Harmony Graphics Suite
leList_InsertAt Function
C
int32_t leList_InsertAt(
    leList* list, 
    void* val, 
    uint32_t idx
);
Parameters
Parameters 
Description 
leList* list 
pointer to the list to modify 
void* val 
the value to insert 
uint32_t idx 
the position to insert the value 
Returns

int32_t - 0 if success, -1 if failure

MPLAB® Harmony Graphics Suite