icudataver.h
Go to the documentation of this file.
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
******************************************************************************
*
* Copyright (C) 2009-2013, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
*/
#ifndef __ICU_DATA_VER_H__
#define __ICU_DATA_VER_H__
#include "unicode/utypes.h"
#define U_ICU_VERSION_BUNDLE "icuver"
#define U_ICU_DATA_KEY "DataVersion"
U_CAPI void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status);
#endif
u_getDataVersion
U_CAPI void u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status)
Retrieves the data version from icuver and stores it in dataVersionFillin.
U_CAPI
#define U_CAPI
This is used to declare a function as a public ICU C API.
Definition: umachine.h:110
utypes.h
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
Definition: utypes.h:415
UVersionInfo
uint8_t UVersionInfo[U_MAX_VERSION_LENGTH]
The binary form of a version on ICU APIs is an array of 4 uint8_t.
Definition: uversion.h:59