Index: include/core/SkTypes.h |
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h |
index 13450cd0117585084f6a8ca7cc7affe4a9261abf..8863b07326558b310119e5485dc2e5ec9ebaa289 100644 |
--- a/include/core/SkTypes.h |
+++ b/include/core/SkTypes.h |
@@ -113,6 +113,8 @@ inline void operator delete(void* p) { |
#define SkAssertResult(cond) cond |
#endif |
+#define SkFAIL(message) SK_DEBUGBREAK(false && message) |
mtklein
2014/04/30 13:51:37
Isn't this the same as SkDEBUGFAIL?
reed1
2014/04/30 14:01:28
I think SkDEBUGFAIL does nothing in a release buil
bsalomon
2014/04/30 14:01:44
SK_DEBUGBREAK is misnamed. It is really SK_ALWAYSB
|
+ |
#ifdef SK_DEVELOPER |
#define SkDEVCODE(code) code |
#else |