HM_setterminatefunction()

Sets a pointer to a function that is called by HM_terminate().

Syntax

void HM_setterminatefunction(void (*func)(char *format, char *message, void *data), void *data);

Type

HyperMesh hmlib Function

Description

Inputs

func
Pointer to a function that contains the format and message that were passed to HM_terminate(). The last argument is a pointer to any data.
data
Pointer to any user-defined data.

Example

Here is an example of using HM_setterminatefunction:

Errors

None.