diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-15 07:16:57 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-15 07:16:57 +0000 |
commit | 044679ef8c08e1f01afadf5bc08251fe8597df81 (patch) | |
tree | ed941ae2857b61f704c3ac10139241a969902a47 /include/utils | |
parent | e9b31faf3008c01e04a9f0e178437eb8823c8077 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7746 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/SkDebugUtils.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/utils/SkDebugUtils.h b/include/utils/SkDebugUtils.h index 64e2935d76..2fa6d41313 100644 --- a/include/utils/SkDebugUtils.h +++ b/include/utils/SkDebugUtils.h @@ -12,7 +12,7 @@ #include "SkTypes.h" -// These functions dump 0, 1, and 2d arrays of data in a format that's +// These functions dump 0, 1, and 2d arrays of data in a format that's // compatible with Mathematica for quick visualization @@ -21,7 +21,7 @@ inline void SkDebugDumpMathematica( const T val ) { SkDEBUGFAIL("Need to specialize SkDebugDumpMathematica for your type, sorry."); } -template<class T> +template<class T> inline void SkDebugDumpMathematica(const char *name, const T *array, int size) { SkDebugf(name); SkDebugf(" = {"); @@ -32,7 +32,7 @@ inline void SkDebugDumpMathematica(const char *name, const T *array, int size) { SkDebugf("};\n"); } -template<class T> +template<class T> inline void SkDebugDumpMathematica(const char *name, const T *array, int width, int height) { SkDebugf(name); SkDebugf(" = {\n"); @@ -52,7 +52,7 @@ inline void SkDebugDumpMathematica(const char *name, const T *array, int width, SkDebugf("\n};\n"); } -template<class T> +template<class T> inline void SkDebugDumpMathematica( const char *name, const T val ) { SkDebugf(name); SkDebugf(" = "); @@ -60,32 +60,32 @@ inline void SkDebugDumpMathematica( const char *name, const T val ) { SkDebugf(";\n"); } -template<> +template<> inline void SkDebugDumpMathematica<uint8_t>( const uint8_t val ) { SkDebugf("%u", val); } -template<> +template<> inline void SkDebugDumpMathematica<unsigned int>( const unsigned int val ) { SkDebugf("%u", val); } -template<> +template<> inline void SkDebugDumpMathematica<int>( const int val ) { SkDebugf("%d", val); } -template<> +template<> inline void SkDebugDumpMathematica<size_t>( const size_t val ) { SkDebugf("%u", val); } -template<> +template<> void SkDebugDumpMathematica<const char *>( const char * val ) { SkDebugf("%s", val); } -template<> +template<> inline void SkDebugDumpMathematica<float>( float val ) { SkDebugf("%f", val); } |