| 1 | /* | 
| 2 |  * Copyright 2020 Google Inc. | 
| 3 |  * | 
| 4 |  * Use of this source code is governed by a BSD-style license that can be | 
| 5 |  * found in the LICENSE file. | 
| 6 |  */ | 
| 7 |  | 
| 8 | #ifndef SkOpts_spi_DEFINED | 
| 9 | #define SkOpts_spi_DEFINED | 
| 10 |  | 
| 11 | #include "include/core/SkTypes.h" | 
| 12 |  | 
| 13 | // These are exposed as SK_SPI (e.g. SkParagraph), the rest of SkOpts is | 
| 14 | // declared in src/core | 
| 15 |  | 
| 16 | namespace SkOpts { | 
| 17 |     // The fastest high quality 32-bit hash we can provide on this platform. | 
| 18 |     extern uint32_t SK_SPI (*hash_fn)(const void* data, size_t bytes, uint32_t seed); | 
| 19 | } // namespace SkOpts | 
| 20 |  | 
| 21 | #endif | 
| 22 |  |