OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2013 Google, Inc. | 3 * Copyright 2013 Google, Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkDebugUtils_DEFINED | 10 #ifndef SkDebugUtils_DEFINED |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 inline void SkDebugDumpMathematica<int>( const int val ) { | 74 inline void SkDebugDumpMathematica<int>( const int val ) { |
75 SkDebugf("%d", val); | 75 SkDebugf("%d", val); |
76 } | 76 } |
77 | 77 |
78 template<> | 78 template<> |
79 inline void SkDebugDumpMathematica<size_t>( const size_t val ) { | 79 inline void SkDebugDumpMathematica<size_t>( const size_t val ) { |
80 SkDebugf("%u", val); | 80 SkDebugf("%u", val); |
81 } | 81 } |
82 | 82 |
83 template<> | 83 template<> |
84 void SkDebugDumpMathematica<const char *>( const char * val ) { | 84 inline void SkDebugDumpMathematica<const char *>( const char * val ) { |
85 SkDebugf("%s", val); | 85 SkDebugf("%s", val); |
86 } | 86 } |
87 | 87 |
88 template<> | 88 template<> |
89 inline void SkDebugDumpMathematica<float>( float val ) { | 89 inline void SkDebugDumpMathematica<float>( float val ) { |
90 SkDebugf("%f", val); | 90 SkDebugf("%f", val); |
91 } | 91 } |
92 | 92 |
93 | 93 |
94 #endif | 94 #endif |
OLD | NEW |