SkOpts_crc32.cpp 324 B

1234567891011121314151617
  1. /*
  2. * Copyright 2016 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. #include "src/core/SkOpts.h"
  8. #define SK_OPTS_NS crc32
  9. #include "src/opts/SkChecksum_opts.h"
  10. namespace SkOpts {
  11. void Init_crc32() {
  12. hash_fn = crc32::hash_fn;
  13. }
  14. }