Initialize runtime environment.


mrkernel* mira_Init(const char* path)


Input: Path to a directory with a license file

Output: Runtime environment pointer


Description:


The mira_Init function initializes runtime environment. It returns a pointer used for any other API function that interacts with the runtime.

The input is a path to a directory where a license file with .lic extension can be found. Pass "." for the current directory.


After initialization, mira_GetErrorMsg provides welcome string listing software version or error message.


Example: 


    mrkernel* pmr=mira_Init(".");

    printf("Init: %s", mira_GetErrorMsg(pmr));

    if( pmr==NULL ) return;