Program Base Library Functions

int pblListSetElementSize

( pblList* list, int elementSize )

Set the element size for the elements in the list.

Documentation

Set the element size for the elements in the list.

If the element size is set to a value > 0 and no compare function is specified for the list, the compare function used for the elements of the list is the c-library memcmp() function.

This method has a time complexity of O(1).

Parameters:
list - The list to set element size for
elementSize - Element size
Returns:
int rc: The element size set.

Alphabetic index



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