HMIN_init()

Initializes hminlib. This function must be called before using any other function in hminlib.

Syntax

FILE * HMIN_init(char * formatname, char * version, int argc, char * argv[]);

Type

HyperMesh hminlib Function

Description

Initializes hminlib. This function must be called before using any other function in hminlib.

Inputs

formatname
A character string set to the name of the translator.
version
The version number of the translator that is being written.
argc
Number of arguments passed in from the C function main.
argv[]
Argument passed in from the C function main.

Example

HMIN_init calls HM_setterminatefunction() to terminate hminlib. If you want to call HM_setterminatefunction() and set your own terminate function, you must call it after HMIN_init. HMIN_message_close should be called by your new terminate function.

Errors

None.