aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar george <george@mozilla.com>2014-08-01 12:02:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-01 12:02:07 -0700
commitc4ade57cd4ce5083e0fac19111a6ee6e32e18df4 (patch)
treee31ae7e9131e08ecfe5661443e793ceb71bad4cc
parentf91b47ff9ea6bd0246dc7c5a3f58d85860661ace (diff)
Ensure that SkDebugf is exported from the library.
This was caused by the change to always call SkDebugf() in SkASSERT(). There are many headers in Skia that call SkASSERT and so we were seeing linking issues in Gecko where we were using Skia across DLL boundaries. R=reed@google.com, bsalomon@google.com, reed1 BUG=skia: Author: george@mozilla.com Review URL: https://codereview.chromium.org/438783002
-rw-r--r--include/core/SkTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index e264f4850f..4d590c24de 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -89,7 +89,7 @@ inline void operator delete(void* p) {
#define SK_INIT_TO_AVOID_WARNING = 0
#ifndef SkDebugf
- void SkDebugf(const char format[], ...);
+ SK_API void SkDebugf(const char format[], ...);
#endif
#ifdef SK_DEBUG