~ubuntu-branches/ubuntu/gutsy/icu/gutsy

« back to all changes in this revision

Viewing changes to source/i18n/unicode/unum.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2005-05-21 22:44:31 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: package-import@ubuntu.com-20050521224431-r7rktfhnu1n4tf1g
Tags: 2.1-2.1
Rename icu-doc to icu21-doc. icu-doc is built by the icu28 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
719
719
 */
720
720
#ifdef U_USE_DEPRECATED_FORMAT_API
721
721
 
722
 
#if ((U_ICU_VERSION_MAJOR_NUM != 2) || (U_ICU_VERSION_MINOR_NUM !=0))
 
722
#if ((U_ICU_VERSION_MAJOR_NUM != 2) || (U_ICU_VERSION_MINOR_NUM !=1))
723
723
#   error "ICU version has changed. Please redefine the macros under U_USE_DEPRECATED_FORMAT_API pre-processor definition"
724
724
#else 
725
725
    static UNumberFormat* 
728
728
        return unum_open(0,pattern,patternLength,locale,NULL,status);
729
729
    }
730
730
 
731
 
#   define unum_open_2_0(style,locale,status) unum_open(style, NULL, 0, locale, NULL, status)
732
 
#   define unum_applyPattern_2_0(format,localized,pattern,patternLength) unum_applyPattern(format,localized,pattern,patternLength,NULL,NULL)
 
731
#   define unum_open_2_1(style,locale,status) unum_open(style, NULL, 0, locale, NULL, status)
 
732
#   define unum_applyPattern_2_1(format,localized,pattern,patternLength) unum_applyPattern(format,localized,pattern,patternLength,NULL,NULL)
733
733
#endif
734
734
 
735
735
#endif