Represents an array of 32-bit unsigned integers. The data field points to a block of memory allocated...
size_t allocatedLength
Number of elements that the data array can hold.
uint32_t * data
Pointer to array of 32-bit unsigned integers.
size_t length
Number of 32-bit unsigned integers actually in the data array.
void UIntArray_Initialize(UIntArray *array)
Initialize the given UIntArray object.
int UIntArray_Find(UIntArray *array, uint32_t value)
Search the given UIntArray object for the specified value and return the index of that found value.
bool UIntArray_Copy(UIntArray *sourceArray, UIntArray *destinationArray)
Copy the source UIntArray to the destination UIntArray. The destination UIntArray is erased before ge...
void UIntArray_Clear(UIntArray *array)
Clear the given UIntArray object so it can be reused again. Releases the list of integers.
bool UIntArray_AddInt(UIntArray *array, uint32_t value)
Add an unsigned 32-bit integer to the given UIntArray object.
void UIntArray_RemoveInt(UIntArray *array, int removeIndex)
Remove the unsigned 32-bit integer from the given UIntArray object at the given index....