v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
icu_util.h
Go to the documentation of this file.
1// Copyright 2013 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_INIT_ICU_UTIL_H_
6#define V8_INIT_ICU_UTIL_H_
7
8namespace v8 {
9
10namespace internal {
11
12// Call this function to load ICU's data tables for the current process. This
13// function should be called before ICU is used.
14bool InitializeICU(const char* icu_data_file);
15
16// Like above, but using the default icudt[lb].dat location if icu_data_file is
17// not specified.
18bool InitializeICUDefaultLocation(const char* exec_path,
19 const char* icu_data_file);
20
21} // namespace internal
22} // namespace v8
23
24#endif // V8_INIT_ICU_UTIL_H_
bool InitializeICU(const char *icu_data_file)
Definition icu_util.cc:62
bool InitializeICUDefaultLocation(const char *exec_path, const char *icu_data_file)
Definition icu_util.cc:39