OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef BIN_UTILS_WIN_H_ | 5 #ifndef BIN_UTILS_WIN_H_ |
6 #define BIN_UTILS_WIN_H_ | 6 #define BIN_UTILS_WIN_H_ |
7 | 7 |
8 #include "platform/globals.h" | 8 #include "platform/globals.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
(...skipping 13 matching lines...) Expand all Loading... |
24 intptr_t* result_len = NULL); | 24 intptr_t* result_len = NULL); |
25 static const char* WideToUtf8(const wchar_t* wide, | 25 static const char* WideToUtf8(const wchar_t* wide, |
26 intptr_t len = -1, | 26 intptr_t len = -1, |
27 intptr_t* result_len = NULL); | 27 intptr_t* result_len = NULL); |
28 static wchar_t* Utf8ToWide(char* utf8, | 28 static wchar_t* Utf8ToWide(char* utf8, |
29 intptr_t len = -1, | 29 intptr_t len = -1, |
30 intptr_t* result_len = NULL); | 30 intptr_t* result_len = NULL); |
31 static const wchar_t* Utf8ToWide(const char* utf8, | 31 static const wchar_t* Utf8ToWide(const char* utf8, |
32 intptr_t len = -1, | 32 intptr_t len = -1, |
33 intptr_t* result_len = NULL); | 33 intptr_t* result_len = NULL); |
| 34 |
| 35 private: |
| 36 DISALLOW_ALLOCATION(); |
| 37 DISALLOW_IMPLICIT_CONSTRUCTORS(StringUtilsWin); |
34 }; | 38 }; |
35 | 39 |
36 } // namespace bin | 40 } // namespace bin |
37 } // namespace dart | 41 } // namespace dart |
38 | 42 |
39 #endif // BIN_UTILS_WIN_H_ | 43 #endif // BIN_UTILS_WIN_H_ |
OLD | NEW |