• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/private/base/SkAPI.h"
12 
13 #include <cstddef>
14 
15 // These are exposed as SK_SPI (e.g. SkParagraph), the rest of SkOpts is
16 // declared in src/core
17 
18 namespace SkOpts {
19     // The fastest high quality 32-bit hash we can provide on this platform.
20     extern uint32_t SK_SPI (*hash_fn)(const void* data, size_t bytes, uint32_t seed);
21 } // namespace SkOpts
22 
23 #endif
24