/*
*******************************************************************************
-* Copyright (C) 2003-2004, International Business Machines
+* Copyright (C) 2003-2008, International Business Machines
* Corporation and others. All Rights Reserved.
*******************************************************************************
* file name: utrace.c
static const void *gTraceContext = NULL;
U_EXPORT int32_t
-utrace_level;
+utrace_level = UTRACE_ERROR;
U_CAPI void U_EXPORT2
utrace_entry(int32_t fnNumber) {
/* UChar * string, with length, len==-1 for null terminated. */
ptrArg = va_arg(args, void *); /* Ptr */
intArg =(int32_t)va_arg(args, int32_t); /* Length */
- outputUString((const unsigned short *)ptrArg, intArg, outBuf, &outIx, capacity, indent);
+ outputUString((const UChar *)ptrArg, intArg, outBuf, &outIx, capacity, indent);
break;
case 'b':
case 'S':
charsToOutput = 0;
- outputUString((const unsigned short *)*ptrPtr, -1, outBuf, &outIx, capacity, indent);
+ outputUString((const UChar *)*ptrPtr, -1, outBuf, &outIx, capacity, indent);
outputChar('\n', outBuf, &outIx, capacity, indent);
longArg = *ptrPtr==NULL? 0: 1; /* for test for null term. array. */
ptrPtr++;