diff options
author | herb <herb@google.com> | 2015-09-18 07:00:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-18 07:00:48 -0700 |
commit | 966e3d30baf676dc399dc9c97ef15cc2c4f8d461 (patch) | |
tree | bee0800b05c3a5fedb491b5cd7c29b0bd1cd662a /include | |
parent | b1c56ec01ec53e303bd3d57dfbf4b1b0763bf788 (diff) |
Add debug mode to shared mutex.
Review URL: https://codereview.chromium.org/1307863009
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkTypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h index a5468f3090..d9254acf5f 100644 --- a/include/core/SkTypes.h +++ b/include/core/SkTypes.h @@ -106,6 +106,7 @@ inline void operator delete(void* p) { #ifdef SK_DEBUG #define SkASSERT(cond) SK_ALWAYSBREAK(cond) #define SkDEBUGFAIL(message) SkASSERT(false && message) + #define SkDEBUGFAILF(fmt, ...) SkASSERTF(false, fmt, ##__VA_ARGS__) #define SkDEBUGCODE(code) code #define SkDECLAREPARAM(type, var) , type var #define SkPARAM(var) , var |