--- /dev/null
+/*
+ Copyright (C) 2012 Modelon AB
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the BSD style license.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ FMILIB_License.txt file for more details.
+
+ You should have received a copy of the FMILIB_License.txt file
+ along with this program. If not, contact Modelon AB <http://www.modelon.com>.
+*/\r
+\r
+#ifndef FMI2_TYPES_H_\r
+#define FMI2_TYPES_H_\r
+/** \file fmi2_types.h\r
+ Transformation of the standard FMI type names into fmi2_ prefixed.\r
+*/\r
+/**\r
+ \addtogroup jm_utils\r
+ @{\r
+ \addtogroup fmi2_utils\r
+ @}\r
+*/\r
+\r
+/** \addtogroup fmi2_utils Functions and types supporting FMI 2.0 processing.\r
+ @{\r
+*/\r
+/** \name Renaming of typedefs \r
+@{*/\r
+#define fmi2Component fmi2_component_t\r
+#define fmi2ComponentEnvironment fmi2_component_environment_t\r
+#define fmi2FMUstate fmi2_FMU_state_t\r
+#define fmi2ValueReference fmi2_value_reference_t\r
+#define fmi2Real fmi2_real_t\r
+#define fmi2Integer fmi2_integer_t\r
+#define fmi2Boolean fmi2_boolean_t\r
+#define fmi2Char fmi2_char_t\r
+#define fmi2String fmi2_string_t\r
+#define fmi2Byte fmi2_byte_t\r
+\r
+/** @}*/\r
+/* Standard FMI 2.0 types */\r
+#ifdef fmi2TypesPlatform_h\r
+#undef fmi2TypesPlatform_h\r
+#endif\r
+#include <FMI2/fmi2TypesPlatform.h>\r
+#undef fmi2TypesPlatform_h\r
+\r
+/** FMI platform name constant string.*/\r
+static const char * fmi2_get_types_platform(void) {\r
+ return fmi2TypesPlatform;\r
+}\r
+\r
+#undef fmi2TypesPlatform\r
+\r
+/** FMI boolean constants.*/\r
+typedef enum {\r
+ fmi2_true=fmi2True,\r
+ fmi2_false=fmi2False\r
+} fmi2_boolean_enu_t;\r
+\r
+#undef fmi2True\r
+#undef fmi2False\r
+\r
+/** \r
+ @}\r
+*/\r
+\r
+#undef fmi2Component\r
+#undef fmi2ValueReference\r
+#undef fmi2Real\r
+#undef fmi2Integer\r
+#undef fmi2Boolean\r
+#undef fmi2String\r
+#undef fmi2UndefinedValueReference\r
+\r
+#endif /* End of header file FMI2_TYPES_H_ */