Batch #9327 by superintelligence: 0 byte-identical, 1 confirmed by peer review. - fn_17753 CLanguageTH::CLanguageTH: logic confirmed by peer review Peer-reviewed-by: secret, Bielhp, seumadruga Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
19 lines
482 B
C++
19 lines
482 B
C++
#ifndef RAGNAROK_SOURCE_UTILITY_LEXICON_LEXICONBOUNDARY_H
|
|
#define RAGNAROK_SOURCE_UTILITY_LEXICON_LEXICONBOUNDARY_H
|
|
|
|
#include <cstdint>
|
|
|
|
struct LexiconSerializer;
|
|
|
|
struct LexiconBoundary {
|
|
/* 0000 */ LexiconSerializer* serializer;
|
|
/* 0004 */ std::uint32_t flags[256];
|
|
|
|
bool Load();
|
|
bool Matches(unsigned char previous, unsigned char current, unsigned char options) const;
|
|
};
|
|
|
|
extern std::uint32_t g_lexiconByteClasses[256];
|
|
extern LexiconBoundary g_lexiconBoundary;
|
|
|
|
#endif
|