icudataver.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // © 2016 and later: Unicode, Inc. and others.
  2. // License & terms of use: http://www.unicode.org/copyright.html
  3. /*
  4. ******************************************************************************
  5. *
  6. * Copyright (C) 2009-2013, International Business Machines
  7. * Corporation and others. All Rights Reserved.
  8. *
  9. ******************************************************************************
  10. */
  11. /**
  12. * \file
  13. * \brief C API: access to ICU Data Version number
  14. */
  15. #ifndef __ICU_DATA_VER_H__
  16. #define __ICU_DATA_VER_H__
  17. #include "unicode/utypes.h"
  18. /**
  19. * @stable ICU 49
  20. */
  21. #define U_ICU_VERSION_BUNDLE "icuver"
  22. /**
  23. * @stable ICU 49
  24. */
  25. #define U_ICU_DATA_KEY "DataVersion"
  26. /**
  27. * Retrieves the data version from icuver and stores it in dataVersionFillin.
  28. *
  29. * @param dataVersionFillin icuver data version information to be filled in if not-null
  30. * @param status stores the error code from the calls to resource bundle
  31. *
  32. * @stable ICU 49
  33. */
  34. U_CAPI void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status);
  35. #endif