Index: src/unicode.h |
diff --git a/src/unicode.h b/src/unicode.h |
index 7471a638c045d169e58bceae78087615b06202a9..35717bca868da4e17bff98ee7012932c7149b599 100644 |
--- a/src/unicode.h |
+++ b/src/unicode.h |
@@ -155,6 +155,11 @@ class Utf8 { |
// UTF-8. |
static const unsigned kMax16BitCodeUnitSize = 3; |
static inline uchar ValueOf(const byte* str, size_t length, size_t* cursor); |
+ |
+ // Excludes non-characters from the set of valid code points. |
+ static inline bool IsValidCharacter(uchar c); |
+ |
+ static bool Validate(const byte* str, size_t length); |
}; |
struct Uppercase { |