scuffed-code/icu4c/source/i18n/ucurrimp.h
George Rhoten 70cf40862e ICU-2256 Performance enhancement.
Make ustdio %e start up faster, especially since it's not using currency data.

X-SVN-Rev: 12622
2003-07-12 00:23:05 +00:00

30 lines
940 B
C

/*
**********************************************************************
* Copyright (c) 2002-2003, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*/
#ifndef _UCURR_IMP_H_
#define _UCURR_IMP_H_
#include "unicode/utypes.h"
/**
* Internal method. Given a currency ISO code and a locale, return
* the "static" currency name. This is usually the same as the
* UCURR_SYMBOL_NAME, but if the latter is a choice format, then the
* format is applied to the number 2.0 (to yield the more common
* plural) to return a static name.
*
* This is used for backward compatibility with old currency logic in
* DecimalFormat and DecimalFormatSymbols.
*/
U_CAPI void
uprv_getStaticCurrencyName(const UChar* iso, const char* loc,
UnicodeString& result, UErrorCode& ec);
#endif /* #ifndef _UCURR_IMP_H_ */
//eof