Mission Base

Program Base Library Functions

int pblListIndexOf

( PblList* list, void* element )

Searches for the first occurrence of the given argument.

Documentation

Searches for the first occurrence of the given argument.

This method has a time complexity of O(N), with N being the size of the list.

Parameters:
list - The list to use
element - Element to look for
Returns:
int rc >= 0: The index of the specified element.
int rc < 0: The specified element is not present.

Alphabetic index



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