PrgT_Vector_Element_Equiv_Proc
Abstract
Callback: Compares a vector element to a specified value.
Syntax
PrgT_Vector_Element_Equiv_Proc (elem_ptr, value_ptr)
| Argument | Type | Description |
|---|---|---|
elem_ptr |
void * |
Element to test to determine a match. |
value_ptr |
void * |
Value to test against. |
Return Type
int
Returns PRGC_TRUE if the two arguments match, PRGC_FALSE otherwise.
Header
prg_vector.h
Details
This function type is used by prg_vector_find_equivalent(), which calls it for every element in a vector. The function determines if the specified element matches value_ptr.