tizen 2.4 release
[framework/web/wrt-commons.git] / modules / core / include / dpl / assert.h
similarity index 82%
rename from modules_wearable/core/include/dpl/assert.h
rename to modules/core/include/dpl/assert.h
index abdb481..e11727b 100644 (file)
@@ -32,11 +32,12 @@ void AssertProc(const char *condition,
                 const char *function) __attribute__ ((__noreturn__));
 } // namespace DPL
 
-#define Assert(Condition) do { if (!(Condition)) { DPL::AssertProc(#Condition, \
-                                                                   __FILE__, \
-                                                                   __LINE__, \
-                                                                   __FUNCTION__); \
-                               } } while (0)
+#define Assert(Condition)                                               \
+do {                                                                    \
+    if (!(Condition)) {                                                 \
+        DPL::AssertProc(#Condition, __FILE__, __LINE__, __FUNCTION__);  \
+    }                                                                   \
+} while (0)
 
 #define AssertMsg(Condition, Msg)                                         \
     do {                                                                  \