OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 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 SkTSearch_DEFINED | 10 #ifndef SkTSearch_DEFINED |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 enum { | 137 enum { |
138 STORAGE = 64 | 138 STORAGE = 64 |
139 }; | 139 }; |
140 char fStorage[STORAGE+1]; | 140 char fStorage[STORAGE+1]; |
141 }; | 141 }; |
142 | 142 |
143 // Helper when calling qsort with a compare proc that has typed its arguments | 143 // Helper when calling qsort with a compare proc that has typed its arguments |
144 #define SkCastForQSort(compare) reinterpret_cast<int (*)(const void*, const void
*)>(compare) | 144 #define SkCastForQSort(compare) reinterpret_cast<int (*)(const void*, const void
*)>(compare) |
145 | 145 |
146 #endif | 146 #endif |
OLD | NEW |