mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +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;
|
|
};
|