2009-08-13 17:21:33 +00:00
|
|
|
/*
|
|
|
|
******************************************************************************
|
|
|
|
*
|
2016-05-26 22:32:17 +00:00
|
|
|
* Copyright (C) 2016 and later: Unicode, Inc. and others.
|
|
|
|
* License & terms of use: http://www.unicode.org/copyright.html
|
2009-08-13 17:21:33 +00:00
|
|
|
*
|
|
|
|
******************************************************************************
|
|
|
|
*/
|
|
|
|
|
2012-09-11 20:51:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \brief C API: access to ICU Data Version number
|
|
|
|
*/
|
|
|
|
|
2009-08-13 17:21:33 +00:00
|
|
|
#ifndef __ICU_DATA_VER_H__
|
|
|
|
#define __ICU_DATA_VER_H__
|
|
|
|
|
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
2010-01-21 20:51:49 +00:00
|
|
|
/**
|
2013-02-22 20:15:50 +00:00
|
|
|
* @stable ICU 49
|
2010-01-21 20:51:49 +00:00
|
|
|
*/
|
2009-08-13 17:21:33 +00:00
|
|
|
#define U_ICU_VERSION_BUNDLE "icuver"
|
2010-01-21 20:51:49 +00:00
|
|
|
|
|
|
|
/**
|
2013-02-22 20:15:50 +00:00
|
|
|
* @stable ICU 49
|
2010-01-21 20:51:49 +00:00
|
|
|
*/
|
2009-08-13 17:21:33 +00:00
|
|
|
#define U_ICU_DATA_KEY "DataVersion"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Retrieves the data version from icuver and stores it in dataVersionFillin.
|
|
|
|
*
|
|
|
|
* @param dataVersionFillin icuver data version information to be filled in if not-null
|
|
|
|
* @param status stores the error code from the calls to resource bundle
|
|
|
|
*
|
2013-02-22 20:15:50 +00:00
|
|
|
* @stable ICU 49
|
2009-08-13 17:21:33 +00:00
|
|
|
*/
|
2013-02-22 20:15:50 +00:00
|
|
|
U_STABLE void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status);
|
2009-08-13 17:21:33 +00:00
|
|
|
|
|
|
|
#endif
|