OLD | NEW |
1 /* | 1 /* |
2 ****************************************************************************** | 2 ****************************************************************************** |
3 * | 3 * |
4 * Copyright (C) 2000-2011, International Business Machines | 4 * Copyright (C) 2000-2015, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ****************************************************************************** | 7 ****************************************************************************** |
8 * file name: ubidiwrt.c | 8 * file name: ubidiwrt.c |
9 * encoding: US-ASCII | 9 * encoding: US-ASCII |
10 * tab size: 8 (not used) | 10 * tab size: 8 (not used) |
11 * indentation:4 | 11 * indentation:4 |
12 * | 12 * |
13 * created on: 1999aug06 | 13 * created on: 1999aug06 |
14 * created by: Markus W. Scherer, updated by Matitiahu Allouche | 14 * created by: Markus W. Scherer, updated by Matitiahu Allouche |
15 * | 15 * |
16 * This file contains implementations for BiDi functions that use | 16 * This file contains implementations for BiDi functions that use |
17 * the core algorithm and core API to write reordered text. | 17 * the core algorithm and core API to write reordered text. |
18 */ | 18 */ |
19 | 19 |
20 /* set import/export definitions */ | |
21 #ifndef U_COMMON_IMPLEMENTATION | |
22 # define U_COMMON_IMPLEMENTATION | |
23 #endif | |
24 | |
25 #include "unicode/utypes.h" | 20 #include "unicode/utypes.h" |
26 #include "unicode/ustring.h" | 21 #include "unicode/ustring.h" |
27 #include "unicode/uchar.h" | 22 #include "unicode/uchar.h" |
28 #include "unicode/ubidi.h" | 23 #include "unicode/ubidi.h" |
29 #include "unicode/utf16.h" | 24 #include "unicode/utf16.h" |
30 #include "cmemory.h" | 25 #include "cmemory.h" |
31 #include "ustr_imp.h" | 26 #include "ustr_imp.h" |
32 #include "ubidiimp.h" | 27 #include "ubidiimp.h" |
33 | 28 |
34 /* | 29 /* |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 } | 629 } |
635 --destSize; | 630 --destSize; |
636 } | 631 } |
637 } | 632 } |
638 } | 633 } |
639 } | 634 } |
640 } | 635 } |
641 | 636 |
642 return u_terminateUChars(saveDest, destCapacity, destCapacity-destSize, pErr
orCode); | 637 return u_terminateUChars(saveDest, destCapacity, destCapacity-destSize, pErr
orCode); |
643 } | 638 } |
OLD | NEW |