ListLast

Table of Contents

ListLast

Description

Value at last node in list This is a more expensive call. Fetches pointer to data twice and then dereferences. Better use ListPtrAt instead.

Success

Data in tail node in list.

Failure

Emtpy object.

Usage example (Cross-references)

    case LIST_INT_LAST : {
    if (list->length > 0) {
    volatile i32 last = ListLast(list);
    (void)last;
    }

Share :