OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2008 The Android Open Source Project | 3 * Copyright 2008 The Android Open Source Project |
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 SkReader32_DEFINED | 10 #ifndef SkReader32_DEFINED |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 const char* fBase; // beginning of buffer | 151 const char* fBase; // beginning of buffer |
152 | 152 |
153 #ifdef SK_DEBUG | 153 #ifdef SK_DEBUG |
154 static bool ptr_align_4(const void* ptr) { | 154 static bool ptr_align_4(const void* ptr) { |
155 return (((const char*)ptr - (const char*)NULL) & 3) == 0; | 155 return (((const char*)ptr - (const char*)NULL) & 3) == 0; |
156 } | 156 } |
157 #endif | 157 #endif |
158 }; | 158 }; |
159 | 159 |
160 #endif | 160 #endif |
OLD | NEW |