intl/icu/source/common/unicode/icudataver.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/common/unicode/icudataver.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +/*
     1.5 +******************************************************************************
     1.6 +*
     1.7 +*   Copyright (C) 2009-2013, International Business Machines
     1.8 +*   Corporation and others.  All Rights Reserved.
     1.9 +*
    1.10 +******************************************************************************
    1.11 +*/
    1.12 +
    1.13 +
    1.14 +/**
    1.15 + * \file
    1.16 + * \brief C API: access to ICU Data Version number
    1.17 + */
    1.18 +
    1.19 +#ifndef __ICU_DATA_VER_H__
    1.20 +#define __ICU_DATA_VER_H__
    1.21 +
    1.22 +#include "unicode/utypes.h"
    1.23 +
    1.24 +/**
    1.25 + * @stable ICU 49
    1.26 + */
    1.27 +#define U_ICU_VERSION_BUNDLE "icuver"
    1.28 +
    1.29 +/**
    1.30 + * @stable ICU 49
    1.31 + */
    1.32 +#define U_ICU_DATA_KEY "DataVersion"
    1.33 +
    1.34 +/**
    1.35 + * Retrieves the data version from icuver and stores it in dataVersionFillin.
    1.36 + * 
    1.37 + * @param dataVersionFillin icuver data version information to be filled in if not-null
    1.38 + * @param status stores the error code from the calls to resource bundle
    1.39 + * 
    1.40 + * @stable ICU 49
    1.41 + */
    1.42 +U_STABLE void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status);
    1.43 +
    1.44 +#endif

mercurial