| OLD | NEW |
| 1 /* | 1 /* |
| 2 ****************************************************************************** | 2 ****************************************************************************** |
| 3 * | 3 * |
| 4 * Copyright (C) 1999-2015, International Business Machines | 4 * Copyright (C) 1999-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: ubidiimp.h | 8 * file name: ubidiimp.h |
| 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 | 16 |
| 17 #ifndef UBIDIIMP_H | 17 #ifndef UBIDIIMP_H |
| 18 #define UBIDIIMP_H | 18 #define UBIDIIMP_H |
| 19 | 19 |
| 20 /* set import/export definitions */ | |
| 21 #ifdef U_COMMON_IMPLEMENTATION | |
| 22 | |
| 23 #include "unicode/utypes.h" | 20 #include "unicode/utypes.h" |
| 24 #include "unicode/uchar.h" | 21 #include "unicode/uchar.h" |
| 25 #include "ubidi_props.h" | 22 #include "ubidi_props.h" |
| 26 | 23 |
| 27 /* miscellaneous definitions ---------------------------------------------- */ | 24 /* miscellaneous definitions ---------------------------------------------- */ |
| 28 | 25 |
| 29 typedef uint8_t DirProp; | 26 typedef uint8_t DirProp; |
| 30 typedef uint32_t Flags; | 27 typedef uint32_t Flags; |
| 31 | 28 |
| 32 /* Comparing the description of the BiDi algorithm with this implementation | 29 /* Comparing the description of the BiDi algorithm with this implementation |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 | 458 |
| 462 #define getInitialRunsMemory(pBiDi, length) \ | 459 #define getInitialRunsMemory(pBiDi, length) \ |
| 463 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->runsMemory, &(pBiDi
)->runsSize, \ | 460 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->runsMemory, &(pBiDi
)->runsSize, \ |
| 464 TRUE, (length)*sizeof(Run)) | 461 TRUE, (length)*sizeof(Run)) |
| 465 | 462 |
| 466 #define getInitialIsolatesMemory(pBiDi, length) \ | 463 #define getInitialIsolatesMemory(pBiDi, length) \ |
| 467 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->isolatesMemory, &(p
BiDi)->isolatesSize, \ | 464 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->isolatesMemory, &(p
BiDi)->isolatesSize, \ |
| 468 TRUE, (length)*sizeof(Isolate)) | 465 TRUE, (length)*sizeof(Isolate)) |
| 469 | 466 |
| 470 #endif | 467 #endif |
| 471 | |
| 472 #endif | |
| OLD | NEW |