Synopsis

void *dar_Index(DAR_ARRAY *dar, size_t index)

Purpose

Retrieved the element indicated by index.

Description

Retrieved the element indicated by index. If the array is of a wrong type, then a null pointer is returned.

Input

dar

Dynamic array to push onto.

index

Index to look up.

Return

Either a null pointer or a pointer to an element.