track total size of static array and Unit/Class/Func
[hiphop-php.git] / hphp / runtime / base / intl-convert.h
blob5fab189dca45bee6c773450e3b01e04f26ff346f
1 /*
2 +----------------------------------------------------------------------+
3 | HipHop for PHP |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
6 | Copyright (c) 1998-2010 Zend Technologies Ltd. (http://www.zend.com) |
7 +----------------------------------------------------------------------+
8 | This source file is subject to version 2.00 of the Zend license, |
9 | that is bundled with this package in the file LICENSE, and is |
10 | available through the world-wide-web at the following url: |
11 | http://www.zend.com/license/2_00.txt. |
12 | If you did not receive a copy of the Zend license and are unable to |
13 | obtain it through the world-wide-web, please send a note to |
14 | license@zend.com so we can mail you a copy immediately. |
15 +----------------------------------------------------------------------+
18 #ifndef incl_HPHP_INTL_CONVERT_H_
19 #define incl_HPHP_INTL_CONVERT_H_
21 #include <unicode/ustring.h>
23 namespace HPHP {
24 ///////////////////////////////////////////////////////////////////////////////
26 void intl_convert_utf8_to_utf16(UChar** target, int* target_len,
27 const char* src, int src_len,
28 UErrorCode* status);
29 void intl_convert_utf16_to_utf8(char** target, int* target_len,
30 const UChar* src, int src_len,
31 UErrorCode* status);
33 ///////////////////////////////////////////////////////////////////////////////
36 #endif // incl_HPHP_INTL_CONVERT_H_