HM_dynamicblockgetpointer()

Gets a pointer to an item in a dynamic block.

Syntax

void * HM_dynamicblockgetpointer(void * blockptr, int index);

Type

HyperMesh hmlib Function

Description

Inputs

blockptr
A pointer to a dynamic block allocated by HM_dynamicblockallocate().
index
The index of the item desired. This may be set to zero through one fewer than the total number of items in the block.

Example

A pointer to the item, if the index is within range. Otherwise, the function returns NULL.

Errors

None.