/*
* %W% %E%
*
- * (C) Copyright IBM Corp. 2001 - All Rights Reserved
+ * (C) Copyright IBM Corp. 2001-2016 - All Rights Reserved
*
*/
#include "unicode/utypes.h"
#include "unicode/uscript.h"
+#include "cmemory.h"
#include "scrptrun.h"
#include <stdio.h>
0xD801, 0xDC00, 0xD801, 0xDC01, 0xD801, 0xDC02, 0xD801, 0xDC03
};
-int32_t testLength = sizeof testChars / sizeof testChars[0];
+int32_t testLength = UPRV_LENGTHOF(testChars);
void main()
{
printf("Script '%s' from %d to %d.\n", uscript_getName(code), start, end);
}
-}
\ No newline at end of file
+}