int run_main(int argc, const char **argv) { int _retval; /* Generate and populate the path_to_component. */ char path_to_component[(PATH_MAX*2)+1]; separatePathName(argv[0], path_to_component, (PATH_MAX*2)+1); __MCC_fo_trak_component_data.path_to_component = path_to_component; if (!fo_trakInitialize()) { return -1; } argc = mclSetCmdLineUserData(mclGetID(_mcr_inst), argc, argv); _retval = mclMain(_mcr_inst, argc, argv, "olympiadTrak", 1); if (_retval == 0 /* no error */) mclWaitForFiguresToDie(NULL); fo_trakTerminate(); mclTerminateApplication(); return _retval; }
int run_main(int argc, const char **argv) { int _retval; /* Generate and populate the path_to_component. */ char path_to_component[(PATH_MAX*2)+1]; separatePathName(argv[0], path_to_component, (PATH_MAX*2)+1); __MCC_color2gray_component_data.path_to_component = path_to_component; if (!color2grayInitialize()) { return -1; } argc = mclSetCmdLineUserData(mclGetID(_mcr_inst), argc, argv); _retval = mclMain(_mcr_inst, argc, argv, "color2gray", 0); if (_retval == 0 /* no error */) mclWaitForFiguresToDie(NULL); color2grayTerminate(); #if defined( _MSC_VER) PostQuitMessage(0); #endif mclTerminateApplication(); return _retval; }
LIB_libhgraphSimulation3_C_API long MW_CALL_CONV libhgraphSimulation3GetMcrID() { return mclGetID(_mcr_inst); }
LIB_mxace32_2008b_C_API long MW_CALL_CONV mxace32_2008bGetMcrID() { return mclGetID(_mcr_inst); }
LIB_libmyadd2_C_API long MW_CALL_CONV libmyadd2GetMcrID() { return mclGetID(_mcr_inst); }
LIB_AnalizePulses_C_API long MW_CALL_CONV AnalizePulsesGetMcrID() { return mclGetID(_mcr_inst); }