Mission Base

Program Base Library Functions

PblSet* pblSetClone

( PblSet* set )

Returns a shallow copy of this set instance.

Documentation

Returns a shallow copy of this set 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 set.

Parameters:
set - The set to clone
Returns:
PblSet * retPtr != NULL: A pointer to the new set.
PblSet * 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++.