2 *******************************************************************************
4 * Copyright (C) 1999-2011, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
10 * created on: 11/06/2000
11 * created by: Eric R. Mader
18 #if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
19 # define HB_BEGIN_VISIBILITY _Pragma ("GCC visibility push(hidden)")
20 # define HB_END_VISIBILITY _Pragma ("GCC visibility pop")
22 # define HB_BEGIN_VISIBILITY
23 # define HB_END_VISIBILITY
27 #include "layout/LETypes.h"
28 /*#include "unicode/ctest.h"*/
37 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
39 #define ARRAY_COPY(dst, src, count) memcpy((void *) (dst), (void *) (src), (count) * sizeof (src)[0])
41 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type))
43 #define DELETE_ARRAY(array) free((void *) (array))
45 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
56 typedef struct TestResult TestResult;
59 //U_CFUNC void addCTests(TestNode **root);