#[unsafe(no_mangle)]pub unsafe extern "C" fn fmi3InstantiateCoSimulation(
instanceName: fmi3String,
instantiationToken: fmi3String,
resourcePath: fmi3String,
_visible: fmi3Boolean,
loggingOn: fmi3Boolean,
_eventModeUsed: fmi3Boolean,
_earlyReturnAllowed: fmi3Boolean,
_requiredIntermediateVariables: *const fmi3ValueReference,
_nRequiredIntermediateVariables: usize,
instanceEnvironment: fmi3InstanceEnvironment,
logMessage: Option<fmi3LogMessageCallback>,
_intermediateUpdate: Option<fmi3IntermediateUpdateCallback>,
) -> fmi3InstanceExpand description
resourcePath is a plain absolute path to the resources folder, as FMI 3.0 has it.
§Safety
As the FMI standard demands of the caller: valid strings, the callback valid for the instance’s life.