icu_util.h 733 Bytes
Newer Older
1
// Copyright 2013 the V8 project authors. All rights reserved.
2 3
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
4

5 6
#ifndef V8_INIT_ICU_UTIL_H_
#define V8_INIT_ICU_UTIL_H_
7 8 9

namespace v8 {

10 11
namespace internal {

12 13
// Call this function to load ICU's data tables for the current process.  This
// function should be called before ICU is used.
14
bool InitializeICU(const char* icu_data_file);
15

16
// Like above, but using the default icudt[lb].dat location if icu_data_file is
17 18 19 20
// not specified.
bool InitializeICUDefaultLocation(const char* exec_path,
                                  const char* icu_data_file);

21 22
}  // namespace internal
}  // namespace v8
23

24
#endif  // V8_INIT_ICU_UTIL_H_