Move Lexicon*, Text (TextTokens, TextEscapes, Base64), Math/RadialGrid, Hash (MD5, XxHash32) and Cipher (Rijndael, XorBytes) into Source/Utility subfolders; update includes, guards, compile.json and CMakeLists.txt. Backfill // OFFSET: above every standalone // FUNCTION: block (89 IDs, addresses from the symbol database) and make it mandatory in CODING_RULES.md and AGENTS.md. Remove the MatchLexicon cast chain.
9 lines
316 B
C++
9 lines
316 B
C++
#ifndef RAGNAROK_SOURCE_UTILITY_HASH_XXHASH32_H
|
|
#define RAGNAROK_SOURCE_UTILITY_HASH_XXHASH32_H
|
|
|
|
#include <cstdint>
|
|
|
|
std::uint32_t XxHash32(const void* data, std::uint32_t length, std::uint32_t seed);
|
|
std::uint32_t FinalizeXxHash32(std::uint32_t hash, const void* data, std::uint32_t remaining, int endian);
|
|
|
|
#endif
|