index 6feff19a58ba1b75fa233692ffd733ab00867a46..356ee9b3573073f8948b573cbc2c03eb4631342a 100644 (file)
--- a/packages/ti/ipc/GateMP.h
+++ b/packages/ti/ipc/GateMP.h
/*!
* @brief The resource is still in use
*/
/*!
* @brief The resource is still in use
*/
-#define GateMP_S_BUSY 2
+#define GateMP_S_BUSY (2)
/*!
* @brief The module has been already setup
*/
/*!
* @brief The module has been already setup
*/
-#define GateMP_S_ALREADYSETUP 1
+#define GateMP_S_ALREADYSETUP (1)
/*!
* @brief Operation is successful.
*/
/*!
* @brief Operation is successful.
*/
-#define GateMP_S_SUCCESS 0
+#define GateMP_S_SUCCESS (0)
/*!
* @brief Generic failure.
*/
/*!
* @brief Generic failure.
*/
-#define GateMP_E_FAIL -1
+#define GateMP_E_FAIL (-1)
/*!
* @brief Argument passed to function is invalid.
*/
/*!
* @brief Argument passed to function is invalid.
*/
-#define GateMP_E_INVALIDARG -2
+#define GateMP_E_INVALIDARG (-2)
/*!
* @brief Operation resulted in memory failure.
*/
/*!
* @brief Operation resulted in memory failure.
*/
-#define GateMP_E_MEMORY -3
+#define GateMP_E_MEMORY (-3)
/*!
* @brief The specified entity already exists.
*/
/*!
* @brief The specified entity already exists.
*/
-#define GateMP_E_ALREADYEXISTS -4
+#define GateMP_E_ALREADYEXISTS (-4)
/*!
* @brief Unable to find the specified entity.
*/
/*!
* @brief Unable to find the specified entity.
*/
-#define GateMP_E_NOTFOUND -5
+#define GateMP_E_NOTFOUND (-5)
/*!
* @brief Operation timed out.
*/
/*!
* @brief Operation timed out.
*/
-#define GateMP_E_TIMEOUT -6
+#define GateMP_E_TIMEOUT (-6)
/*!
* @brief Module is not initialized.
*/
/*!
* @brief Module is not initialized.
*/
-#define GateMP_E_INVALIDSTATE -7
+#define GateMP_E_INVALIDSTATE (-7)
/*!
* @brief A failure occurred in an OS-specific call */
/*!
* @brief A failure occurred in an OS-specific call */
-#define GateMP_E_OSFAILURE -8
+#define GateMP_E_OSFAILURE (-8)
/*!
* @brief Specified resource is not available */
/*!
* @brief Specified resource is not available */
-#define GateMP_E_RESOURCE -9
+#define GateMP_E_RESOURCE (-9)
/*!
* @brief Operation was interrupted. Please restart the operation */
/*!
* @brief Operation was interrupted. Please restart the operation */
-#define GateMP_E_RESTART -10
+#define GateMP_E_RESTART (-10)
/* =============================================================================
* Structures & Enums
/* =============================================================================
* Structures & Enums