Index: src/unicode.h |
=================================================================== |
--- src/unicode.h (revision 5457) |
+++ src/unicode.h (working copy) |
@@ -120,6 +120,9 @@ |
static inline unsigned Encode(char* out, uchar c); |
static const byte* ReadBlock(Buffer<const char*> str, byte* buffer, |
unsigned capacity, unsigned* chars_read, unsigned* offset); |
+ static uchar CalculateValue(const byte* str, |
+ unsigned length, |
+ unsigned* cursor); |
static const uchar kBadChar = 0xFFFD; |
static const unsigned kMaxEncodedSize = 4; |
static const unsigned kMaxOneByteChar = 0x7f; |
@@ -133,9 +136,6 @@ |
static inline uchar ValueOf(const byte* str, |
unsigned length, |
unsigned* cursor); |
- static uchar CalculateValue(const byte* str, |
- unsigned length, |
- unsigned* cursor); |
}; |
// --- C h a r a c t e r S t r e a m --- |