+
+/**
+ * @brief Strip assert location for release builds, assert text is descriptive enough.
+ * This is to save space for low spec devices.
+ * @SINCE_1_0.0
+ */
+#if defined(DEBUG_ENABLED)
+#define ASSERT_LOCATION __PRETTY_FUNCTION__
+#else
+#define ASSERT_LOCATION NULL
+#endif
+
+#define DALI_ASSERT_ALWAYS(cond) \
+ if(DALI_UNLIKELY(!(cond))) \
+ { \
+ Dali::DaliAssertMessage( ASSERT_LOCATION, #cond ); \
+ throw Dali::DaliException( ASSERT_LOCATION, #cond ); \
+ }
+
+#define DALI_ABORT(message) \