mgba/include/mgba-util/hash.h

18 lines
408 B
C
Raw Normal View History

/* Copyright (c) 2013-2014 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
2014-11-01 09:05:34 +00:00
#ifndef HASH_H
#define HASH_H
#include <mgba-util/common.h>
2014-11-01 09:05:34 +00:00
2016-12-27 05:01:55 +00:00
CXX_GUARD_START
2014-11-01 09:05:34 +00:00
uint32_t hash32(const void* key, int len, uint32_t seed);
2016-12-27 05:01:55 +00:00
CXX_GUARD_END
2014-11-01 09:05:34 +00:00
#endif