Program Base Library Functions

void pblArrayListSetCompareFunction

( pblArrayList* arrayList,
  int (* compare ) ( void* left,
  void* right ) )

Set an application specific compare function for the elements of the list

Documentation

Set an application specific compare function for the elements of the list

An application specific compare function can be used.

The default compare function compares the two pointers directly, i.e. it tests for object identity.

The keycompare function specified should behave like strcmp().

Parameters:
arrayList - The list to set compare function for
compare - compare function to set
left - "left" element for compare
right - "right" element for compare
Returns:
void

Alphabetic index



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