uvernum.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /*
  2. *******************************************************************************
  3. * Copyright (C) 2000-2011, International Business Machines
  4. * Corporation and others. All Rights Reserved.
  5. *******************************************************************************
  6. *
  7. * file name: uvernum.h
  8. * encoding: US-ASCII
  9. * tab size: 8 (not used)
  10. * indentation:4
  11. *
  12. * Created by: Vladimir Weinstein
  13. * Updated by: Steven R. Loomis
  14. *
  15. * Gets included by uversion.h and other files.
  16. *
  17. * IMPORTANT: When updating version, the following things need to be done:
  18. * source/common/unicode/uvernum.h - this file: update major, minor,
  19. * patchlevel, suffix, version, short version constants, namespace,
  20. * renaming macro, and copyright
  21. *
  22. * The following files need to be updated as well, which can be done
  23. * by running the UNIX makefile target 'update-windows-makefiles' in icu/source.
  24. *
  25. *
  26. * source/common/common.vcproj - update 'Output file name' on the link tab so
  27. * that it contains the new major/minor combination
  28. * source/i18n/i18n.vcproj - same as for the common.vcproj
  29. * source/layout/layout.vcproj - same as for the common.vcproj
  30. * source/layoutex/layoutex.vcproj - same
  31. * source/stubdata/stubdata.vcproj - same as for the common.vcproj
  32. * source/io/io.vcproj - same as for the common.vcproj
  33. * source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
  34. * the new major/minor combination and the Unicode version.
  35. */
  36. #ifndef UVERNUM_H
  37. #define UVERNUM_H
  38. /** The standard copyright notice that gets compiled into each library.
  39. * This value will change in the subsequent releases of ICU
  40. * @stable ICU 2.4
  41. */
  42. #define U_COPYRIGHT_STRING \
  43. " Copyright (C) 2011, International Business Machines Corporation and others. All Rights Reserved. "
  44. /** The current ICU major version as an integer.
  45. * This value will change in the subsequent releases of ICU
  46. * @stable ICU 2.4
  47. */
  48. #define U_ICU_VERSION_MAJOR_NUM 4
  49. /** The current ICU minor version as an integer.
  50. * This value will change in the subsequent releases of ICU
  51. * @stable ICU 2.6
  52. */
  53. #define U_ICU_VERSION_MINOR_NUM 6
  54. /** The current ICU patchlevel version as an integer.
  55. * This value will change in the subsequent releases of ICU
  56. * @stable ICU 2.4
  57. */
  58. #define U_ICU_VERSION_PATCHLEVEL_NUM 1
  59. /** The current ICU build level version as an integer.
  60. * This value is for use by ICU clients. It defaults to 0.
  61. * @stable ICU 4.0
  62. */
  63. #ifndef U_ICU_VERSION_BUILDLEVEL_NUM
  64. #define U_ICU_VERSION_BUILDLEVEL_NUM 0
  65. #endif
  66. /** Glued version suffix for renamers
  67. * This value will change in the subsequent releases of ICU
  68. * @stable ICU 2.6
  69. */
  70. #define U_ICU_VERSION_SUFFIX _46
  71. /** Glued version suffix function for renamers
  72. * This value will change in the subsequent releases of ICU.
  73. * If a custom suffix (such as matching library suffixes) is desired, this can be modified.
  74. * Note that if present, platform.h may contain an earlier definition of this macro.
  75. * @stable ICU 4.2
  76. */
  77. #ifndef U_ICU_ENTRY_POINT_RENAME
  78. #define U_ICU_ENTRY_POINT_RENAME(x) x ## _46
  79. #endif
  80. /** The current ICU library version as a dotted-decimal string. The patchlevel
  81. * only appears in this string if it non-zero.
  82. * This value will change in the subsequent releases of ICU
  83. * @stable ICU 2.4
  84. */
  85. #define U_ICU_VERSION "4.6.1"
  86. /** The current ICU library major/minor version as a string without dots, for library name suffixes.
  87. * This value will change in the subsequent releases of ICU
  88. * @stable ICU 2.6
  89. */
  90. #define U_ICU_VERSION_SHORT "46"
  91. /** Data version in ICU4C.
  92. * @internal ICU 4.4 Internal Use Only
  93. **/
  94. #define U_ICU_DATA_VERSION "4.6"
  95. /*===========================================================================
  96. * ICU collation framework version information
  97. * Version info that can be obtained from a collator is affected by these
  98. * numbers in a secret and magic way. Please use collator version as whole
  99. *===========================================================================
  100. */
  101. /**
  102. * Collation runtime version (sort key generator, strcoll).
  103. * If the version is different, sort keys for the same string could be different.
  104. * This value may change in subsequent releases of ICU.
  105. * @stable ICU 2.4
  106. */
  107. #define UCOL_RUNTIME_VERSION 7
  108. /**
  109. * Collation builder code version.
  110. * When this is different, the same tailoring might result
  111. * in assigning different collation elements to code points.
  112. * This value may change in subsequent releases of ICU.
  113. * @stable ICU 2.4
  114. */
  115. #define UCOL_BUILDER_VERSION 8
  116. /**
  117. * This is the version of collation tailorings.
  118. * This value may change in subsequent releases of ICU.
  119. * @stable ICU 2.4
  120. */
  121. #define UCOL_TAILORINGS_VERSION 1
  122. #endif