OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * | 3 * |
4 * Copyright (C) 1999-2009, International Business Machines | 4 * Copyright (C) 1999-2009, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ******************************************************************************* | 7 ******************************************************************************* |
8 * file name: utf8.h | 8 * file name: utf8.h |
9 * encoding: US-ASCII | 9 * encoding: US-ASCII |
10 * tab size: 8 (not used) | 10 * tab size: 8 (not used) |
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 * @stable ICU 2.4 | 674 * @stable ICU 2.4 |
675 */ | 675 */ |
676 #define U8_SET_CP_LIMIT(s, start, i, length) { \ | 676 #define U8_SET_CP_LIMIT(s, start, i, length) { \ |
677 if((start)<(i) && (i)<(length)) { \ | 677 if((start)<(i) && (i)<(length)) { \ |
678 U8_BACK_1(s, start, i); \ | 678 U8_BACK_1(s, start, i); \ |
679 U8_FWD_1(s, i, length); \ | 679 U8_FWD_1(s, i, length); \ |
680 } \ | 680 } \ |
681 } | 681 } |
682 | 682 |
683 #endif | 683 #endif |
OLD | NEW |