blob: 64bee648b9f9b9c15ae8989d75b9b0fc8d6f3458 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <util/generic/string.h>
struct TEntity {
size_t Len;
wchar32 Codepoint1;
wchar32 Codepoint2;
};
constexpr size_t MaxNamedEntityLength = 32; //CounterClockwiseContourIntegral;
//! Find if string prefix may be considered as entity name.
//! (';' is a part of entity name)
//! @param inp - a pointer after '&'.
//! @param len - inspected string leng (may be more than simple entity).
bool DecodeNamedEntity(const unsigned char* inp, size_t len, TEntity*);
|