HM_dynamicblocksort()
Sorts the items in a dynamic block.
Syntax
void HM_dynamicblocksort(void * blockptr, int (*compare)(void const *item1, void const *item2));
Type
HyperMesh hmlib Function
Description
Inputs
- blockptr
- (*compare)(void const *item1, void const *item2).
Example
key, item1, and item2 are all pointers to the same structure. The size of this structure should be passed into HM_dynamicblockallocate().
Errors
None.