| OLD | NEW |
| (Empty) |
| 1 // Copyright 2009 Google Inc. All Rights Reserved. | |
| 2 // Author: alekseys@google.com (Aleksey Shlyapnikov) | |
| 3 | |
| 4 // This code is not actually used, it was copied here for the reference only. | |
| 5 // See cld_htmlutils_windows.cc for Windows version of this code. | |
| 6 | |
| 7 #include "cld/encodings/compact_lang_det/win/cld_utf8utils.h" | |
| 8 | |
| 9 #include "cld/util/utf8/utf8statetable.h" | |
| 10 | |
| 11 namespace cld { | |
| 12 | |
| 13 int UTF8GenericScan(const UTF8ScanObj* st, const char* src, int len, | |
| 14 int* bytes_consumed) { | |
| 15 return ::UTF8GenericScan(st, StringPiece(src, len), bytes_consumed); | |
| 16 } | |
| 17 | |
| 18 } // namespace cld | |
| OLD | NEW |