blob: a21aa89634ce9b377e4390b7fbb565f6db8f8de0 [file] [log] [blame]
epoger@google.com0bba6bd2012-12-07 15:12:01 +00001/*
2 * Copyright 2012 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/**
9 * Pass any calls through to the CityHash library.
10 * This is the only source file that accesses the CityHash code directly.
11 */
12
13#include "SkCityHash.h"
14#include "SkTypes.h"
15#include "city.h"
16
17uint32_t SkCityHash::Compute32(const char *data, size_t size) {
18 return CityHash32(data, size);
19}
20
21uint64_t SkCityHash::Compute64(const char *data, size_t size) {
22 return CityHash64(data, size);
23}