kernel/src/ds/vp_singly_linked_list.c
void * vpsll_set(VPSinglyLinkedList * lst, size_t index, void * value) {
    struct VPSinglyLinkedListLink * link = __link_at_index(lst, index);
    if (link == NULL) { return NULL; }

    void * old = link->data;
    link->data = value;

    return old;
}
// returns the old value to free
returns the old value to free
returns the old value to free
void * vpsll_set(VPSinglyLinkedList * lst, size_t index, void * value) {
    struct VPSinglyLinkedListLink * link = __link_at_index(lst, index);
    if (link == NULL) { return NULL; }
    void * old = link->data;
    link->data = value;
    return old;
}
void * vpsll_set ( VPSinglyLinkedList * lst , size_t index , void * value ) { struct VPSinglyLinkedListLink * link = __link_at_index ( lst , index ) ; if ( link == NULL ) { return NULL ; } void * old = link -> data ; link -> data = value ; return old ; }
returns the old value to free
returns the old value to free