Mission Base

Program Base Library Functions

PblList* pblListClone

( PblList* list )

Returns a shallow copy of this list instance.

Documentation

Returns a shallow copy of this list instance.

The elements themselves are not copied.

This method has a memory and time complexity of O(N), with N being the number of elements in the list.

Parameters:
list - The list to clone
Returns:
PblList * retPtr != NULL: A pointer to the new list.
PblList * retPtr == NULL: An error, see pbl_errno:
PBL_ERROR_OUT_OF_MEMORY - Out of memory.

Alphabetic index



This page was generated with the help of DOC++.