2017-02-07 10:11:01 +00:00
|
|
|
// Copyright 2017 the V8 project authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
#ifndef V8_CCTEST_UNICODE_HELPERS_H_
|
|
|
|
#define V8_CCTEST_UNICODE_HELPERS_H_
|
|
|
|
|
2019-05-21 06:38:38 +00:00
|
|
|
#include "src/strings/unicode.h"
|
2017-02-07 10:11:01 +00:00
|
|
|
|
2018-09-07 09:17:06 +00:00
|
|
|
int Ucs2CharLength(unibrow::uchar c);
|
|
|
|
int Utf8LengthHelper(const char* s);
|
2017-02-07 10:11:01 +00:00
|
|
|
|
|
|
|
#endif // V8_CCTEST_UNICODE_HELPERS_H_
|