HM_dynamicblockadd()

Adds an item to a dynamic block.

Syntax

void * HM_dynamicblockadd(void * blockptr);

Type

HyperMesh hmlib Function

Description

Inputs

blockptr
A pointer to a dynamic block. This pointer must be allocated with HM_dynamicblockallocate().

Example

A pointer to an item allocated in the dynamic block. The amount of memory allocated for the item is specified in the call HM_dynamicblockallocate().

If unsuccessful, the function calls HM_terminate() with the appropriate message, and program execution is terminated.

Errors

None.