#pragma once #include "cmscp.h" /* 声明分配内存的函数 */ void mallocBound(cmscp_bound* bounds, int numPhase, int numEventNl, int numRowEventSoc); void mallocBoundPhase(cmscp_bound* bound, int iphase, int numState, int numControl, int numParameter, int numPathNl, int numRowPathSoc, int numEndpNl, int numRowEndpSoc, int numLinkNl, int numRowLinkSoc, int numPhase); void mallocDimension(cmscp_dimension* dimension, int numPhase, int numEventSoc); void mallocDimensionPhase(cmscp_dimension* dimension, int iphase, int numPathSoc, int numEndpSoc, int numLinkSoc, int numPhase); void mallocTrust(cmscp_trust* trust, int numPhase); void mallocTrustPhase(cmscp_trust* trust, int iphase, int numState, int numControl, int numParameter); void mallocFunctions(cmscp_functions* functions, int numPhase); void mallocFunctionsPhase(cmscp_functions* functions, int iphase);