OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * | 3 * |
4 * Copyright (C) 1999-2011, International Business Machines | 4 * Copyright (C) 1999-2014, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ******************************************************************************* | 7 ******************************************************************************* |
8 * file name: letest.h | 8 * file name: letest.h |
9 * | 9 * |
10 * created on: 11/06/2000 | 10 * created on: 11/06/2000 |
11 * created by: Eric R. Mader | 11 * created by: Eric R. Mader |
12 */ | 12 */ |
13 | 13 |
14 #ifndef __LETEST_H | 14 #ifndef __LETEST_H |
15 #define __LETEST_H | 15 #define __LETEST_H |
16 | 16 |
| 17 |
| 18 #ifdef USING_ICULEHB |
| 19 #include "layout/LETypes.h" |
| 20 #else |
17 #include "LETypes.h" | 21 #include "LETypes.h" |
| 22 #endif |
18 #include "unicode/ctest.h" | 23 #include "unicode/ctest.h" |
19 | 24 |
20 #include <stdlib.h> | 25 #include <stdlib.h> |
21 #include <string.h> | 26 #include <string.h> |
22 | 27 |
23 U_NAMESPACE_USE | 28 U_NAMESPACE_USE |
24 | 29 |
25 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) | 30 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) |
26 | 31 |
27 #define ARRAY_COPY(dst, src, count) memcpy((void *) (dst), (void *) (src), (coun
t) * sizeof (src)[0]) | 32 #define ARRAY_COPY(dst, src, count) memcpy((void *) (dst), (void *) (src), (coun
t) * sizeof (src)[0]) |
(...skipping 12 matching lines...) Expand all Loading... |
40 float *positions; | 45 float *positions; |
41 }; | 46 }; |
42 | 47 |
43 #ifndef __cplusplus | 48 #ifndef __cplusplus |
44 typedef struct TestResult TestResult; | 49 typedef struct TestResult TestResult; |
45 #endif | 50 #endif |
46 | 51 |
47 U_CFUNC void addCTests(TestNode **root); | 52 U_CFUNC void addCTests(TestNode **root); |
48 | 53 |
49 #endif | 54 #endif |
OLD | NEW |