9 #define DLLEXPORT __declspec(dllexport)
46 DLLEXPORT int FMI_CS_LOAD(const char *zipFilePath, const char *unzipFolder, void **fmuPointer, int *fmuVersion, const char **error);
48 DLLEXPORT int FMI1_CS_UNLOAD(void* fmu, const char **error);
49 DLLEXPORT FMIL_Variable *FMI1_CS_GET_VARIABLES(void* fmu, int *count, const char **error);
50 DLLEXPORT FMIL_DeclaredType *FMI1_CS_GET_DECLARED_TYPES(void* fmu, int *count, const char **error);
51 DLLEXPORT int FMI1_CS_INSTANTIATE(void* fmu, const char *instanceName, const char **error);
52 DLLEXPORT int FMI1_CS_INITIALIZE(void* fmu, const char **error);
53 DLLEXPORT int FMI1_CS_STEP(void* fmu, double masterTime, double stepSize, const char **error);
54 DLLEXPORT int FMI1_CS_SET_REAL(void* fmu, int vr, double value, const char **error);
55 DLLEXPORT double FMI1_CS_GET_REAL(void* fmu, int vr, const char **error);
56 DLLEXPORT int FMI1_CS_GET_REALS(void* fmu, int *vrs, double *values, int count, const char **error);
58 DLLEXPORT int FMI2_CS_UNLOAD(void* fmu, const char **error);
59 DLLEXPORT FMIL_Variable *FMI2_CS_GET_VARIABLES(void* fmu, int *count, const char **error);
60 DLLEXPORT FMIL_DeclaredType *FMI2_CS_GET_DECLARED_TYPES(void* fmu, int *count, const char **error);
61 DLLEXPORT int FMI2_CS_INSTANTIATE(void* fmu, const char *instanceName, const char **error);
62 DLLEXPORT int FMI2_CS_INITIALIZE(void* fmu, const char **error);
63 DLLEXPORT int FMI2_CS_STEP(void* fmu, double masterTime, double stepSize, const char **error);
64 DLLEXPORT int FMI2_CS_SET_REAL(void* fmu, int vr, double value, const char **error);
65 DLLEXPORT double FMI2_CS_GET_REAL(void* fmu, int vr, const char **error);
66 DLLEXPORT int FMI2_CS_GET_REALS(void* fmu, int *vrs, double *values, int count, const char **error);
72 #endif // __FMI1_CS_H__