| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_UNICODE_H_ | 5 #ifndef V8_UNICODE_H_ |
| 6 #define V8_UNICODE_H_ | 6 #define V8_UNICODE_H_ |
| 7 | 7 |
| 8 #include <sys/types.h> | 8 #include <sys/types.h> |
| 9 #include "globals.h" | 9 #include "src/globals.h" |
| 10 /** | 10 /** |
| 11 * \file | 11 * \file |
| 12 * Definitions and convenience functions for working with unicode. | 12 * Definitions and convenience functions for working with unicode. |
| 13 */ | 13 */ |
| 14 | 14 |
| 15 namespace unibrow { | 15 namespace unibrow { |
| 16 | 16 |
| 17 typedef unsigned int uchar; | 17 typedef unsigned int uchar; |
| 18 typedef unsigned char byte; | 18 typedef unsigned char byte; |
| 19 | 19 |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 static const int kMaxWidth = 1; | 252 static const int kMaxWidth = 1; |
| 253 static int Convert(uchar c, | 253 static int Convert(uchar c, |
| 254 uchar n, | 254 uchar n, |
| 255 uchar* result, | 255 uchar* result, |
| 256 bool* allow_caching_ptr); | 256 bool* allow_caching_ptr); |
| 257 }; | 257 }; |
| 258 | 258 |
| 259 } // namespace unibrow | 259 } // namespace unibrow |
| 260 | 260 |
| 261 #endif // V8_UNICODE_H_ | 261 #endif // V8_UNICODE_H_ |
| OLD | NEW |