ListMergeR

Table of Contents

ListMergeR

Description

Merge two lists and store the result in first list.

Note

Merge list l2 with l with r-value semantics.

Parameters

NameDirectionDescription
lin,outList to insert array items into.
l2inArray to be inserted.

Success

Return.

Failure

Do not return.

Usage example (Cross-references)

    }
    
    ListMergeR(list, &temp);
    ListDeinit(&temp); // Clean up temp to prevent memory leak
    break;

Share :