Initialize runtime environment.

mrkernel* mira_Init(const char* path)

Input: Path to a directory with a license file

Output: Runtime environment pointer


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.


   mrkernel* pmr=mira_Init(".");

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

   if( pmr==NULL ) return;