mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 11:52:27 +00:00
21 lines
391 B
C++
21 lines
391 B
C++
#pragma once
|
|
|
|
#include <cstdlib>
|
|
|
|
// Definition of the class generated by gperf
|
|
class HTMLCharacterHash
|
|
{
|
|
private:
|
|
static inline unsigned int hash(const char * str, size_t len);
|
|
|
|
public:
|
|
static const struct NameAndGlyph * Lookup(const char * str, size_t len);
|
|
};
|
|
|
|
// Definition of the struct generated by gperf
|
|
struct NameAndGlyph
|
|
{
|
|
const char * name;
|
|
const char * glyph;
|
|
};
|